DELETE {{baseURL}}/v2/payment-links/{{paymentLinkId}}
This endpoint deletes a payment link.
This marks the payment link as Inactive. This is in contrast to permanently erasing the link and its history. While Inactive, it can no longer accept new payments. Its existing details, including payment count and total collected amount, remain intact.
It can still be retrieved through the other payment link endpoints. To reactivate an inactive link, use:
PATCH /v2/payment-links/{{paymentLinkId}}
The following is the request body with the relevant field value change.
{
"paymentLinkStatus": "Active"
}This endpoint requires a merchant API token. A partner API token will result in a permissions error including possibly a 403 response.
See Also:
To list payment links, see GET /v2/payment-links.
To create a payment link, see POST /v2/payment-links.
To retrieve a payment link by identifier, see GET /v2/payment-links/{{paymentLinkId}}.
To update a payment link, see PATCH /v2/payment-links/{{paymentLinkId}}.
- Sandbox environmenthttps://sandbox.api.flute.com/v2/payment-links/{paymentLinkId}
- Production environmenthttps://api.flute.com/v2/payment-links/{paymentLinkId}
// Language is not supported.