Request Refund
POST
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
customerObjectConditionalUser information, required for refunds using special payment methods. For more details, see the Special Payment Method Refund Instructions.nameString(16)ConditionalName under the user's bank account
subOrderListArrayOptionalSub-order information listsubMerchantIdString(64)RequiredSub-merchant number on the merchant platformsubMerchantTransactionIdString(64)RequiredSub-merchant order number, a unique identifier for the sub-orderamountString(12)RequiredSub-order amountcurrencyString(3)RequiredCurrency of the sub-order amount, must be consistent with the original transaction currency
merchantTransactionIdString(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
Request Body Example
{
"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
Request Body Example
{
"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"
}