Skip to main content
Migo Docs

Environments & Base URLs

Migo exposes a Sandbox (integration/testing) environment and a Production environment. Credentials, webhook endpoints, and Ed25519 keys are not shared across environments β€” request separate credentials for each.

Environment matrix​

EnvironmentPurposeData
Sandbox / QAIntegration development and testingTest data only β€” no real funds
ProductionReal funds, real cardholdersPersistent, PCI-scoped

Base URLs​

Wallet Gateway (ali-api-gw-rest)​

EnvironmentURL
Productionhttps://api.ali.app/rest
QAhttps://ali-qa.ali.app/rest
Localhttp://localhost:3010

Middleware (migo-api)​

EnvironmentURL
Productionhttps://mw.migopayments.com
Sandboxhttps://sb-mw.migopayments.com
Localhttp://localhost:3000

CMS Backoffice (ali-api-cms-rest)​

EnvironmentURL
Productionhttps://api.ali.app/cms/rest
QAhttps://ali-qa.ali.app/cms/rest
Localhttp://localhost:3000

Required headers​

Every request must include:

HeaderValueNotes
AuthorizationBearer <jwt>See Authentication
applicationIdYour application identifierRequired only by the Wallet Gateway config endpoints (GET/PATCH /configs) β€” not by user login or general requests
x-user-tokenCMS user tokenCMS API only
Content-Typeapplication/jsonFor POST / PUT / PATCH

Going from sandbox to production​

Before flipping to production URLs:

  1. Rotate credentials β€” production keys are separate.
  2. Switch your webhook receiver to HTTPS with a valid certificate.
  3. Confirm any IP allowlisting requirements with Migo.
  4. Walk through the Go-live checklist.

Rate limits​

Confirm with Migo

The gateway application code does not enforce request rate limiting itself. If any throttling applies to your integration, it is configured per agreement at the edge β€” confirm the limits that apply to you with Migo before load-testing or running high-volume traffic.

If a limit is breached you may receive 429 Too Many Requests. Exponential backoff is the recommended client behavior.