Docs
ENFR
Dashboard

API reference

The Monerails REST API: base URL, authentication and every endpoint.

The Monerails API is a REST API. It accepts and returns JSON, uses standard HTTP status codes and authenticates with a secret key.

Base URL

text
https://api.monerails.com/v1

Every request goes over HTTPS. The mode (test or live) comes from the key, not the URL.

Authentication

bash
curl https://api.monerails.com/v1/balance \
  -H "Authorization: Bearer mr_test_..."

See Authentication for keys and roles.

Conventions

Topic Rule
Bodies JSON, with Content-Type: application/json. Unknown parameters are rejected.
IDs UUIDs, for example 3b8f6c1e-2a47-4d1b-9e35-7c0a9d2f4e61.
Amounts Integers in minor units (details).
Dates ISO 8601, UTC.
Lists Cursor pagination (details).
POST requests Accept an Idempotency-Key (details).
Errors An error object with type, code, message (details).

The OpenAPI 3.1 file of the API is available here: openapi.json. To try the API without writing code, import the Postman collection; to generate a typed client, see Client libraries.

Endpoints

Balance

Collections

Payouts

Beneficiaries

Settlements

Transactions

Cardholders

Cards

Webhook endpoints

Events

Reference data

Test helpers