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"
}
}
}创建 OTC 法币入金订单。
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 接口。完整的请求参数、响应结构与示例由上方关联的 OpenAPI 定义渲染。
clientOrderId 和 orderId,便于后续对账与查询。用于标识调用应用的商户应用 ClientId。
按 GatePay 签名规则生成的 HMAC 签名。
用于防重放和验签的 Unix 时间戳。
与时间戳配合使用的随机串,用于防止重放攻击。
询价接口返回的 quote token。
用于汇款的商户银行账户 ID。
要接收的数字货币币种。当前支持:USDT、USDC。
要支付的法币币种。当前支持:USD。
预计入账的数字货币数量。
需要支付的法币金额。
订单类型。入金场景使用 BUY。
商户自定义唯一订单号。
可选优惠码。