Skip to main content
Axis is payment infrastructure built specifically for autonomous AI agents. Instead of giving an agent unrestricted access to a payment method, you provision a scoped wallet — a spending account with hard limits, an optional merchant allowlist, and a complete audit trail. This documentation covers everything a frontend developer needs to connect a client application to the Axis backend: authentication, wallet management, funding via virtual accounts, and triggering payment intents from an agent.

Quickstart

Create an account, provision a wallet, fund it, and fire your first payment in under 10 minutes.

Auth Overview

Understand the two authentication modes — developer JWTs for the dashboard and API keys for agents.

Wallets

Deep-dive into spend limits, period windows, merchant allowlists, and wallet lifecycle management.

Create a Wallet (API)

Full API reference for POST /api/wallets, including every request field and response shape.

Core concept

The central primitive in Axis is the Wallet. Here is the end-to-end flow:
  1. You provision a wallet. As a developer or business owner, you call POST /api/wallets with the spending rules you want to enforce — a per-transaction cap, a rolling period limit, an expiry date, and an optional list of approved merchants.
  2. You fund the wallet. Every wallet is backed by a dedicated virtual bank account. Transfer NGN to that account number and Axis automatically credits the wallet balance.
  3. You issue an API key to your agent. The wallet creation response includes a fullKey — a plain-text secret your agent uses to authenticate payment requests. Store it in your agent’s environment; it is shown only once.
  4. Your agent spends. The agent calls POST /api/payment-intent with the x-api-key header set to fullKey. Axis validates every request against the wallet’s rules before executing the transfer.

Data model

These are the eight core entities you will encounter throughout the API and this documentation.
All monetary amounts in the Axis API are expressed in the smallest currency unit. For Nigerian Naira (NGN) that is kobo — so ₦1,500.00 is represented as 150000. Always convert before sending a request and after receiving a response.