API Reference
API Reference
Integrate payments, payouts, embedded finance and more through simple, scalable APIs. Every resource and operation is documented here, with a live playground to try requests.
curl https://api.monime.io/v1/checkout-sessions/{id} \
-H "Authorization: Bearer $MONIME_ACCESS_TOKEN" \
-H "Monime-Space-Id: $MONIME_SPACE_ID"Base URLs
The Live and Test APIs operate in two fully separate environments. The token you send selects the environment.
Live
https://api.monime.io with a Live token (prefix mon_).Test
https://api.monime.io with a Test token (prefix mon_test_).Read Personal Access Tokens on how to create Live and Test tokens.
Resources
Core resources
Financial AccountA ledger that holds and tracks money in one currency.Financial TransactionA credit or debit that moves an account's balance.Internal TransferMove funds between accounts in the same Space.WebhookAn endpoint Monime calls when events occur.
Payins
PaymentA customer payment made through Monime.Payment CodeA short-lived code payers enter or scan to pay.Checkout SessionA Monime-hosted payment flow for a set of items.
Payouts and utilities
PayoutDisburse funds to bank accounts and mobile money wallets.ReceiptEntitlements issued when a payment completes.USSD OTPOne-time passcodes for phone-bound verification over USSD.Provider KYCKYC information retrieved from a financial provider.
Standards & Conventions
RESTful Design
The API follows standard HTTP methods:
GET— fetch a single object or list of objectsPOST— create a new object or trigger an actionPATCH— make partial updates to an object (send only what you want to change)DELETE— remove an object
JSON by Default
Unless stated otherwise, requests and responses use JSON.
- Fields are returned with stable, predictable keys
- Moneys are given in minor currency units (e.g., cents for SLE and USD)
- Timestamps are in UTC using RFC 3339 format, e.g.
2025-08-24T06:00:00Z
Usable Status Codes
The API uses standard HTTP status codes:
200— success, i.e., server handled the request.4xx— client errors such as invalid input, or authentication issues.5xx— internal server errors, safe to retry with backoff
OpenAPI Specification
Every release is published as an OpenAPI 3 document, so tools and AI agents can generate clients, mock servers and request checks from it:
/apis/openapi.json— the current release,caph.2025-08-23caph.2025-08-23: JSON · YAMLcaph.2025-06-20: JSON · YAML
Coding agents also work best with the rules for coding agents and the MCP server.