Skip to main content

Installation

Requires Python 3.10 or newer.

Quick start

Keyword arguments are snake_case, matching the API body. Response models expose snake_case attributes too, so submission.external_id works even though the wire format is externalId — pydantic handles the aliasing.

Configuration

The client raises immediately if no API key is found.

Async client

AsyncMoneyline mirrors the sync surface method-for-method; await the calls and iterate pages with async for.
Note that list(...) itself is not awaited — it returns an AsyncPage you iterate.

Pagination

List methods return a page object that transparently fetches subsequent pages as you iterate.
Methods returning a plain list[...] (list_linked, event_types, groups, export) are not paginated.

Resources

Submissions

Documents

Transactions

Analytics

Every calculation lives here, keyed by submission ID.

Policies

Rules

Webhooks

Merchants and categories

Funders

Integrations

Entities

ISO applications

Error handling

RateLimitError and ServerError are retried automatically up to max_retries before surfacing.

Webhook signature verification

verify_signature performs the same check without parsing the payload.

Generated models

Spec-driven pydantic models are generated from the OpenAPI document (scripts/gen-types.sh) and re-exported by the entity models:
Use these when you need the exact wire shape of an endpoint the hand-written resources do not wrap.