capture
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
merchantTransactionIdString(64)RequiredThe original transaction serial number of the merchant's websitemerchantCaptureIdString(64)RequiredThe pre-authorization capture serial number of the merchant's website, globally uniqueamountString(14)RequiredTransaction amount, retaining two decimal places, for example 10.12. For some transaction currencies like JPY and KRW, where the smallest unit is the yuan, it also requires two decimal places to be submitted, for example 29.00currencyString(3)RequiredTransaction currency, a three-letter ISO 4217 code. For specific supported currencies, see the attached transaction currency listnotificationUrlString(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.
请求报文示例
{
"accId": "2023042011040310224447",
"bizContent": {
"merchantCaptureId": "PMT-2S7RR3K4LQ1715047351210",
"merchantTransactionId": "PMT-2S7RR3K4LQ1715047351210",
"amount": "100",
"currency": "USD",
"notificationUrl": "https://test-acquirerpay.pingpongx.com/qa/notify"
},
"clientId": "2023042011040310224",
"sign": "4DCA0F0F91CDBB45DC0D40350CF428215C76CA29B282AEBBAA76CC09751E0ED1",
"signType": "SHA256",
"version": "1.0"
}Responses Body Parameters
application/jsonCommon Response Parameters
bizContent
transactionIdString(64)RequiredOriginal transaction serial number of PingPongmerchantTransactionIdString(64)RequiredOriginal transaction serial number on the merchant's websitemerchantCaptureIdString(64)RequiredMerchant website pre-authorization capture serial number, globally uniquecurrencyString(3)RequiredTransaction currencyamountString(14)RequiredTransaction amountcaptureTimeString(32)RequiredCapture initiation time, timestampcaptureEndingTimeString(32)OptionalTime when capture reaches final state, timestampstatusString(32)Required- SUCCESS - Success
- FAILED - Failure
- PROCESSING - In progress
请求报文示例
{
"accId": "2023042011040310224447",
"bizContent": {
"amount": "100.000000",
"merchantCaptureId": "PMT-2S7RR3K4LQ1715047351210",
"captureTime": "1715047466000",
"transactionId": "2024050750046460",
"captureEndingTime": "1715047468242",
"merchantTransactionId": "PMT-2S7RR3K4LQ1715047351210",
"currency": "USD",
"status": "SUCCESS"
},
"clientId": "2023042011040310224",
"code": "000000",
"description": "Transaction succeeded",
"sign": "5033C47D3A1CF3E19A4B0EE0E566CE723D67E8BA236B828829BDE586CA999D2A",
"signType": "SHA256"
}