Find summing values for account

Suppose you want to know the total amount of cash withdrawals in the current period, use the get-aggregated-data API endpoint.

Use case

In this example, we will get the current summing value of an assigned summing group for a particular account.

Use case data
API parameters with values

Search for aggregation data of

...get-aggregation-data?

transaction grouping MONTHLY_ACCOUNT_WITHDRAWAL_SUM_Rand

transactionGroupingCode=MONTHLY_ACCOUNT_WITHDRAWAL_SUM_R

related to account C001718025430

&accountId=C001718025430

circle-info

Aggregation data is related to the account if aggregationScope for transaction grouping is ACCOUNT.

Sample API call

To retrieve the current the current summing value of an assigned summing group for a particular account, make the following API call.

https://card-api.sandbox.tuumplatform.com/api/v1/get-aggregation-data?transactionGroupingCode=MONTHLY_ACCOUNT_WITHDRAWAL_SUM_R&accountId=C001718025430

circle-info

Learn more about get aggregation dataarrow-up-right endpoint in the Tuum developer portal.

Sample request

Below is an example request of the API call to retrieve the current summing value of an assigned summing group for a particular account.

No request body.

Sample response

Below you find an example response body to the API call above.

chevron-rightResponsehashtag

Result

The result of the API call is the dataset consisting of transactions summing amount of 50 and the related authorisation events.

circle-info

The transaction summing amount is calculated as the difference between received authorisation requests (IN) and authorisation reversals (OUT) for unsuccessful authorisations. In the current example, 50+10-10=50.

Last updated

Was this helpful?