Request Refund
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
customerObjectConditionalsubOrderListArrayOptionalmerchantTransactionIdString(64)RequiredMerchant website order numbermerchantRefundIdString(64)RequiredThe merchant's refund transaction serial number, globally unique.amountString(14)RequiredRefund transaction amount, in the smallest unit. For currency details, see the attached Transaction Currencies table.currencyString(3)RequiredTransaction currency, ISO 4217 three-letter code. For supported currencies, refer to the Transaction Currencies table.accountNumberString(32)ConditionalRefund account number, required for specific payment methods. For more details, see the Special Payment Method Refund Instructions.channelCodeString(32)ConditionalBank code, required for refunds using special payment methods. For more information, see the Special Payment Method Refund Instructions.phoneString(20)ConditionalPhone number, required for refunds using special payment methods. For further details, see the Special Payment Method Refund Instructions.identificationIdString(32)ConditionalID number, required for refunds using special payment methods. For additional information, see the Special Payment Method Refund Instructions.emailString(32)ConditionalEmail, required for refunds using special payment methods. For more details, see the Special Payment Method Refund Instructions.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 field
请求报文示例
{
"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 state 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"
}