Skip to content

Installment Service

With this service, you can query the available installment information for a specific date. You can use this service to learn about the installment options and commission rates for your merchant account.

Click to download Postman Collection. You can see the codes of the language you use in Postman Code Snippet.

When using this API, the relevant parameters are POSTed as form-data in the Body to https://paynkolaytest.nkolayislem.com.tr/Vpos/Payment/GetMerchandInformation.

ParameterTypeRequiredDescription
sxstringYesYour unique merchant number (can be obtained from your panel)
datestringYesDate information (in DD.MM.YYYY format, e.g., 31.12.2025)
hashDatav2stringYesSecurity hash value

The hash value is created using the following formula:

hashDatav2 = Base64(SHA512(sx + "|" + date + "|" + merchantSecretKey))

Hash components:

  • sx: Your merchant number
  • date: Query date (in DD.MM.YYYY format)
  • merchantSecretKey: Your unique secret key (can be obtained from your panel)

A successful query returns a response containing the following information:

{
"PLUS_INSTANLMENT_LIST": [
{
"BANK_CODE": "000",
"BANK_IMAGE_NAME": "akbank.jpg",
"EXTRA_INSTALMENT_DESCRIPTION": "Bireysel Axess kartlarına 2-9 taksit arasında yapılan işlemlere artı 3 taksit verilecektir.\n",
"POS_TYPE": "1",
"ACTIVE": true,
"ORDER_NO": 1
}
],
"COMMISSION_LIST": [
{
"CODE": "PARAF",
"DATA": [
{
"INSTALLMENT": 1,
"COMMISSION": "1.72",
"CARD_TRX_TYPE": "TEKCEKIM",
"MERCHANT_COMMISSION": 12
},
{
"INSTALLMENT": 2,
"COMMISSION": "1.00",
"CARD_TRX_TYPE": "TAKSITLI",
"MERCHANT_COMMISSION": 0
},
{
"INSTALLMENT": 3,
"COMMISSION": "5.19",
"CARD_TRX_TYPE": "TAKSITLI",
"MERCHANT_COMMISSION": 0
}
],
"KEY": "008",
"BIN": null
},
{
"CODE": "AXESS",
"DATA": [
{
"INSTALLMENT": 1,
"COMMISSION": "1.72",
"CARD_TRX_TYPE": "TEKCEKIM",
"MERCHANT_COMMISSION": 0
},
{
"INSTALLMENT": 2,
"COMMISSION": "1.00",
"CARD_TRX_TYPE": "TAKSITLI",
"MERCHANT_COMMISSION": 1
}
],
"KEY": "002",
"BIN": null
},
{
"CODE": "BONUS",
"DATA": [
{
"INSTALLMENT": 1,
"COMMISSION": "1.72",
"CARD_TRX_TYPE": "TEKCEKIM",
"MERCHANT_COMMISSION": 0
}
],
"KEY": "004",
"BIN": null
}
],
"MERCHANT_COMMISSION": 0,
"COMMISSION": 5.00000000,
"VALOR_DATE": "7",
"RESPONSE_CODE": 2,
"RESPONSE_DATA": null
}
example.php
<?php
$sx = "YOUR_SX_VALUE";
$date = "31.12.2025"; // GG.AA.YYYY formatında
$merchantSecretKey = "YOUR_MERCHANT_SECRET_KEY";
// Hash oluşturma
$hashString = $sx . "|" . $date . "|" . $merchantSecretKey;
$hashDatav2 = base64_encode(hash('sha512', $hashString, true));
// API isteği
$url = "https://paynkolaytest.nkolayislem.com.tr/Vpos/Payment/GetMerchandInformation";
$data = [
'sx' => $sx,
'date' => $date,
'hashDatav2' => $hashDatav2
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>