curl --request POST \
--url https://openplatform.gateapi.io/open/otc/api/recharge/confirm \
--header 'Content-Type: multipart/form-data' \
--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>' \
--form orderId=71347515709194240 \
--form file='@example-file'{
"code": "<string>",
"status": "<string>",
"errorMessage": "<string>",
"data": {}
}Notify the system that the merchant has completed the offline fiat transfer. This endpoint uses multipart/form-data. When generating the signature, use the plain text payload “timestamp\nnonce\n\n” and do not append the multipart body.
curl --request POST \
--url https://openplatform.gateapi.io/open/otc/api/recharge/confirm \
--header 'Content-Type: multipart/form-data' \
--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>' \
--form orderId=71347515709194240 \
--form file='@example-file'{
"code": "<string>",
"status": "<string>",
"errorMessage": "<string>",
"data": {}
}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/confirm endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
client_order_id: merchant order ID retained for compatibility with the legacy confirm-paid request.orderId and client_order_id are provided, prefer the current order-ID-based flow and upload the payment receipt file according to the latest OpenAPI definition.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.