Gateway API
Read the actual HTTP contract, authentication boundaries, errors and integer amount conventions.
The gateway reference is generated from the repository OpenAPI contract. Open the native reference or the Scalar renderer.
Owner management operations require verified human authority through Clerk or an owner-scoped OAuth token. Merchant backend admission and redemption use separately scoped merchant credentials. Agent operations require verified AgentID authority and the configured ownership policy. A 401 indicates missing or invalid authority; 403 indicates insufficient permission; 402 describes a required payment action; 503 indicates unavailable configuration.
Amounts use integer microcredits represented as decimal strings in JSON. USD requests use integer cents. Use stable idempotency keys for retries of financial and fulfillment operations.
The public JSON documentation API is a separate read-only surface at /api/docs/*; it does not execute gateway transactions.
