Request Refund
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
customerObjectConditionalmerchantTransactionIdString(64)RequiredMerchant website order numbermerchantRefundIdString(64)RequiredThe merchant's refund transaction serial number, which is globally unique.amountString(14)RequiredRefund transaction amount, in the smallest unit. Refer to the attached Transaction Currencies table for more details.currencyString(3)RequiredTransaction currency, ISO 4217 three-letter code. For specific supported currencies, see the attached Transaction Currencies table.accountNumberString(32)ConditionalRefund account number, required for special payment methods. See the Special Payment Methods Refund Instructions for more details.channelCodeString(32)ConditionalBank code, required for refunds via special payment methods. See the Special Payment Methods Refund Instructions for more details.phoneString(20)ConditionalPhone number, required for refunds via special payment methods. See the Special Payment Methods Refund Instructions for more details.identificationIdString(32)ConditionalID number, required for refunds via special payment methods. See the Special Payment Methods Refund Instructions for more details.emailString(32)ConditionalEmail, required for refunds via special payment methods. See the Special Payment Methods Refund Instructions for more details.notificationUrlString(255)OptionalA custom address set by the merchant for notifying the transaction result. Once this parameter is filled, PingPongCheckout will asynchronously push the transaction result to this address via POST.
URL recommendation: use a complete URL with a publicly reachable domain name. Standard web ports are recommended (HTTPS defaults to 443 and HTTP defaults to 80). Ensure the URL can reliably receive PingPongCheckout asynchronous notifications.remarkString(32)ConditionalMerchant extended fields
请求报文示例
{
"accId": "2023042011040310224447",
"bizContent": {
"amount": 100,
"currency": "USD",
"merchantTransactionId": "PMT-2S7RR3K4LQ1715047351210",
"notificationUrl": "https://test-acquirerpay.pingpongx.com/qa/result.html",
"merchantRefundId": "PMT-4DNTI3AWXR1715049316146"
},
"clientId": "2023042011040310224",
"sign": "7F271F64F5ADDF225D76A8F3EADFD5E4F6E71716635D2F18DD51DB6D8CD50E78",
"signType": "SHA256",
"version": "1.0"
}Responses Body Parameters
application/jsonCommon Response Parameters
bizContent
transactionIdString(64)RequiredPingPong original transaction serial numbermerchantTransactionIdString(64)RequiredMerchant website's original transaction serial numbermerchantRefundIdString(64)RequiredMerchant website's refund transaction serial numberrefundIdString(64)RequiredPingPong refund transaction serial numbercurrencyString(3)RequiredTransaction currencyamountString(14)RequiredTransaction amountrefundTimeString(32)RequiredRefund initiation time, timestamprefundEndingTimeString(32)OptionalRefund final status arrival time, timestampstatusString(32)Required- SUCCESS - Success
- FAILED - Failure
- PROCESSING - In progress
remarkString(32)ConditionalMerchant extended field
请求报文示例
{
"accId": "2023042011040310224447",
"bizContent": {
"amount": "100.000000",
"refundTime": "1715049319280",
"transactionId": "2024050750046460",
"merchantTransactionId": "PMT-2S7RR3K4LQ1715047351210",
"currency": "USD",
"merchantRefundId": "PMT-4DNTI3AWXR1715049316146",
"refundId": "2024050750046461",
"status": "SUCCESS"
},
"clientId": "2023042011040310224",
"code": "000000",
"description": "Transaction succeeded",
"sign": "9475FF30D4DF1A3FD9696EBFBAC72729A7E6140D4E39490097C7F06BDD69020C",
"signType": "SHA256"
}