You need to create a summing group to set up price tiers for:
amount range-based pricing, or
amount range-based pricing with a count threshold.
In card price lists, you can select the created summing group as a reference for tiered pricing.
In this example, we will set up a summing group that counts ATM cash withdrawal transactions during the authorisation stage.
Unique name for transaction grouping.
The number of transactions is counted.
Aggregation restarts at the beginning of each month.
Transactions made with different cards using the same account are aggregated.
Transactions are aggregated at the authorisation stage, when authorisation request or advice is approved (and account reservation or account transaction is created).
Transaction grouping is enabled.
List of transaction types that are aggregated.
To create a new summing group, make the following API call:
Below you will find the response to the API request:
We have created a new summing group, MONTHLY_WITHDRAWAL_SUM_V
, to summarise ATM cash withdrawal transactions during the authorisation stage.
https://card-api.sandbox.tuumplatform.com/api/v1/transaction-grouping
Learn more about endpoint in the Tuum developer portal.
Suppose you want to know the number of cash withdrawals in the current period, use the get-aggregated-data API endpoint.
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
To retrieve the current counting value of an assigned counting group for a particular card, make the following API call.
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.
Below you find an example response body to the API call above.
The result of the API call is the dataset consisting of transactions count 3
and the related authorisation events.
https://card-api.sandbox.tuumplatform.com/api/v1/get-aggregation-data?transactionGroupingCode=MONTHLY_WITHDRAWAL_COUNT&cardId=C001692281754
Learn more about endpoint in the Tuum developer portal.
Suppose you want to know the total amount of cash withdrawals in the current period, use the get-aggregated-data API endpoint.
In this example, we will get the current summing value of an assigned summing group for a particular account.
Search for aggregation data of
...get-aggregation-data?
transaction grouping MONTHLY_ACCOUNT_WITHDRAWAL_SUM_R
and
transactionGroupingCode=MONTHLY_ACCOUNT_WITHDRAWAL_SUM_R
related to account C001718025430
&accountId=C001718025430
To retrieve the current the current summing value of an assigned summing group for a particular account, make the following API call.
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.
Below you find an example response body to the API call above.
The result of the API call is the dataset consisting of transactions summing amount of 50
and the related authorisation events.
https://card-api.sandbox.tuumplatform.com/api/v1/get-aggregation-data?transactionGroupingCode=MONTHLY_ACCOUNT_WITHDRAWAL_SUM_R&accountId=C001718025430
Learn more about endpoint in the Tuum developer portal.
In this set of examples, you can learn how to create a counting and summing group to set up tiered pricing in card price lists. You will find the excerpt of transaction group parameters to know when managing the counting and summing groups, followed by links to associated example API calls.
You need to create a counting group to set up price tiers for:
count range-based pricing, or
amount range-based pricing with a count threshold.
In card price lists, you can select the created counting group as a reference for tiered pricing.
In this example, we will set up a counting group that counts ATM cash withdrawal transactions during the authorisation stage.
Unique name for transaction grouping.
The number of transactions is counted.
Aggregation restarts at the beginning of each month.
Transactions made with different cards using the same account are aggregated.
Transactions are aggregated at the authorisation stage, when authorisation request or advice is approved (and account reservation or account transaction is created).
Transaction grouping is enabled.
List of transaction types that are aggregated.
To create a new counting group, make the following API call:
The sample request body is as follows:
Below you will find the response to the API request:
We have created a new counting group, MONTHLY_WITHDRAWAL_COUNT_V
, that counts ATM cash withdrawal transactions during the authorisation stage.
https://card-api.sandbox.tuumplatform.com/api/v1/transaction-grouping
Learn more about endpoint in the Tuum developer portal.