curl --request POST \
--url https://openplatform.gateapi.io/v1/pay/address/refund \
--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 '
{
"refundRequestId": "483902480932841787",
"prepayId": "1665553233227833",
"refundAmount": "20",
"receiverId": 598816
}
'{
"refundRequestId": "483902480932841787",
"prepayId": "1665553233227833",
"orderAmount": "14.9",
"refundAmount": "4.9"
}Initiate a refund for the direct address payment order, which is only applicable to the direct address payment order.
curl --request POST \
--url https://openplatform.gateapi.io/v1/pay/address/refund \
--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 '
{
"refundRequestId": "483902480932841787",
"prepayId": "1665553233227833",
"refundAmount": "20",
"receiverId": 598816
}
'{
"refundRequestId": "483902480932841787",
"prepayId": "1665553233227833",
"orderAmount": "14.9",
"refundAmount": "4.9"
}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 /v1/pay/address/refund endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
Refund a standard order through the institution path.
X-GatePay-On-Behalf-Of.Merchant client ID, obtained from GatePay platform
HMAC-SHA256 signature for request validation
Timestamp in milliseconds, must not differ from server time by more than 5 minutes
Random nonce for replay attack prevention
The merchant's refund request ID
The ID of the corresponding payment order
The amount to be refunded
The Gate user ID of the recipient of the refund for address payment
The reason for the refund
SUCCESS