API reference

Two surfaces with one rule: money is authoritative in the ledger. This page covers the conventions that apply to every operation. Endpoints live in the four sections below and in the generated endpoint index.

Base URLs

SurfaceProductionSandboxReachability
Partner APIhttps://api.arilator.comhttps://indevapi.arilator.comPublic
MoR corePlatform-internal hostPlatform-internal hostArilator network only
Hosted checkouthttps://www.arilator.com/pay/<session-id>Dev websitePublic, one session per link

Versioning

The API is versioned by date. The current version is 2026-11-01. Pin it with a header; the version actually served is echoed on every response.

Arilator-Version: 2026-11-01

# unknown version → 400
{ "code": "UNSUPPORTED_API_VERSION",
  "supported": ["2026-11-01"] }

Versions are never removed silently: a breaking change gets a new date, both versions run in parallel, and the removal is announced in the API changelog with a date.

Idempotency

Every POST and PATCH on the MoR surface requires an Idempotency-Key. The same key with the same body replays the stored response; the same key with a different body returns 409. Provider webhooks and the two buyer-driven hosted-checkout calls are exempt — they are authenticated or guarded by session state instead.

Idempotency-Key: 8f14e45f-ea0b-4f2c-9a1e-2b7d0d0b1c33

Conventions

  • JSON only. No SDK is required; every call is a plain HTTPS request.
  • Snake case on partner routes (vendor_id, store_id).
  • Amounts carry up to four decimal places; never assume floating-point equality.
  • Errors are JSON with a message; policy refusals add a machine-readable code. See Errors.
  • Auth is a partner session token or a store-scoped developer key. See Authentication.

Reference sections