Create card transaction without fee
In this example, we will review how to add card transactions to a card account without reservation.
If you are working with Tuum setup where card-related accounts are located within Tuum core, you should use the appropriate Account API endpoints instead.
Use case
This step describes the creation of a card transaction without using the card account reservation process.
The card account ID to which the transaction is added.
Transaction type code
Transaction amount
The date on which the transaction is considered effective.
The exact date and time when the transaction was originally created, including time zone.
Transaction details
Merchant information
Account balance must be checked before making the transaction.
The card with ID C001692295200 was used for the transaction.
Note: It is recommended to always provide the card ID. This is necessary to identify the correct card-level price list in cases where multiple cards are associated with the same account.
The account transaction was created by transaction R0000150 in the external system named ONLINE.
The transaction was made as an ATM withdrawal.
Note: Labels are used for fee calculation if label-based pricing has been defined for the fee type.
Fee calculation is initiated when the account transaction data does not include the fees element.
Sample API call
To create a card account transaction without the reservation, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/accounts/{accountId}/transactions
Learn more about the create card account transaction 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 API request:
Result
The outcome of the API call is the details of the created card transactions for the ATM withdrawal.
Last updated
Was this helpful?