Search transactions by query params. Same endpoint can be used to download CSV (with Accept header="text/csv"). Refer to code for details
Query parameters
Set to '2' to return failed transaction states FAILED_REJECTED/FAILED_EXPIRED/FAILED_CANCELLED mapped to declined/timedout/cancelled external status respectively.Otherwise these transaction states will all be mapped to failed status
Set to 'true' to search for transactions by exact reference. Otherwise reference is partially matched
Comma delimited payment states.
Comma delimited refund states.
Comma delimited card brands.
From date of transactions to be searched (this date is inclusive).
To date of transactions to be searched (this date is inclusive).
From date of transactions settled date to be searched (this date is inclusive).
To date of transactions settled date to be searched (this date is inclusive).
Set to 'true' to limit the search counting the total number of transactions to 'limit_total_size' param
Comma delimited dispute states.
Set to true to list transactions for all accounts.
Comma delimited gateway account IDs. Required except when override_account_id_restriction=true
Response
OK