Void Stripe Payment Link
POST/api/stripe/payment-links/:id/void
Voids a pending or processing payment link so the customer can no longer pay it. Any open Stripe checkout behind the link is expired, and the void is recorded in the order or quote activity log.
accounting:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token.
Permission: sales_orders.manage_payments. Limited to 30 requests per minute.
No request body.
Returns 200 with the voided link. Returns 422 when the link is already paid (refund the payment instead), expired or voided, and 404 when the link does not exist.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.