Skip to content

Delete Payment Link

You can use this service to delete previously created payment links.

With API, the merchant can delete payment links they have created before.

Click to download Postman collection. You can see example codes in Postman Code snippet.

For hash creation for this service: Click for hash method.

In the use of this API, the relevant parameters are POSTed as form-data in the Body to “https://paynkolaytest.nkolayislem.com.tr/Vpos/by-link-url-remove” address.

ParameterRequiredTypeDescription
sxYesStringYour assigned sx value
qYesStringReference number of the link to be deleted
hashDatav2YesStringHash value
cardHolderIPNoStringYour customer’s internet IPv4 address

The hash value should be created in the following format:

sx + "|" + q + "|" + merchantSecretKey

This string should be hashed with SHA512 and Base64 encoded.

const hashString = [
sx,
q,
merchantSecretKey
].join("|");
const hashedBytes = CryptoJS.SHA512(hashString);
const hashDatav2 = hashedBytes.toString(CryptoJS.enc.Base64);

Endpoint: POST https://paynkolaytest.nkolayislem.com.tr/Vpos/by-link-url-remove

Form Data:

sx: "test_merchant_sx_value"
q: "by6353337820250825153001"
hashDatav2: "calculated_hash_value"
cardHolderIP: "192.168.1.1" (optional)
  • The q parameter is the reference number returned when the payment link was created.
  • If the hash calculation is not done correctly, the transaction will fail.
  • The deletion operation cannot be undone.