curl --request POST \
--url https://openplatform.gateapi.io/open/otc/api/recharge/cancel \
--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 '
{
"orderId": "71347515709194240"
}
'{
"code": "0",
"message": "success",
"data": {
"success": true
}
}Cancel an OTC deposit order before payment is confirmed.
curl --request POST \
--url https://openplatform.gateapi.io/open/otc/api/recharge/cancel \
--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 '
{
"orderId": "71347515709194240"
}
'{
"code": "0",
"message": "success",
"data": {
"success": true
}
}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/cancel endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
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.
Order ID to cancel.