Skip to navigation

Delete payment link

View as MarkdownOpen in Claude

Deletes a payment link by ID. Deleting is permanent.

For a vendor payment link, deleting it also removes the link from its bill, if the bill is still active or approved, so you can create a new payment link for that bill. Sending status: Deleted to PATCH /PaymentLink/out/{paylinkId} does the same thing. To stop a vendor payment link but keep it on the bill, cancel it instead.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
requestTokenstring

Long-lived API token sent in the requestToken header. See API token authentication.

Path parameters

payLinkIdstringRequired
ID for the payment link.

Response

Success
isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

responseDatastringOptional

If isSuccess = true, this contains the payment link identifier. If isSuccess = false, this contains the reason of the error.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error