cURL
curl --request POST \ --url https://router-gateway-production.up.railway.app/order/{orderId}/cancel \ --header 'Content-Type: application/json' \ --data ' { "refundToken": "<string>", "refundSignature": "<string>", "refundSignatureDeadline": 123, "amountFormat": "readable" } '
{ "orderId": "<string>", "orderAddress": "<string>", "amountToSend": "<string>", "quoteId": "<string>", "from": "<string>", "to": "<string>", "status": "<string>", "expiry": "<string>", "expectedOut": "<string>", "maxSlippage": "<string>", "expectedSlippage": "<string>", "minOut": "<string>", "maxIn": "<string>", "amountFormat": "readable", "refundMode": "evmSignature", "refundAuthorizer": "<string>", "refundToken": "<string>" }
1
^0x[a-fA-F0-9]+$
readable
raw
Order cancellation accepted by the internal router API.
evmSignature
token