Skip to main content
Migo Docs

API Reference

Migo Payments exposes four REST APIs, each rendered below with Scalar (interactive β€” try endpoints directly from the browser).

Which API do I need?​

APIYou want to…Base URL
Wallet GatewayBuild a wallet or card program β€” issue cards, tokenize, charge, transfer, onboard merchantshttps://api.ali.app/rest
MiddlewareIssue hosted Payment Links, run subscription billing, accept alternative payments, manage fraud suspensionshttps://mw.migopayments.com
CMS BackofficeOperate a partner backoffice β€” manage cardholders, permissions, bulk uploadshttps://api.ali.app/cms/rest
Migo Payments APIMigration gateway (early access) β€” transaction search and health probeshttps://api.migopayments.com

At-a-glance comparison​

APIAudienceAuth methodBase URLLive spec
Wallet GatewayEnd-user apps, partner backendsJWT (Ed25519) β€” Authorization: Bearer <token>; applicationId header on config/integrity endpointshttps://api.ali.app/restOpen Scalar β†’
MiddlewareServer-to-server (merchant backends, processors)JWT β€” Authorization: Bearer <middleware-jwt>https://mw.migopayments.comOpen Scalar β†’
CMS BackofficeAuthorized internal/partner operators onlyJWT (Ed25519) + user session β€” Authorization: Bearer <token> + x-user-tokenhttps://api.ali.app/cms/restOpen Scalar β†’
Migo Payments APIMigration gateway (early access)JWT β€” Authorization: Bearer <token>https://api.migopayments.comOpen Scalar β†’

Detailed dimensions​

DimensionWallet GatewayMiddlewareCMS Backoffice
AudienceEnd-user apps, partner backendsServer-to-serverAuthorized operators only
Auth headersAuthorization (application identity is carried inside the JWT); applicationId header only on config/integrity endpointsAuthorizationAuthorization + x-user-token
Public accessOpen to any Migo customerOpen to any Migo customerRestricted
Domains (illustrative, not exhaustive)Auth, Users, Cards, Card Transfers, Settlements, Terminal Payments, Leads, Businesses, Reports, WebhooksVerifications, Suspensions, Subscriptions, Plans, Transactions, Payments, Cards, Auth, Config, Alternative Payments, WebhooksAuthentication, CMS Users, Partners, Cardholders, Process Requests, Permissions, Modules

Test in the browser​

Each reference renders as a live console β€” pick an endpoint, fill in the required parameters, and send a request. Login once in the "Authentication" block to get a token, then every other endpoint auto-fills the Authorization header.

All references default to production (the first server in each spec). Switch to QA/Sandbox in the server selector dropdown before sending test requests.

OpenAPI specs​

The raw OpenAPI 3.0 JSON is public and downloadable:

Use them to generate typed clients with openapi-typescript, oapi-codegen, or any other OpenAPI code generator.

Postman​

Import any of the OpenAPI specs above into Postman β€” it auto-generates a collection.

Next steps​