Skip to main content

One place to query, three views

Every card purchase, every statement and every fiat movement belonging to an end user can be retrieved from DCS in one place and shown to the user as it is. As a licensed issuer running its own BINs, DCS keeps the whole “crypto → fiat → card spending” chain inside its own systems in the managed model, so you consume the three views below instead of stitching raw card network and ledger records together yourself. The DeCard-Managed model organizes this data into three views — statement summaries, fiat transaction records and transaction-ID resolution — each served by its own endpoint. Start with the overview:
Three transaction and statement query entry pointsThree transaction and statement query entry points
Scope: this page covers only the three views of statements, fiat records and transaction-ID resolution. An end user’s crypto funding history (user-asset/v1/transactions, transaction-detail) belongs to the User Balance page and is not repeated here; see User Balance when you need it.

Prerequisites

  • Your Enterprise account is live and you hold an ApiKey and SecretKey. If you do not have them yet, see First Steps and the Authentication Guide.
  • The end user is registered (you hold an externalUserId, see Signing Up a Customer) and holds a card (you hold a cardId, see Issuing Cards).
  • Every request must carry the signature headers described in the Authentication Guide. The examples below omit those headers and show only the business fields.
  • The externalUserId, cardId, last 4 digits, merchant names, addresses and txHash values in all examples are placeholders or redacted. Never put real end-user PII in requests or logs.

1. Querying statements

A statement rolls up the spending, repayments and not-yet-posted amounts of one billing period into a single record. The statement endpoints identify the card precisely with cardId, and the response carries both the SGD and USD amount fields.

1.1 Statement list

A successful response returns an array of statements in data:

1.2 Statement detail

Once you have a statementId, drill down into the individual line items of that statement.
Statement detail response (redacted excerpt):
Key fields (the API Reference remains authoritative for the complete field set):
assetMovements (DeCard-Managed only): in the DeCard-Managed model, every card purchase draws down the user’s own wallet balance. assetMovements records which asset funded it, how much was deducted and when, which is a capability specific to the DeCard-Managed model.

2. Querying fiat transaction records (DeCard-Managed only)

Fiat transaction records are a view specific to the DeCard-Managed model: they aggregate every transaction, credits, debits, repayments, disputes and stablecoin top-ups, into one list retrieved by user, and they expose forensic fields for on-chain deposits (hash, network, asset, sending and receiving addresses). This is what end-to-end visibility of the “crypto → fiat → card spending” chain looks like in the DeCard-Managed model.
A successful response (redacted excerpt):
Debit or credit direction, debitCreditIndcator (the field name keeps a historical typo; the intended name is debitCreditIndicator): C = credit (money in) / D = debit (money out). Transaction type, postingTransType (complete enumeration): Top-up information, transferDetails (returned only for top-up transactions):
Deposit addresses and the currency and network configuration behind on-chain top-ups belong to the crypto deposit and withdrawal group and are not covered here. txHash lets you confirm receipt on a block explorer, which makes it an important anchor for reconciliation in the DeCard-Managed model.

3. Resolving transaction IDs

When you hold a transaction ID but are unsure whether it is outstanding or posted, resolve its posting state and linked IDs in bulk.
The key fields of a successful response, where data is the list of resolution results:
Why you need this: the same purchase can carry different IDs at the hold stage (outstanding) and at the posting stage (posted), and this endpoint ties the two ends together. For the concepts behind authorization and posting, see Transaction Lifecycle · Overview.

Pagination, sorting and error handling

  • Pagination: list endpoints all take page (page number) plus rows (items per page) in the query string, both as strings. Follow the field table of each endpoint on this page.
  • Sorting: the endpoints that support order (sort field) plus sort (asc or desc) are statements, statements/detail and fiat/transactions.
  • Success check: treat code == SYS_SUCCESS in the response envelope as the request being accepted; for any other value, read message and messageDetail for the reason. The envelope is documented in full in the Authentication Guide.
  • Time range: when startTime and endTime are omitted, each endpoint applies its own default range. Pass them explicitly to keep response sizes under control.

Capability notes

The DeCard-Managed model does not currently offer transaction memos or receipts. If you need to show memos or receipts in your own interface, store them on your side; adding the capability on the DCS side is a product decision, so raise it with the DCS team if you need it. DCS does provide two views, statement summaries and fiat transaction records including on-chain deposit forensics, both covered in sections 1 and 2 above.

Next steps

  • To read a user’s asset balances and crypto funding history, see User Balance.
  • To understand how a transaction travels from authorization to posting, see Transaction Lifecycle · Overview.
  • Authorization decisions are made inside DCS and are never forwarded to you (forwarding belongs to the Partner-Managed model); see Authorizing Transactions.