Transactions¶
Learn how to check and process card transactions with DECTA API¶
After the authorisation has been approved and is captured, the authorisation is closed and a Transaction object is created. DECTA API transactions functionality provides the possibility to get information on cleared transactions and your posted card account transactions.
Check a card transaction ¶
To receive a list of card transactions for a selected card, use the GET /v1/api/cards/{ppan}/transactions request. To limit the list, you can choose several filter parameters, like count or ID number and others.
Process card transaction ¶
If you want to make card top-up or withdrawal from the card, you should use the POST /v1/api/cards/{ppan}/transactions request. If the WITHDRAWAL transaction type is specified, then the card account open-to-buy balance will be checked before executing the request and in case the balance is insufficient, the request will be rejected; if the FORCE_WITHDRAWAL transaction type is specified, the request will be executed without checking the card account open-to-buy balance.