Single Transaction Query
POST
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
requestIdString(64)RequiredUnique request number, globally uniquerequestTimeString(13)RequiredMerchant-side request time. Timestamp, to the millisecondtransactionIdString(64)RequiredPingPong transaction ID, at least one of this or merchantTransactionId must be providedmerchantTransactionIdString(64)RequiredMerchant website transaction ID, at least one of this or transactionId must be provided
请求报文示例
{
"accId": "2018092520455210043243",
"bizContent": {
"requestId": "REQ-E5RE2UOSN71748594003057",
"requestTime": "1748594003057",
"transactionId": "OS202505300010000201"
},
"clientId": "2018092520455210043",
"sign": "D861DA5DDA33FF09B2935C3473A177B74545B450F34334626D979AB266C75BAB",
"signType": "SHA256",
"version": "1.0"
}Responses Body Parameters
application/jsonCommon Response Parameters
bizContent
cardTransinfoObjectOptionalCard payment informationacqBankNameStringOptionalName of the acquiring bank for POS card transactionsacqTermnialIdStringOptionalTerminal number of the acquiring bank for POS card transactionsacqMerchantIdStringOptionalMerchant number of the acquiring bank for POS card transactionsacqRRNStringOptionalRRN (Retrieval Reference Number) of the acquiring bank for POS card transactionsacqStanStringOptionalTerminal transaction number of the acquiring bank for POS card transactionsacqRspCodeStringOptionalResponse code of the acquiring bank for POS card transactionsacqRspMessageStringOptionalExplanation of the response code of the acquiring bank for POS card transactionsacqBatchNumberStringOptionalBatch number of the acquiring bank for POS card transactionsacqInvoiceNumberStringOptionalInvoice Number of the acquiring bank for POS card transactionsdesensitizedCardNoStringOptionalCard number for POS card transactions, display with the first six and last four digits visible, others maskedissuerBankNameStringOptionalIssuing bank name of the card used in POS card transactionscardHolderNameStringOptionalCardholder name of the card used in POS card transactionscardTypeStringOptionalCard type, enum values:DEBIT- Debit cardCREDIT- Credit cardCHARGE CARD- Charge card
issuerBankCountryStringOptionalIssuing bank country, ISO A2 code (ISO 3166-1 alpha-2 standard), defaults to countries supported by PingPong, see Country CodescardBrandStringOptionalCard brand, enum values:VISAMastercardAmerican ExpressJCBDiscoverCHINA UNION PAY
transactionIdString(64)RequiredPingPong transaction numbermerchantTransactionIdString(64)RequiredMerchant website's transaction numbercurrencyString(3)RequiredTransaction currency, ISO 4217 three-letter code, see the supported currencies in the appendix Transaction CurrenciesamountString(12)RequiredTransaction amount, the precision depends on the currency, please check the appendix Transaction CurrenciestransactionTimeString(13)RequiredTime when the transaction was initiated, timestampstatusString(32)RequiredTransaction status: Idempotent Status- INIT - Initial state
- IPROCESSING - In progress
- SUCCESS - Success
- FAILED - Failed
- AUTH_SUCCESS - Pre-authorization success
- CANCEL - Pre-authorization canceled
- CLOSED - Order closed
transactionEndingTimeString(13)OptionalTime when the transaction reached its final state, timestampremarkString(255)OptionalMerchant extended fields, can be used to specify certain parameters, will be returned as is in the response bodyresultCodeString(6)OptionalStatus result coderesultDescriptionString(500)OptionalDescription of the status result
响应报文示例
{
"accId": "2018092520455210043243",
"bizContent": {
"amount": "121.23",
"remark": "payment test",
"transactionTime": "1748591388000",
"transactionId": "OS202505300010000201",
"merchantTransactionId": "PMT-15ZSIRMPKT1748591387687",
"currency": "MYR",
"status": "PROCESSING",
"cardTransinfo": {
"acqBankName": "Bank of America",
"cardBrand": "VISA",
"cardHolderName": "John Doe",
"cardType": "CREDIT",
"issuerBankCountry": "US"
}
},
"clientId": "2018092520455210043",
"code": "001000",
"description": "Successful request"
}