Calculate fee for specific account

The fee quotation service calculates the applicable fee for a given transaction based on parameters such as transaction amount, currency, associated fees, tiers, and labels. The response consists of a calculated total price along with a breakdown of associated fees.

Use case

Here, you will learn how to use the fee quotation service to calculate the fee for a specific account in Tuum.

circle-info

If accountId is provided, the parameters situationCode, priceListCode, currentTransactionAmount, and currentTransactionCount are not used. In this case, the system uses current data from the specified account.

Use case data
API parameters with values

Posting date is the date the transaction is posted. The format is YYYY-MM-DD.

Transaction type

Amount details

Labels are used to define the association between transaction types and fee types.

Card account technical identifier

Card technical identifier

circle-exclamation

Sample API call

To request the fee quotation, use the following endpoint:

https://card-api.sandbox.tuumplatform.com/api/v1/transactions/calculate-fees

circle-info

Learn more about the calculate fee quotation for transactionarrow-up-right endpoint in the Tuum developer portal.

Sample request

The sample request body is as follows:

Sample response

Below you will find the response to the sample request:

chevron-rightResponsehashtag

Last updated

Was this helpful?