Get Card Transaction Records

Get Card Transaction Records

Brief Description

  • Retrieve card transaction records (spending/authorization/settlement, etc.), returned in paginated form

Request URL

  • /open/api/card/trade/list

Request Method

  • POST

Parameters

Parameter NameRequiredTypeDescription
cardIdYesstringCard ID (length 1~64)
currentNointCurrent page number, default 1
sizeNointNumber of records per page, default 10

Request Example

{
  "cardId": "c_XXXXXX",
  "current": 1,
  "size": 10
}

Return Parameter Description

Parameter NameTypeDescription
modelobjectReturns data object data
└totalintTotal number of records
└currentintCurrent page number
└sizeintNumber of records per page
└recordsarrayList of transaction records
└└transactionIdstringTransaction ID (unique to the channel)
└└cardIdstringCard ID
└└cardLast4stringLast 4 digits of card number
└└typestringTransaction type, such as PURCHASE (purchase), REFUND (refund), etc.
└└statusstringTransaction status, such as APPROVED (success), DECLINED (rejection)
└└amountstringTransaction amount (original amount in transaction currency)
└└currencystringTransaction currency, such as USD
└└billingAmountstringAmount received (settlement/posting currency)
└└billingCurrencystringCurrency received
└└transactionFeestringTransaction fee (PGC exclusive)
└└transactionFeeCurrencystringTransaction fee currency (PGC exclusive)
└└despstringTransaction description (e.g., merchant name, text mapping already done)
└└tradeAtlongTransaction time (millisecond timestamp)

Transaction Type Enumeration (type)

Transaction TypeDescription
AUTHORIZATIONTransaction Authorization: The card issuer approves a transaction initiated by the cardholder, typically for standard purchases or transactions. ATM withdrawals also fall under this type (distinction made via Merchant Category Code - MCC).
REVERSALTransaction Reversal: A previous transaction is canceled or revoked (e.g., due to fraud, operational errors, or transaction cancellation), and funds are returned to the cardholder's account.
REFUNDTransaction Refund: The cardholder returns purchased goods or services, and the merchant refunds the amount back to the cardholder's account.
SETTLEMENT.CREDITSettlement Credit: The settlement amount is lower than the original transaction amount, and the difference is credited to the cardholder's account.
SETTLEMENT.DEBITSettlement Debit: The settlement amount is higher than the original transaction amount, and the difference is debited from the cardholder's account.
SETTLEMENT.REVERSALSettlement Reversal: A previous settlement transaction is revoked due to an error, and funds are returned to the cardholder.
FUND.COLLECTIONFund Collection: The cardholder's card account receives funds from an external source (reported and routed by the card network), distinct from cardholder-initiated card top-ups or issuer balance reloads.
VALIDATIONTransaction Validation: Verifies the validity of the card, confirming cardholder information is correct and the card is activated. Usually executed alongside the authorization flow.
ATM.DEPOSITATM Deposit
CHARGEBACK.CREDITChargeback Credit: A chargeback refund has been processed.
CHARGEBACK.DEBITChargeback Debit: A chargeback debit has been processed.
FINEFine

Return Example

{
  "success": true,
  "error": false,
  "msg": "Success",
  "code": 0,
  "model": {
    "total": 1,
    "current": 1,
    "size": 10,
    "records": [
      {
        "transactionId": "XXXX",
        "cardId": "c_XXXX",
        "cardLast4": "XXXX",
        "type": "PURCHASE",
        "status": "APPROVED",
        "amount": "3.00",
        "currency": "USD",
        "billingAmount": "3.00",
        "billingCurrency": "USD",
        "transactionFee": "0.00",
        "transactionFeeCurrency": "USD",
        "desp": "AMAZON.COM",
        "tradeAt": 1748390400000
      }
    ]
  },
  "traceId": 1646651433202
}

Remarks

  • Transaction records are returned in reverse chronological order.

  • When a card has no transaction records, records returns an empty array, and total is 0.




Did this page help you?