Overview
The Yativo Card API provides full transaction history for both individual cards and the overall account. You can filter transactions by status, date range, and paginate results for large histories.Type Definitions
Type Definitions
Get Transactions for a Specific Card
Retrieve transactions for a single card, with optional filters.Your Yativo Card account ID.
The card ID to retrieve transactions for.
Number of results to return per page. Default:
20. Max: 100.Number of results to skip (for pagination). Default:
0.Filter by transaction status. Accepted values:
pending, completed, failed, reversed.Start of the date range (ISO 8601 format). Example:
2026-01-01T00:00:00Z.End of the date range (ISO 8601 format). Example:
2026-03-31T23:59:59Z.Get All Account Transactions
Retrieve transactions across all cards in the account. Useful for generating account-level reports.Your Yativo Card account ID.
Number of results per page. Default:
20. Max: 100.Offset for pagination. Default:
0.Filter by transaction status:
pending, completed, failed, reversed.Transaction Status Values
| Status | Description |
|---|---|
pending | Transaction has been authorized but not yet settled. Funds are reserved. |
completed | Transaction has settled successfully. Funds have been deducted. |
failed | Transaction was declined or failed to process. No funds were deducted. |
reversed | Transaction was reversed or refunded. Funds have been returned to the card balance. |
Transaction Types
| Type | Description |
|---|---|
purchase | A standard card purchase at a merchant. |
refund | A merchant-initiated refund to the card. |
atm_withdrawal | A cash withdrawal at an ATM (physical cards only). |
fee | A fee charged to the card (e.g., foreign transaction fee). |
authorization | A pre-authorization hold placed by a merchant. |
Pagination
Uselimit and offset for paginating through large transaction histories:
total field in the response indicates the total number of matching transactions, allowing you to calculate the number of pages: pages = ceil(total / limit).
Filtering by Date Range
To export transactions for a specific month:Sandbox Testing
Replace
YOUR_SANDBOX_TOKEN with a token obtained by authenticating against https://crypto-sandbox.yativo.com/api/. See Sandbox Overview. Card transactions in the sandbox environment return mock data.
