Get all accounts
Retrieve a paginated list of accounts. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
Authentication
AuthorizationBearer
Bearer token authentication for Mercury API.
Use your API token in the Authorization header:
Authorization: Bearer TOKEN
Example:
Authorization: Bearer secret-token:mercury_production_wma_24SCp4G81X3yHL4Wq8FgzuaP9ye3VKf2mgTDctXyRg5HY_yrucrem
Your Mercury API token should include the ‘secret-token:’ prefix. Tokens can be generated from your Mercury dashboard settings.
Query parameters
limit
order
Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'
Allowed values:
start_after
end_before
Response
accounts
List of accounts in the current page
page
Pagination information including cursors for navigating to next/previous pages
Errors
400
Bad Request Error

