Single Transaction Query
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
cardTransinfoObjectOptionaltransactionIdString(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"
}