Skip to main content
DELETE
/
pay-link
/
{linkId}
Delete Pay Link
curl --request DELETE \
  --url https://testapi.fractalpay.com/api/v1/pay-link/{linkId} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "merchant_key": "{{merchant_key}}"
}
'
{
  "result": true,
  "link_id": "ord_a64b33f04e",
  "message": "link deleted"
}

Authorizations

Authorization
string
header
required

Use your Fractal API credentials.

Username = Client ID Password = Secret Key

Sandbox credentials can be generated from the Test Portal.

Path Parameters

The link_id of the pay link to delete.

Example:

"ord_a64b33f04e"

Body

application/json
merchant_key
string
required

The merchant's unique key. Returned in the merchant_key field of the get merchants by client call.

Example:

"{{merchant_key}}"

Response

Delete Pay Link

result
boolean
Example:

true

Example:

"ord_a64b33f04e"

message
string
Example:

"link deleted"