Find counting values for card
Suppose you want to know the number of cash withdrawals in the current period, use the get-aggregated-data API endpoint.
Use case
In this example, we will get the current counting value of an assigned counting group for a particular card.
Search for aggregation data of
...get-aggregation-data?
transaction grouping MONTHLY_WITHDRAWAL_COUNT
and
transactionGroupingCode=MONTHLY_WITHDRAWAL_COUNT
related to card C001692281754
&cardId=C001692281754
Sample API call
To retrieve the current counting value of an assigned counting group for a particular card, make the following API call.
https://card-api.sandbox.tuumplatform.com/api/v1/get-aggregation-data?transactionGroupingCode=MONTHLY_WITHDRAWAL_COUNT&cardId=C001692281754
Sample request
Below is an example request of the API call to retrieve the current counting value of an assigned counting group for a particular card.
No request body.
Sample response
Below you find an example response body to the API call above.
Result
The result of the API call is the dataset consisting of transactions count 3
and the related authorisation events.
Last updated
Was this helpful?