Transactions reporting
In order to list all the transactions that have been sent through the gateway, you can use this endpoint. Please note that for every new event that is sent under the same transaction, the transaction’s updated_at
field is updated.
Filtering is enabled to this endpoint through query parameter search
. So when searching for a field, submit it through the endpoint’s query parameters, for example:
https://gateway.stg.pppay.cloud/api/transactions?search[first_name]=John&search[last_name]=Doe
Filter types are described below:
- starts with which matches for records in a SQL LIKE fashion, e.g.: a string
Transac
will match bothTransaction
andTransactionEvent
; - exact comparison which matches for records through exact comparison, case sensitive, e.g.: a string
Transaction
will NOT matchtransaction
; - date which matches for records through SQL date, and these fields should be provided on Y-m-d H:i:s format, e.g.: 2022-02-02 17:59:00
Also, this endpoint provides pagination to navigate through record sets. Pagination information can be found in the meta
response field. The pages always return 50 records at a time. While using reporting capabilities, make sure to monitor rate limits through X-RateLimit-Limit
and X-RateLimit-Remaining
response headers.