Skip to main content

Installments / Commission by BIN

Endpoint: /pws/paymentOptions/{binNumber}

Route Parameters

ParameterTypeRequiredDescription
binNumberstringYesCard BIN number (6 or 8 digits, leading zeros are preserved)

Query Parameters

ParameterTypeRequiredDescription
currencystringYesCurrency (e.g. TRY)
paymentSetIdstring (GUID)YesPayment set identifier
amountnumberNo(If provided) transaction amount to evaluate amount-based rules

Sample Request

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

Response Structure

At the root level, general rules and the poses list are included.

Root Fields

FieldTypeDescription
commApplyTypeIdintCommission application type ID
installmentLowerLimitnumber(If any) minimum installment limit
threeDLimitnumber(If any) 3D Secure mandatory limit
posesarrayList of eligible POS
generalInstallmentLimitnumber/nullGeneral installment limit (if any)

POS Fields

FieldTypeDescription
paymentSetPosIdstring (GUID)Payment set–POS relationship identifier
tenantPosIdstring (GUID)Tenant POS identifier
vPosApiIdintVirtual POS / VPOS API identifier
threeDStatusint3D Secure status (according to system definition)
isCvvUsebooleanIs CVV usage required
isDefaultPosbooleanIs it the default POS
namestringPOS name
logoobjectLogo information
commRatesarrayInstallment/commission list (see table below)
posCurrencyDefinitionIdstring (GUID)POS currency definition identifier
creditCardTypeIdintCard type ID
creditCardProgramIdintCard program ID
isBusinessCardbooleanIs it a business card
savedCreditCardUseCvvbooleanIs CVV required for saved cards
hasCampaignbooleanIs there a campaign
partnerApiDefinitionint/nullIntegrated partner API definition (if any)
binFilterIdstring/nullBIN filter identifier (if any)
maxMaturityDayCountintMaximum maturity day count
posTypeIdintPOS type ID
nonBinPosbooleanNon-BIN-specific POS (generic)

Installment / Commission Fields

FieldTypeDescription
idstring (GUID)Rate record identifier
processCommRatenumberCommission rate (percentage)
installmentintNumber of installments
paymentDeferralintDeferral (days/months etc., per system definition)
plusInstallmentintAdditional installments
isRequiredCampaignbooleanIs a campaign required

{  
"commApplyTypeId": 10,
"installmentLowerLimit": 0.00,
"threeDLimit": 0.00,
"poses": [
{
"paymentSetPosId": "ab1c9260-00f5-4739-b5d3-3f1d902a2a14",
"tenantPosId": "384badef-11ec-ee11-98f2-005056b0d2e5",
"vPosApiId": 4200,
"threeDStatus": 1,
"isCvvUse": true,
"isDefaultPos": true,
"name": "QnbFinansBank Yeni",
"logo": {
"id": "00000000-0000-0000-0000-000000000000",
"colorCode": "#d0d0d0",
"isDefault": true,
"logoSmall": "~/Content/themes/base/images/apilogo/diger/kart.png",
"logoMedium": null,
"logoBig": null,
"installmentCellColor": "#e9e9e9"
},
"commRates": [
{
"id": "a6774569-cda9-f011-98fc-005056b0d2e5",
"processCommRate": 0.00,
"installment": 1,
"paymentDeferral": 0,
"plusInstallment": 0,
"isRequiredCampaign": false
}
],
"posCurrencyDefinitionId": "8e6cc739-83e0-4af5-accf-a55476e758c6",
"creditCardTypeId": 20,
"creditCardProgramId": 40,
"isBusinessCard": false,
"savedCreditCardUseCvv": false,
"hasCampaign": false,
"partnerApiDefinition": null,
"binFilterId": null,
"maxMaturityDayCount": 0,
"posTypeId": 10,
"nonBinPos": true
},
{
"paymentSetPosId": "43ff0d6e-5649-4150-a164-e1f52465ff65",
"tenantPosId": "91cabf3e-ff9e-ee11-98ef-005056b0d2e5",
"vPosApiId": 12030,
"threeDStatus": 3,
"isCvvUse": true,
"isDefaultPos": false,
"name": "Param CardFinans 10738 ",
"logo": {
"id": "0195c327-4425-ed11-98e1-005056b0d2e5",
"colorCode": "#ffffff",
"isDefault": true,
"logoSmall": "~/Content/themes/base/images/apilogo/finansbank/cardfinans.png",
"logoMedium": null,
"logoBig": null,
"installmentCellColor": "#dcc0d8"
},
"commRates": [
{
"id": "c92b5dd2-e7af-f011-98fc-005056b0d2e5",
"processCommRate": 1.7500,
"installment": 1,
"paymentDeferral": 0,
"plusInstallment": 0,
"isRequiredCampaign": true
},
{
"id": "e12b5dd2-e7af-f011-98fc-005056b0d2e5",
"processCommRate": 5.0000,
"installment": 3,
"paymentDeferral": 0,
"plusInstallment": 0,
"isRequiredCampaign": true
}
],
"posCurrencyDefinitionId": "8e6cc739-83e0-4af5-accf-a55476e758c6",
"creditCardTypeId": 20,
"creditCardProgramId": 40,
"isBusinessCard": false,
"savedCreditCardUseCvv": false,
"hasCampaign": true,
"partnerApiDefinition": 400,
"binFilterId": null,
"maxMaturityDayCount": 0,
"posTypeId": 20,
"nonBinPos": true
}
],
"generalInstallmentLimit": null
}

Notes & Best Practices

  • BIN usage: In the /pws/paymentOptions/{binNumber} call, the BIN filters POS entries based on card program/bank matching.
  • Amount-based rules: When amount is provided, campaign/limit rules (if any) may be evaluated accordingly.
  • Visual fields: Fields such as colorCode, logo, installmentCellColor are for UI purposes and do not affect business logic.
  • Commission display: If isVisibleCommRate=false, rates may be hidden in the UI; the API may still return the rates.
  • Payment set synchronization: With paymentSetId, POS/commission data is returned according to the definitions in the payment set; inactive POS entries or unconfigured installments may not appear in the list.