List Counterparty Payouts
List the payouts of a specific counterparty, newest first. meta.total counts the payouts matching the filters, so page through the list with page[offset] until you have read meta.total records. Both bounds of every filter range are inclusive.
Request
- Base URLhttps://merchant-api.accruesavings.com
- Authnone declared. Required headers: Client-ID, Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the counterparty to fetch payouts for.
Query parameters
Maximum number of objects that will be returned. Can not be greater than 50.
Offset from the beginning of the list of objects. Can not be negative.
Filter payouts by status.
Only payouts of at least this amount, in cents.
Only payouts of at most this amount, in cents.
Only payouts created at or after this ISO 8601 datetime.
Only payouts created at or before this ISO 8601 datetime.
Only payouts with an effective date on or after this date (YYYY-MM-DD).
Only payouts with an effective date on or before this date (YYYY-MM-DD).
Headers
The unique identifier of the client making the request. This header is required to retrieve the client-specific configuration and ensure that the response is tailored to the client's settings and permissions.
Secure secret to access privileged endpoints.
Response
OK
Example response
{
"data": [
{
"attributes": {
"amount": 5000,
"status": "Sent",
"description": "Payout to vendor",
"effectiveDate": "2024-01-15",
"counterpartyId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"meta": {
"total": 1,
"limit": 10
}
}Changes
No recorded changes to this operation across all 1 revision of this API.