Query transaction records

Learn how to query, download, and reconcile purchase transaction records and card account ledger records, and how the two record types are linked.

Transaction queries involve two record types: purchase transaction records reconstruct card purchases at external merchants and their processing results, while card account ledger records show all card account fund movements. The two record types are linked through the Transaction ID to reconcile purchase principal, purchase fees, and subsequent fund processing.

Query dimensions

Transaction record queries help locate purchase, card verification, authorization reversal, posted, refund, and other transaction results. When querying, merchants can usually combine the following dimensions to locate target records:

DimensionDescription
Transaction IDUsed to locate the main purchase transaction and link the corresponding card account ledger records
Activity IDUsed to locate a specific card account fund movement or event
Card informationLast four digits, card product, and cardholder
Merchant informationMerchant name, merchant ID, MCC, and merchant location
TimeCreated time, updated time, and event time
AmountAuthorized amount, posted amount, billing amount, and fees
StatusAuthorization, reversal, card verification, posted, refund, dispute, and other result statuses
RelationshipOriginal transaction, refund record, related activity, or event record

Transaction identifier definitions

Different records may use different identifiers. When reconciling records, select the identifier that matches the record type and business relationship:

IdentifierPurpose
Transaction IDIdentifies a specific purchase transaction or subsequent processing record
Related transaction numberLocates the original transaction linked to a refund, dispute, or other subsequent record
Original transaction numberIdentifies the original posted transaction associated with the current record
Main business order numberGroups multiple presentments under the same business activity; it does not merge them into one transaction

Query and reconciliation view

The diagram below shows the relationship between the two record types after they are obtained. Query criteria are optional and only narrow the result set; for a full reconciliation, both record types can be obtained or downloaded directly.

Authorization, authorization reversal, and posting in purchase transaction records are different processing stages of the same purchase. Refunds and disputes create new records linked to the original posted purchase. Card activity records cover top-ups, balance returns, and the posted principal and purchase fees generated by purchases.

Reconciliation methods

Transaction records can be reconciled by transaction result, fund movement, or related record chain. Different methods apply to different business scenarios.

Reconcile by transaction result

Use this method to confirm whether a purchase, card verification, or refund has reached a final processing result.

Focus on:

  • Transaction status
  • Card verification result
  • Posting result
  • Refund result

Reconcile by fund movement

Use this method to verify the source of changes in card account balance or billing amount.

Focus on:

  • Authorized held amount
  • Authorization reversal or released amount
  • Posted amount
  • Fees or currency conversion-related charges
  • Refund or returned amount

When the current record is a refund, reversal, or other later fund movement, use its related transaction ID to locate the corresponding original transaction first, then verify the relationship between the original transaction and the current record.

Focus on:

  • Related transaction ID and original transaction ID
  • Time sequence
  • Amount changes
  • Whether the refund is associated with the original transaction

Interpreting query results

When interpreting query results, review transaction status, amount fields, fund movements, and related records together to confirm the transaction processing result and fund impact:

  • Whether the transaction has been finally posted or is still in the authorization stage
  • Whether the authorized amount, posted amount, and billing amount are consistent
  • Whether the transaction has an authorization reversal, refund, or refund failure
  • Whether fees, cross-currency conversion, or exchange-rate-related charges were generated
  • Which type of fund movement the relevant amount currently maps to, such as card balance, available limit, or currency account balance

The same transaction may have multiple status or fund records. During reconciliation, use the transaction lifecycle, fund movements, and final posting result together. Avoid confirming the final status based on a single record.

Download transaction records and reconcile

Downloads provide two record types: purchase transaction records and card account ledger records. Purchase transaction records reconstruct a card's external purchase and its subsequent processing. Card account ledger records reconcile all card account movements. First identify the original purchase and its lifecycle, then use the Transaction ID to reconcile the posted principal, purchase fees, and any reverse-processing records generated from that purchase.

Downloaded record types

File typePrimary useReconciliation focus
Purchase transaction recordsRecord card purchases at external merchants. Authorization, authorization reversal, and posting are stages of the same original purchase; refunds and disputes are new records linked to the original posted purchaseTransaction ID, transaction status, authorized amount, posted amount, transaction time, merchant information, and relationships
Card account ledger recordsRecord all card account movements, including card top-ups, card balance returns, posted purchase principal, purchase fees, and other card account changesActivity ID, transaction ID, type, amount, transaction time, and notes

Reverse processing, including refunds and disputes, creates new transaction records that are linked to the relevant original posted purchase. Actual fields and available download filters are determined by the platform.

Purchase transaction reconciliation flow

Reconciliation starts with purchase transaction records. These are complete records that may include authorization failures, authorization reversals, final presentments, refunds, and disputes. First determine the transaction's final processing result, then verify whether it created an actual debit and identify any subsequent fund movements.

Follow these steps to reconcile purchase transactions:

StepFile to reviewWhat to checkReconciliation result
1. Determine the final resultPurchase transaction recordsReview the complete set and distinguish authorization failures, authorization reversals, final presentments, refunds, and disputesDetermine whether the transaction created a final purchase debit
2. Reconcile final presentmentsPurchase transaction recordsReconcile each final presentment separately by its transaction number. Use the main business order number to identify multiple presentments for the same business, but do not combine them into one reconciliation itemConfirm the final result and amount of each presentment
3. Reconcile account movementsBoth filesFor each final presentment, use the Transaction ID to match the posted principal and purchase fees in card account ledger recordsConfirm that the actual debit and fees match the transaction result
4. Reconcile subsequent recordsPurchase transaction recordsFor refunds and disputes, use the related original transaction to locate the original posted transaction and reconcile each subsequent record separatelyConfirm the relationship between the subsequent processing and the original purchase

Multiple presentments correspond to multiple independent transactions and must be reconciled separately. The main business order number only identifies presentments belonging to the same business; it does not mean that they should be combined into one reconciliation item.

Authorization failures and authorization reversals do not create a final purchase debit, but can be reviewed as transaction processing results. Top-ups and balance returns are card account funding activities, not purchase transactions, and should be reconciled separately in card account ledger records.

Reconciliation considerations

  • Authorization, authorization reversal, and posting are different processing stages of the same original purchase. Use the posted result as the final purchase amount; do not add the authorized amount and posted principal together.
  • Refunds, disputes, and other reverse processing are new records linked to the original posted purchase. Reconcile the original purchase, reverse record, and their relationship together.
  • The posted purchase principal and fees in card account ledger records can be linked to the original purchase through the Transaction ID. Reconcile fees separately from principal, and use notes to identify fee types.
  • Card top-ups and card balance returns are card account funding activities, not external purchase transactions. Reconcile them independently in card account ledger records.
  • For cross-currency transactions, separately reconcile the transaction amount, posted principal, card currency, and related fees. Do not compare only one amount field.

Recommendations

  • When querying a single transaction, prioritize the transaction ID or related activity ID
  • When reconciling balance changes, review authorization, posting, reversal, and refund records together
  • When reconciling cross-currency transactions, pay attention to billing amount, settlement currency, and exchange-rate-related fees
  • If page display, field names, or query scope differ, follow the actual Dashboard capabilities

Query through the API

To integrate transaction query capabilities into your own system, use the Transaction query API to query transactions by transaction type, status, and time range with pagination.