Mayar icon

Mayar

Aksi API Mayar: balance, invoice, coupon, customer

Actions10

Invoice → Get Many

AI-generated

Summary

Fetch multiple invoices via GET /invoice

Inputs

None.

Output shape

single item with json field containing the API response

When debug is enabled, the json field includes a _meta sub-object with method, path, and optional qs

Examples

Example 1: Normal retrieval

Leave all optional retry/debug settings at defaults; the node issues a GET to /invoice and passes through the Mayar API's JSON payload.

Example 2: With debug enabled

Set debug to true; the returned item's json will contain {..., _meta: { method: 'GET', path: '/invoice' } }.

Example 3: Handling transient failures

Set maxRetries and retryDelayMs in the options collection; the node will retry up to the specified count with exponential-backoff-style delays before throwing or, if continueOnFail is true, returning an error object as the first item's json.

Links

Discussion