Retrieve a paginated report of past transactions with optional filters by date and status.
/transaction/report
endpoint allows you to retrieve a paginated list of past transactions. You can filter the results by date range and status. This endpoint is useful for generating reports, auditing payments, and tracking user activity.
Obtain an Access Token
/transaction/report
, secure an access token by making a POST
request to /auth/token
using your ClientId
and ClientSecret
.Specify Filters (Optional)
from
, to
, status
, and
cursor
to narrow the results or page through them.Call the Endpoint
GET
request to /transaction/report
with your access token and any
desired filters. The response will contain a list of transactions, along with
pagination info.Process Results
/transaction/report
endpoint supports filtered and paginated retrieval of transaction data.
https://api.synchpay.com/transaction/report
GET
Bearer <AccessToken>
Parameter | Type | Description | Required |
---|---|---|---|
companyId | string | The companyId that was previously created. | Yes |
from | datetime | Start date for transactions to include. Example: 2025-01-01T00:00:00Z | No |
to | datetime | End date for transactions to include. Example: 2025-01-31T23:59:59Z | No |
status | string | Filter by transaction status (e.g., Completed , Pending , Cancelled ) see available statuses below | No |
cursor | string | Use to paginate through results. If hasMore is true , pass nextCursor . | No |