Orders
Void order
Void any authorizations for the order. The customer is informed of the cancellation and that the order could not be fulfilled; any held funds are released.
post/v2/payments/{token}/void
Request
- Base URLhttps://integration.api.scalapay.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tokenstring string required
Order token.
Headers
Idempotency-Keystring
Idempotency key used for retrying requests. Can be used for retrying failed requests.
Request body
Response
Order voided successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.