Cancel a pending order
Cancels a pending order, releasing any in-flight source reservation. Already-cancelled orders return 200 (idempotent). Orders in terminal states (accepted, failed) return 409.
Authorizations
Headers
Caller-generated unique key that lets the server safely replay this request. The cached response is returned for 5 minutes on any retry with the same key from the same API principal. Required on every state-changing money-moving or resource-creating POST.
1 - 128^[A-Za-z0-9_.:-]{1,128}$Path Parameters
Response
^ord_[0-9A-Za-z]{22}$^cus_[0-9A-Za-z]{22}$pending, succeeded, failed, cancelled onramp, offramp - Option 1
- Option 2
- Option 1
- Option 2
{
"code": "USDC",
"chain": "ethereum",
"amount": "100"
}{
"code": "USDC",
"chain": "ethereum",
"amount": "100"
}source, destination {
"code": "USDC",
"chain": "ethereum",
"amount": "100"
}ISO 8601 timestamp
"2026-01-15T09:30:00.000Z"
ISO 8601 timestamp
"2026-01-15T09:30:00.000Z"
^txn_[0-9A-Za-z]{22}$^[A-Za-z0-9_\-:.]{1,255}$AutoPayout payload. Crypto recipients omit rail/ach/swift/instant/remittance; fiat (us|swift) recipients require rail and may carry the matching per-rail context block.
ISO 8601 timestamp
"2026-01-15T09:30:00.000Z"
client, auto ISO 8601 timestamp
"2026-01-15T09:30:00.000Z"
expired, client_cancelled INSUFFICIENT_FUNDS, PROVIDER_UNAVAILABLE, PROVIDER_REJECTED, INTERNAL_ERROR, CANCELLED