Skip to main content

Cancel PayPal Pay Link

POST 

/api/paypal-payment-links/:id/cancel

Cancels an active pay link so the customer can no longer pay it.

Authentication: Requires Bearer token with the Sales Orders Manage payments permission.

Only an active link can be cancelled: a paid, pending (payment clearing), expired or already cancelled link returns 422 and keeps its status. The 422 message says why in plain words (still clearing with PayPal, already paid, or no longer payable).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request​

Responses​

OK

Response Headers
    Content-Type