All Users' Transactions history
Changed onThis GET endpoint is used to retrieve a list of all transactions, including payouts, loads, and spendbacks, for all users. <br> You can use this endpoint to obtain a comprehensive history of transactions for all users, allowing you to track and analyze their payment activities over time. <br> The response will contain a JSON array of transaction objects, each including transactions details.
Request
- Base URLhttps://api.masspay.io/v1.0.0
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of records to return. Defaults to 10 if no value is provided
Starting date
Ending date
Page number
Filter particular types of transactions. Comma separated to include multiple types
Filter transactions to include only provided wallet token.
Whether to show transactions from all clients
Headers
Unique key to prevent duplicate processing
Response
Succesful operation.
Example response
[
{
"token": "123e4567-e89b-12d3-a456-426614174000",
"type": "payout",
"source_amount": 50.1,
"source_currency_code": "USD",
"destination_amount": 44.99,
"fee": 2.98,
"status": "READY_FOR_PICKUP",
"notes": "Purchase of Candles. Order #14930",
"payer_name": "Elektra",
"pickup_code": "343432",
"source_token": "123e4567-e89b-12d3-a456-426614174000",
"destination_token": "123e4567-e89b-12d3-a456-426614174000",
"sender_user_token": "usr_7f8e9d0c-1b2a-4c3d-9e5f-6a7b8c9d0e1f",
"sender_first_name": "John",
"sender_last_name": "Doe",
"sender_business_name": "Acme Inc."
}
]Changes
- warning
added the new
RETURNEDenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning