Documentation Index
Fetch the complete documentation index at: https://apidocs.synchpay.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The/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.
How It Works
Obtain an Access Token
Before calling
/transaction/report, secure an access token by making a POST
request to /auth/token using your ClientId and ClientSecret.Specify Filters (Optional)
You may include optional query parameters such as
from, to, status, and
cursor to narrow the results or page through them.Call the Endpoint
Make a
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.Retrieving Transactions
The/transaction/report endpoint supports filtered and paginated retrieval of transaction data.
Endpoint
- URL:
https://api.synchpay.com/transaction/report - Method:
GET - Authorization:
Bearer <AccessToken>
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
companyId | string | The companyIdthat 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 |
Available Statuses
- Created
- Pending
- Processed
- Completed
- Cancelled
- Failed
Example Request
Example Response
Response fields
| Field | Type | Description |
|---|---|---|
externalTransferId | string | Unique identifier for the transaction. |
status | string | Current status of the transaction (see available statuses above). |
amount | object | The transaction amount, including value (in cents) and currencyCode. |
date | string | ISO timestamp of when the transaction occurred. |
senderName | string | Name of the payer. |
recipientName | string | Name of the payment recipient. |
paymentMethod | string | How the payer paid. Possible values: A2A (bank account) or Card (credit card). |
isRefunded | boolean | Whether the transaction has been refunded. |
isReimbursed | boolean | Whether the transaction has been reimbursed. |
appliedForReimbursement | boolean | Whether a reimbursement application was submitted. |
recipientAddress | object | The recipient’s address details. |