Cancel an order
Only works while the order is DRAFT or AWAITING_DEPOSIT — before funds are in transit. 400 for any later status (cancelling after funds move forfeits the conversion cost already incurred). No request body.
Authorizations
API key for authentication
ES256 JWT signed by the private key registered to the API key above. Claims: sub (=API key), uri, nbf, iat, exp, and bodyHash (HMAC-SHA512 of uri + rawBody + nbf using a shared secret, base64).
Path Parameters
ID of the batch
ID of the order
Response
The cancelled order, now CANCELLED_EXPIRED
OUR, SHA SNTR Transfer of the same name · GDSP Payment · LGST Logistics costs · ADVT Advertising costs · TECH Technical service fee · CLUD Cloud as a Service · RENT Rental costs · UTIL Utility expenses · LAWF Law firm fees · ACCT Accounting expenses · CONS Consultancy fees · SPON Sponsorship costs · INVT Investment & financial management
SNTR, GDSP, LGST, ADVT, TECH, CLUD, RENT, UTIL, LAWF, ACCT, CONS, SPON, INVT Always "USDT" today
"USDT"
DRAFT: created and quoted, still editable · AWAITING_DEPOSIT: confirmed, funding in progress (expires_at is the deadline) · DEPOSIT_RECEIVED: funding landed · PAYING_BENEFICIARY: beneficiary payment in flight · COMPLETED, FAILED, CANCELLED_EXPIRED: terminal.
DRAFT, AWAITING_DEPOSIT, DEPOSIT_RECEIVED, PAYING_BENEFICIARY, COMPLETED, FAILED, CANCELLED_EXPIRED Wire fee only, in beneficiary_currency.
The number that matters for funding — already reflects everything the client is responsible for. Deliberately excludes the effective USDT↔fiat rate or anything that would let Mansa's own margin be back-computed.
Present only when status is FAILED. Safe to display.
Set once the order reaches AWAITING_DEPOSIT.

