mercury_list_customers
List Accounts Receivable customers with cursor-based pagination. Use to retrieve customer IDs before creating an invoice or for customer audits. Supports startAfter/endBefore cursors for paging beyond default limit.
Instructions
List Accounts Receivable customers, with cursor-based pagination.
USE WHEN: enumerating AR customers before creating an invoice (need a customerId for mercury_create_invoice), or for a customer-level audit. Use startAfter / endBefore for paging beyond the limit.
DO NOT USE: for payment recipients (mercury_list_recipients is the bank-payment counterparty list, distinct from AR customers). For one customer whose ID is known, prefer mercury_get_customer.
RETURNS: { customers: [{ id, name, email, address, ... }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-1000) | |
| order | No | ||
| startAfter | No | Pagination cursor (forward) | |
| endBefore | No | Pagination cursor (reverse) |