cURL
Filtering transactions
Use query parameters to filter and narrow down transaction results.Filter by customer
Get all transactions for a specific customer:Filter by transaction type
Get only incoming or outgoing transactions:- Outgoing Only
- Incoming Only
Filter by status
Get transactions in a specific status:PENDING- Transaction initiated, awaiting processingPROCESSING- Transaction in progressCOMPLETED- Transaction successfully completedFAILED- Transaction failedEXPIRED- Quote expired before execution
Filter by date range
Get transactions within a specific date range:Filter by account
Get transactions for a specific account:Combining filters
You can combine multiple filters to narrow down results:Pagination
Handle large result sets with cursor-based pagination:1
Get first page
2
Get next page
Use the
nextCursor from the previous response:3
Continue until done
Keep paginating while
hasMore is true:The maximum
limit is 100 transactions per request. Default is 20.Get a single transaction
Retrieve details for a specific transaction by ID:Best practices
Use pagination for large datasets
Use pagination for large datasets
Always implement pagination when fetching transactions to avoid timeouts and memory issues:
Cache results when appropriate
Cache results when appropriate
For data that doesn’t change frequently (like completed transactions), implement caching:
Use specific filters to reduce result sets
Use specific filters to reduce result sets
Apply filters to get only the data you need:
Handle rate limits gracefully
Handle rate limits gracefully
Implement exponential backoff for rate limit errors: