Skip to main content

Installments / Commission - General List

Endpoint: /pws/paymentOptions

Query Parameters

ParameterTypeRequiredDescription
currencystringYesCurrency (e.g. TRY, USD)
paymentSetIdstring (GUID)YesPayment set identifier

Sample Request

Method: GET
Authorization: Bearer {AccessToken}
URL: https://pgw.netahsilatdemo.com/pws/paymentOptions?currency=TRY&paymentSetId=504978bf-bebd-40c5-89aa-b76f3a20341c

Response Structure (List)

Returns a list of POS entries. For each POS, basic fields and commRates (installment/commission) are included.

POS Fields

FieldTypeDescription
namestringPOS name (bank/provider name)
colorCodestringPOS color (for UI purposes)
logoobjectLogo information (small/medium/large paths etc.)
commRatesarrayInstallment options and rates
isVisibleCommRatebooleanShould the commission rate be displayed in UI
isDefaultPosbooleanIs it the default POS

Logo Fields

FieldTypeDescription
idstring (GUID)Logo identifier
colorCodestringBackground color of the logo
isDefaultbooleanDefault logo
logoSmall/Medium/BigstringLogo image paths
installmentCellColorstringCell color for installments in UI

Installment / Commission Fields

FieldTypeDescription
installmentintNumber of installments
commApplyTypeIdintCommission application type ID
processCommRatenumberCommission rate (percentage)
plusInstallmentintCampaign/additional installment count (if any)

[
{
"name": "IyzicoWorld ",
"colorCode": "#701f7e",
"logo": {
"id": "f394c327-4425-ed11-98e1-005056b0d2e5",
"colorCode": "#ffffff",
"isDefault": true,
"logoSmall": "~/Content/themes/base/images/apilogo/yapikredi/world.png",
"logoMedium": null,
"logoBig": null,
"installmentCellColor": "#f5ecfe"
},
"commRates": [
{
"installment": 1,
"commApplyTypeId": 10,
"processCommRate": 0.0000,
"plusInstallment": 0
},
{
"installment": 2,
"commApplyTypeId": 10,
"processCommRate": 1.0600,
"plusInstallment": 0
}
],
"isVisibleCommRate": false,
"isDefaultPos": false
},
{
"name": "QnbFinansBank Yeni",
"colorCode": "#dcc0d8",
"logo": {
"id": "ff93c327-4425-ed11-98e1-005056b0d2e5",
"colorCode": "#ffffff",
"isDefault": false,
"logoSmall": "~/Content/themes/base/images/apilogo/finansbank/qnbfinansbank.png",
"logoMedium": null,
"logoBig": null,
"installmentCellColor": "#dcc0d8"
},
"commRates": [
{
"installment": 1,
"commApplyTypeId": 10,
"processCommRate": 1.0000,
"plusInstallment": 0
},
{
"installment": 2,
"commApplyTypeId": 10,
"processCommRate": 2.0000,
"plusInstallment": 3
},
{
"installment": 3,
"commApplyTypeId": 10,
"processCommRate": 3.0000,
"plusInstallment": 4
}
],
"isVisibleCommRate": false,
"isDefaultPos": false
}
]