List treasury accounts
Returns a paginated list of main treasury accounts onboarded for your organization.
Each item includes account identifier, display label, optional last-four digits, and currency. Balance and transaction detail are available on the account-scoped endpoints.
**Query parameters**
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | String | No | Pagination cursor from `next_cursor` in a prior response. |
| `limit` | Integer | No | Page size. |
| `order` | String | No | Sort order by account creation time: `asc` or `desc`. |
**Success Responses**
| Status Code | Description |
|-------------|-------------|
| 200 | OK — paginated list of treasury accounts |
**Error Responses**
| Status Code | Error Code | Description |
|-------------|------------|-------------|
| 400 | VALIDATION_ERROR | Invalid query parameters |
| 401 | AUTHENTICATION_ERROR | Authentication credentials are invalid or missing |
| 403 | AUTHORIZATION_ERROR | You do not have permission to perform this action |
Authentication
x-api-keystring
RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.
Query parameters
cursor
Cursor for pagination. Use the next_cursor from the previous response to get the next page.
limit
Number of items to return per page. Maximum is 500.
order
Sort order for results by creation time.
Allowed values:
Response
Successful Response
data
has_more
total_count
next_cursor
previous_cursor