List Counterparty Transactions
List every money movement on a counterparty's account, newest effective date first: funds arriving over bank rails, payouts to its own bank account, transfers from your other counterparties, and corrections. Together they account for the counterparty's balance exactly, which makes this the endpoint to reconcile a balance against. meta.total counts the transactions matching the filters, so page through the list with page[offset] until you have read meta.total records. A single query returns at most the newest 5,000 matching transactions, so read a longer history in filter[effectiveAtFrom] / filter[effectiveAtTo] windows of fewer than 5,000 transactions each. 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 transactions 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 transactions by what moved the money.
Filter transactions by status.
Credit for money into the counterparty, Debit for money out of it.
Only transactions effective at or after this ISO 8601 datetime.
Only transactions effective at or before this ISO 8601 datetime.
Only transactions of at least this amount, in cents.
Only transactions of at most this amount, in cents.
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": {
"counterpartyId": "123e4567-e89b-12d3-a456-426614174000",
"amount": 5000,
"currency": "USD",
"direction": "Credit",
"type": "Deposit",
"status": "Posted",
"description": "Payout to vendor",
"originatorName": "Checkout LLC",
"metadata": {
"bookType": "external-transfer"
},
"effectiveAt": "2024-01-15T00:00:00.000Z",
"postedAt": "2024-01-15T00:00:00.000Z"
}
}
],
"meta": {
"total": 1,
"limit": 10
}
}Changes
No recorded changes to this operation across all 1 revision of this API.