Skip to main content
Migo Docs

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.

CountryWallets / pushBank transferQRHosted buttonCash
Guatemalazigiβ€”akisiQR, bancoIndustrial, quickPayQRbamPaymentButtonpronet
El Salvadorβ€”β€”quickPayQRβ€”β€”
Hondurasβ€”β€”quickPayQRβ€”β€”
Costa Ricaβ€”β€”quickPayQRβ€”β€”
ColombianequiglobalPay-PSEβ€”β€”β€”
MΓ©xicoβ€”β€”β€”β€”β€”
RepΓΊblica Dominicanaβ€”Payment Link card flow β†’ azulβ€”β€”β€”

All recipes use the QA / sandbox environment β€” https://sb-mw.migopayments.com for the Middleware. Switch to https://mw.migopayments.com when promoting to production.

How a recipe is structured​

Every page follows the same skeleton β€” see the agent-friendly template for the full breakdown:

  1. Pre-requisites β€” credentials, env, clientConfig flags expected.
  2. Step 1 β€” Set the merchant token (Authorization: Bearer <token>) β€” no login round-trip; see Authentication β†’ Merchant token.
  3. Step 2 β€” Create the transaction and capture paymentMethods.
  4. Step 3 β€” Run the rail-specific flow (with payment-intents first if required).
  5. Step 4 β€” Listen for the webhook and verify its signature.
  6. Sandbox data for that rail (test phones, test coupons, fixture QR).
  7. Common errors (MigoCodeErrors) and how to react.
  8. Done checklist β€” the precise outcomes the agent must confirm.

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.