Retrieve Bank Transactions
curl --request GET \
--url https://api.atoa.me/api/bank//accounts/{accountId}/transactions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "txn_001",
"date": "2024-01-14T11:45:00Z",
"type": "DEBIT",
"amount": 89.99,
"currency": "GBP",
"description": "Amazon Marketplace",
"reference": "INV-4321-A",
"transactionCategory": "E-commerce",
"status": "BOOKED"
"balance": {"amount": 2.37, "currency": "GBP"}
}
],
"totalCount": 1,
"page": 0,
"itemsPerPage": 30
}
Once bank account access is authorized, use the following API to fetch transaction data.
AUTHORIZATION: Bearer <token>
REQUEST SCHEMA
ID of the user’s bank account.
Date range for transactions.
Page number.
Number of records per page.
RESPONSE
A unique identifier for the transaction. Use this to deduplicate or track individual transactions.
The most recent date associated with the transaction. This may be the booking date or value date depending on the bank.
Indicates whether the transaction is a CREDIT (money received) or DEBIT (money sent).
The monetary value of the transaction. This can be positive or negative based on the type.
The currency code (e.g., GBP, EUR) in which the transaction was made
Any additional information or context provided by the bank. This could include metadata, internal codes, or bank-provided notes.
The name of the merchant involved in the transaction, if provided by the bank.
A high-level category indicating the nature of the transaction (e.g., Payments, Transfers, ATM, etc.). Helps in transaction classification.
The current state of the transaction. Can be BOOKED (processed and settled) or PENDING (initiated but not yet fully processed).
The account balance immediately after the transaction. Note: This field might not be available for some banks. Includes:
curl --request GET \
--url https://api.atoa.me/api/bank//accounts/{accountId}/transactions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "txn_001",
"date": "2024-01-14T11:45:00Z",
"type": "DEBIT",
"amount": 89.99,
"currency": "GBP",
"description": "Amazon Marketplace",
"reference": "INV-4321-A",
"transactionCategory": "E-commerce",
"status": "BOOKED"
"balance": {"amount": 2.37, "currency": "GBP"}
}
],
"totalCount": 1,
"page": 0,
"itemsPerPage": 30
}