Cancel a Payment Link
Permanently cancel an active payment link by ID
status: "CANCELLED", cancelled_at populated, and cancellation_reason if a reason was provided.
Idempotency
AnIdempotency-Key header is optional here — cancel is idempotent by nature, so re-cancelling an already-cancelled link is a safe no-op. If you do send one, use a unique client-generated identifier (letters, digits, dot, hyphen, underscore; 8–64 characters). The optional reason is stored for audit purposes.
Required scope
payment_links.cancelAuthorizations
API key passed as a bearer token. Use sk_live_ keys for production and sk_test_ keys for sandbox. Keys are provisioned during merchant onboarding.
Headers
Optional. Cancel is idempotent by nature — re-cancelling an already-cancelled link is a safe no-op — so a key is accepted but not required. Same charset as create: letters, digits, dot (.), hyphen (-), underscore (_); 8–64 characters.
^[A-Za-z0-9._-]{8,64}$Path Parameters
The payment link ID (UUID v4).
Body
Why the link is being cancelled. Stored for audit purposes.
500"Customer requested cancellation"
Response
The cancelled payment link
The payment link object returned by all endpoints.