Transactions
Payout History
This guide explains how to retrieve payout wallet transaction records from The Payment Company API.
API Endpoints
Live APIProduction environment
GET
https://api.thepayment.company/api/v1/live-wallet-transactionsTest APISandbox environment
GET
https://api.thepayment.company/api/v1/test-wallet-transactionsAuthentication
All API requests must be authenticated with your secret key in the Authorization header.
Query Parameters
Supported query parameters for transaction filtering and pagination are listed below:
| Parameter | Type | Description | Required |
|---|---|---|---|
transaction_start_date | String | Start date for filtering transactions (YYYY-MM-DD format) | No |
transaction_end_date | String | End date for filtering transactions (YYYY-MM-DD format) | No |
nextCursor | String | Cursor for next page of results | No |
prevCursor | String | Cursor for previous page of results | No |
Example Request
Response Format
Wallet Transaction Fields
Note: The wallet_id and transaction_date fields are not available for test wallet transactions. These fields appear only in live wallet transactions.
| Property | Type | Description |
|---|---|---|
| wallet_id | String | Unique wallet identifier |
| first_name | String | Account holder first name |
| last_name | String | Account holder last name |
| transaction_id | String | Unique transaction identifier |
| amount | String | Transaction amount |
| address | String | Wallet-related address, if available |
| currency | String | Transaction currency code |
| status | String | Transaction status, such as SUCCESS or FAILED |
| card_type | String | Card type, for example MASTER |
| card_number | String | Masked card number |
| card_expiry_month | String | Card expiry month |
| card_expiry_year | String | Card expiry year |
| transaction_type | String | Transaction category, such as CARD or APM |
| order_id | String | Unique order ID, if supplied |
| message | String | Transaction message or note |
| phone_number | String | Phone number linked to the transaction |
| fee | String | Transaction fee |
| country | String | Country code |
| String | Email address | |
| created_at | String | Timestamp when the transaction was created |
| transaction_date | String | Timestamp when the transaction was processed |
Sample Responses
Pagination
The API response includes pagination metadata that can be used to load more pages of transaction data:
hasNextPage: Indicates whether more transactions exist after the current pagehasPreviousPage: Indicates whether earlier transactions exist before the current pagenextCursor: Cursor value used to request the next page of results with thenextCursorparameterprevCursor: Cursor value used to request the previous page of results with theprevCursorparametertotalCount: Total number of transactions matching the current filters