Esc
Start typing to search...

Payment Integration Services

1. Hosted Payment Page #

Desired values are posted and transactions are redirected to Nkolay Hosted Payment page. Card information goes directly to Nkolay servers, security is provided by Nkolay. iFrame integration can be done within the site.

Payment link is sent to the card user via SMS or email. User clicks the link and is redirected to Nkolay Hosted Payment page, transactions are performed here.

3. API - Structure Where Card Information is Collected by Merchant #

Merchant collects card information on their own page and processes transactions via Nkolay API. In this structure, since card information is collected by the merchant, PCI DSS requirements belong to the merchant.

Test environment information
sx (Token): 118591467|bScbGDYCtPf7SS1N6PQ6/+58rFhW1WpsWINqvkJFaJlu6bMH2tgPKDQtjeA5vClpzJP24uA0vx7OX53cP3SgUspa4EvYix+1C3aXe++8glUvu9Oyyj3v300p5NP7ro/9K57Zcw==
sx list:    118591467|bScbGDYCtPf7SS1N6PQ6/+58rFhW1WpsWINqvkJFaJlu6bMH2tgPKDQtjeA5vClpzJP24uA0vx7OX53cP3SgUspa4EvYix+1C3aXe++8glUvu9Oyyj3v300p5NP7ro/9K57Zcw==|3hJpHVF2cqvcCZ4q6F7rcA==
sx cancel:   118591467|bScbGDYCtPf7SS1N6PQ6/+58rFhW1WpsWINqvkJFaJlu6bMH2tgPKDQtjeA5vClpzJP24uA0vx7OX53cP3SgUspa4EvYix+1C3aXe++8glUvu9Oyyj3v300p5NP7ro/9K57Zcw==|yDUZaCk6rsoHZJWI3d471A/+TJA7C81X
Merchant Secret Key: _YckdxUbv4vrnMUZ6VQsr
URL: https://paynkolaytest.nkolayislem.com.tr/Vpos

Using Hosted Payment Page by Sending Form #

To receive payments, the values given specifically to you are sent by posting to the Test environment URL: https://paynkolaytest.nkolayislem.com.tr/Vpos using HTTP POST method.

Production environment URL: https://paynkolay.nkolayislem.com.tr/Vpos

Form Variables Information #

The parameters you can POST to the service are as follows. All parameters must be sent in the request body using standard HTML Form Post method.

Application Flow:

  • Validity check is performed on the information you send in the form, if there is missing or incorrect information, an error message is returned and the flow ends.
  • The information you send in the form is checked. If it is not correct, the flow ends with an error message.
  • If the information you send in the form is correct, the form where credit card information will be entered is displayed.
  • After entering credit card information in the form, installment options are displayed when leaving this field. Single payment is selected as default.
  • After entering all credit card information and selecting the appropriate installment option, the payment transaction is performed by pressing the "Complete Payment" button.
  • If the payment transaction will be 3D, the flow is redirected to the 3D page, if not 3D, it is directly concluded.
  • If the payment transaction is successfully concluded, successful result values are posted to the "successUrl" page and redirected.
  • If the transaction fails, failed transaction information is posted to the "failURL" page.
NameTypeDescriptionRequiredExample Value
agentCodestringIf the transaction is made through a sub-dealer, you can send your sub-dealer's code with this value.Optional7683323
amountdecimalPayment amount. Decimal separator should be . (dot).Required1280.10
binstringIf desired, you can only accept transactions from specific card bins. (First 6 digits of the card.)Optional413278|521089
cardcampaignstringYou can run campaigns for Visa, Master Cards. Send 4 for Visa, 5 for MasterCard.Optional4 (Visa) / 5 (MC)
cardHolderIPstringThe IP address of the card holder.Required37.135.23.122
clientRefCodestringYour own reference number. (No Turkish characters. Max 1024 chars.)Required5231As-FE2A36
currencyCodestringIf not sent, transaction is in TL. Send 840 for USD, 978 for EUR.Optional949
customerKeystringMust be sent to enable card storage with the hosted payment page.Optional13813813813
detailstringIf sent as "true", additional customer info fields appear on the hosted payment page.Optionaltrue
ECOMM_PLATFORMstringIf developing B2B software, you can write your platform name.OptionalCetvel
failUrlstringFailed transaction results are posted here.Requiredhttps://domain.com/fail
hashDataV2stringSecurity hash value. See hash calculation page for details.RequiredsUZl2nWw...
instalmentsstringInstallment count. 1 = single payment. If empty, default installment settings apply.Optional2
languagestringLanguage option. "en" English, "ru" Russian. Default is Turkish.Optionalen
MerchantCustomerNostringYour dealer or sub-merchant number. Searchable from your panel.Optional93423410
rndstringYou need to send the transaction date with DateTime.Now.Required09-08-2021 15:24:22
secondstringYou can post the remaining cart time in seconds. A countdown is shown.Optional600
successUrlstringSuccessful transaction results are posted here.Requiredhttps://domain.com/success
sxstringLogin code required for Web Service (Token).Required114488219|SjEH1wb...
transactionTypestring"SALES" for sales or "PRESALES" for provision.RequiredSALES
use3DstringIf "true", forces 3D Secure. If empty, current limit applies.Requiredtrue