Integration recipes
Per-country, copy-paste recipes for accepting every payment rail Migo exposes. Each recipe is self-contained β pre-requisites, exact curl, expected response, webhook payload, sandbox data, common errors, and a final checklist β so an integrator (or an agent like Claude Code) can finish the integration without leaving the page.
Country Γ rail matrixβ
The table below covers the alternative-payment rails that have a country recipe and that return a payload on the /api/v1/integrations/.../payments endpoint. It is not an exhaustive processor list β additional processor keys (e.g. zigiQR, bbvaQR, push-payment-gateway) exist for specific clients and are resolved at runtime from each merchant's clientConfig.processors. Click a country to open its full recipe.
| Country | Wallets / push | Bank transfer | QR | Hosted button | Cash |
|---|---|---|---|---|---|
| Guatemala | zigi | β | akisiQR, bancoIndustrial, quickPayQR | bamPaymentButton | pronet |
| El Salvador | β | β | quickPayQR | β | β |
| Honduras | β | β | quickPayQR | β | β |
| Costa Rica | β | β | quickPayQR | β | β |
| Colombia | nequi | globalPay-PSE | β | β | β |
| MΓ©xico | β | β | β | β | β |
| RepΓΊblica Dominicana | β | Payment Link card flow β azul | β | β | β |
All recipes use the QA / sandbox environment β
https://sb-mw.migopayments.comfor the Middleware. Switch tohttps://mw.migopayments.comwhen promoting to production.
How a recipe is structuredβ
Every page follows the same skeleton β see the agent-friendly template for the full breakdown:
- Pre-requisites β credentials, env,
clientConfigflags expected. - Step 1 β Set the merchant token (
Authorization: Bearer <token>) β no login round-trip; see Authentication β Merchant token. - Step 2 β Create the transaction and capture
paymentMethods. - Step 3 β Run the rail-specific flow (with
payment-intentsfirst if required). - Step 4 β Listen for the webhook and verify its signature.
- Sandbox data for that rail (test phones, test coupons, fixture QR).
- Common errors (
MigoCodeErrors) and how to react. - Done checklist β the precise outcomes the agent must confirm.
Quick linksβ
- Authentication β the long-lived merchant token used by the Alternative Payments and Payment Link surfaces.
- Available payment methods β country-filtered rail catalog.
- Error catalog β
MigoCodeErrorsreference. - Live API spec β Migo Middleware (Scalar).
For agents (Claude Code, Cursor, etc.)β
The recipes are deliberately atomic. To integrate QuickPay QR in El Salvador you only need /recipes/el-salvador#quickpay-qr-quickpayqr. To integrate every Colombia rail you only need /recipes/colombia. The matrix above maps every (country, rail) pair to its recipe.
For machine-readable indexes that summarize this catalog without prose, see /llms.txt and /llms-full.txt.