curl --request POST \
--url https://openplatform.gateapi.io/open/otc/api/recharge \
--header 'Content-Type: application/json' \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>' \
--data '
{
"quoteToken": "qt_01JXYZABCDEF",
"bankAccountId": "ba_123456789",
"cryptoCurrency": "USDT",
"fiatCurrency": "USD",
"cryptoAmount": "1088.42",
"fiatAmount": "1000",
"type": "BUY",
"clientOrderId": "merchant-otc-deposit-20260415-001"
}
'{
"code": "0",
"message": "success",
"status": "success",
"data": {
"orderId": "71347515709194240",
"status": "PENDING",
"createTime": 1768973860523,
"clientOrderId": "merchant-otc-deposit-20260415-001",
"promoCode": "",
"gate_bank_info": {
"bankName": "Bank of Example",
"bankAccountName": "Gate Pay OTC Collection",
"countryId": 44,
"country_name": "United Kingdom",
"address": "1 Example Street, London",
"iban": "GB11AAAA22223333444455",
"swift": "ABCDEFGHXXX",
"remittanceLineNumber": "021000021",
"agentBankName": "",
"agentBankSwift": "",
"transfer_remark": "ORDER 71347515709194240"
}
}
}Create an OTC fiat deposit order.
curl --request POST \
--url https://openplatform.gateapi.io/open/otc/api/recharge \
--header 'Content-Type: application/json' \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>' \
--data '
{
"quoteToken": "qt_01JXYZABCDEF",
"bankAccountId": "ba_123456789",
"cryptoCurrency": "USDT",
"fiatCurrency": "USD",
"cryptoAmount": "1088.42",
"fiatAmount": "1000",
"type": "BUY",
"clientOrderId": "merchant-otc-deposit-20260415-001"
}
'{
"code": "0",
"message": "success",
"status": "success",
"data": {
"orderId": "71347515709194240",
"status": "PENDING",
"createTime": 1768973860523,
"clientOrderId": "merchant-otc-deposit-20260415-001",
"promoCode": "",
"gate_bank_info": {
"bankName": "Bank of Example",
"bankAccountName": "Gate Pay OTC Collection",
"countryId": 44,
"country_name": "United Kingdom",
"address": "1 Example Street, London",
"iban": "GB11AAAA22223333444455",
"swift": "ABCDEFGHXXX",
"remittanceLineNumber": "021000021",
"agentBankName": "",
"agentBankSwift": "",
"transfer_remark": "ORDER 71347515709194240"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.gate.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /open/otc/api/recharge endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
clientOrderId and orderId for later reconciliation.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.
Quote token returned by the quote API.
Merchant bank account ID used for remittance.
Cryptocurrency to receive. Currently supported: USDT, USDC.
Fiat currency to remit. Currently supported: USD.
Cryptocurrency amount to be credited.
Fiat amount to be paid.
Order type. Use BUY for on-ramp.
Merchant-defined unique order ID.
Optional promotion code.