Fetch Wallet Balance
Retrieves the current wallet balance for a given kit and wallet type. Returns both the confirmed offline wallet balance and the staged offline wallet balance. The staged balance represents transactions that have been initiated but not yet fully confirmed.
Authorization
tenantAuth The DCMS tenant name for multi-tenant isolation. Every API call must include this header to identify the client organization.
In: header
Header Parameters
The DCMS client or tenant name for multi-tenant isolation.
Request Body
application/json
Unique kit number identifying the card whose wallet balance is being queried.
Customer entity identifier who owns the wallet.
Type of wallet to query. Currently supports NCMC wallet type.
"NCMC"Response Body
application/json
application/json
curl -X POST "https://api.dcms.example.com/v1/wallet/fetch/balance" \ -H "tenant: ACME_BANK" \ -H "Content-Type: application/json" \ -d '{ "kitNo": "4241220463", "entityId": "828826", "walletType": "NCMC" }'{
"result": {
"entityId": "878826",
"kitNo": "4240220463",
"offlineStagedWalletBalance": "500.00",
"offlineWalletBalance": "250.00",
"walletType": "NCMC"
},
"exception": null,
"pagination": null
}{
"result": null,
"exception": {
"errorCode": "MCC007",
"shortMessage": "valid kit not found",
"detailMessage": "No valid kit found for the given kit number and entity ID",
"httpStatus": "BAD_REQUEST",
"fieldError": [
"Invalid Kit No"
],
"languageCode": "en"
},
"pagination": null
}Wallet Fetch Authentication Transactions POST
Retrieves wallet transaction history from the Authentication (Authnt) service for a given kit and wallet type. Returns detailed authentication transaction records including acquirer information, card acceptor details, response codes, and processing metadata. This provides a more detailed view of transactions compared to the ledger endpoint, including network-level details such as merchant category codes (MCC), retrieval reference numbers (RRN), and system trace audit numbers (STAN).
Wallet Fetch Ledger Transactions POST
Retrieves wallet transaction history from the Ledger service for a given kit and wallet type. Returns detailed transaction records including amounts, statuses, error codes, and timestamps. Supports date range filtering and a flag to show only successful transactions. Transactions include types such as LOAD, OFFLINE_LOAD_CASH, SERVICE_CREATION, and others.
