API Reference zazu v#0.2.1

Copy Markdown View Source

Modules

Elixir SDK for the Zazu API.

Accounts and their transactions.

Read-only directory of saved transfer recipients, managed in the Zazu dashboard.

One-off hosted checkout sessions. No list, update, or delete; sessions are created and inspected by id.

The SDK entry point. Build one with Zazu.new/1 and pass it as the first argument to every resource function (Zazu.Accounts, Zazu.Invoices, ...).

Returned by Zazu.new/1 when the client can't be built.

Wraps transport-level failures (timeouts, DNS, refused).

Individuals or businesses the entity invoices.

The current entity (the tenant the API key belongs to).

The API error envelope, mirroring the other Zazu SDKs' hierarchy: {"error" => {"type" => ..., "message" => ..., "param" => ...}}.

Invoices and their lifecycle actions.

One page of a cursor-paginated list endpoint: {"data" => [...], "has_more" => bool, "next_cursor" => string | nil}.

Standalone payment links (not attached to an invoice).

A successful (2xx) API response.

API-initiated transfers.

Webhook endpoint management.