Skip to main content

Void Payment Request

POST 

/api/sales-payment-requests/:salesPaymentRequest/void

Void a payment request. Refused once any money counts toward it — refund or reallocate the payment first. Unpaid requests are also voided automatically when their order is cancelled.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires permission sales_payment_requests.void.

Body fields:

  • reason (string, optional, max 500; kept on the request's note)

Request​

Responses​

OK

Response Headers
    Content-Type