Guide Overview
Learn the integration path for M2Square stablecoin payment infrastructure.
M2Square connects stablecoin liquidity with local payment methods so platforms can collect, settle, and disburse funds across supported markets.
Integration map
| Phase | What you build | Primary docs |
|---|---|---|
| Sandbox | API keys, test balances, webhook endpoint | Quickstart |
| Money movement | Pay-ins, payouts, settlement flows | Pay-ins & payouts |
| Treasury | Quotes, liquidity locks, reconciliation | Settlements |
| Controls | Identity evidence, transaction review, audit trail | Compliance |
| Launch | Production readiness, monitoring, incident runbooks | Go-live checklist |
Core lifecycle
flowchart LR
A["Create counterparty"] --> B["Create quote"]
B --> C["Create pay-in, payout, or settlement"]
C --> D["Receive signed webhook"]
D --> E["Reconcile ledger"]
E --> F["Monitor in Sentra"]Environments
| Environment | Base URL | Use case |
|---|---|---|
| Sandbox | https://sandbox-api.m2square.xyz | Simulated balances, test webhooks, and non-live settlement flows. |
| Production | https://api.m2square.xyz | Live traffic after KYB approval, corridor configuration, and limit review. |
Recommended order
- Complete Quickstart.
- Implement Authentication and idempotency.
- Choose the money movement flow for your product.
- Add Webhooks before going live.
- Use Sentra for monitoring, review, and reporting.