Get transaction totals
Returns the number and total amount of matching transactions in one currency.
Request
- Base URL: https://next-api.saturation.io/v1
- URL: https://next-api.saturation.io/v1/transactions/stats
- Auth: HTTP bearer
Query parameters
Project ID or slug. Use none for unassigned transactions.
How the transaction entered Saturation. Financial fields are editable only for manual transactions.
Transaction source. Separate multiple values with commas.
Transaction type. Separate multiple values with commas.
Current transaction status. Available statuses vary by source.
Transaction status. Separate multiple values with commas.
Set to true for refunds and other reversals.
A stable resource ID, such as prj_…, txn_…, or doc_….
Only transactions for this contact.
A stable resource ID, such as prj_…, txn_…, or doc_….
Only transactions coded to this budget line.
A stable resource ID, such as prj_…, txn_…, or doc_….
Linked purchase order ID.
Three-letter currency code for the total.
Earliest transaction time, inclusive. Must be on or before dateTo.
Latest transaction time, inclusive.
Minimum amount, inclusive, in minor currency units.
Maximum amount, inclusive, in minor currency units.
Set to true for itemized transactions or false for transactions without items.
Merchant name. Matching is case-insensitive and partial.
Set to true for transactions with documents or false for transactions without documents.
Search transaction descriptions.
Response
Totals for matching transactions.
Example response
{
"total": 142,
"amount": {
"amount": 152900,
"currency": "USD"
}
}Changes
No operation changes recorded.