Cancel Payment Link
The Cancel Payment Link API allows partners to cancel Payment Links and change link's status to CANCELLED.
Path Parameters
Name
Type
Description
Field Name
Type
Description
Required?
curl --location --request POST '<API_HOST>/api/payment-link/<PaymentLink_ID>/cancel' \
--header 'Authorization: Basic <API_KEY>'{
"success": true,
"message": "Payment links was cancelled successfully"
}Webhook Payload Example
{
"event_uid": "f1b19120cb0b1d9dcf14c27fa59ea227",
"event": "PAYMENTLINK_CANCELLED",
"data": {
"payment_link_id": "paymentLinkId"
}
}Last updated