Create Withdrawal Order
Create an OTC withdrawal order after obtaining a quote.
Overview
This page documents thePOST /withdraw/open/otc/api/order/create endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
Notes
- Authentication uses the standard GatePay signed headers.
- This page documents the standard merchant endpoint.
- For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Usage Guidance
- Create the order with a fresh quote token.
- Make sure the bank account used in the request is already approved and available for settlement.
- Store the expected fiat amount, trade fee fields, and final settlement information for reconciliation.
- Use callback plus detail query rather than relying on creation response alone.
Headers
Merchant application client ID used to identify the calling app.
HMAC signature generated from the request according to GatePay signing rules.
Unix timestamp used for replay protection and signature verification.
Random nonce used together with the timestamp to prevent replay attacks.
Body
Quote token returned by the quote API.
Destination bank account ID for fiat settlement.
Cryptocurrency being sold. Currently supported: USDT, USDC.
Fiat currency to be settled out. Currently supported: USD.
Crypto amount for the withdrawal order.
Expected fiat settlement amount.
Order type. Use SELL for off-ramp.
Merchant-defined unique order ID.

