Skip to main content
POST
Cancel an order

Authorizations

Authorization
string
header
required

API key as a bearer token. Secret keys (sk_) allow writes; publishable keys (pk_) are read-only. live = production, test = sandbox.

Path Parameters

orderId
string<uuid>
required

Body

application/json
reason
string

Response

Cancelled.

order_id
string
status
string
Example:

"cancelled"