M2Square

API Reference Overview

Endpoint groups, conventions, and shared response patterns for the M2Square API.

The M2Square API is organized around payment primitives: balances, quotes, pay-ins, payouts, settlements, webhook endpoints, and events.

Base URLs

EnvironmentURL
Sandboxhttps://sandbox-api.m2square.xyz
Productionhttps://api.m2square.xyz

Resource map

ResourcePurpose
BalancesAvailable and pending stablecoin balances.
QuotesRate locks and fee estimates for corridors.
Pay-insCustomer or counterparty deposits.
PayoutsWallet, bank, or local rail disbursements.
SettlementsStablecoin-to-local delivery flows.
Webhook endpointsEvent destination configuration.
EventsQueryable event history for reconciliation and replay.

Object shape

{
  "id": "set_01JEXAMPLE",
  "object": "settlement",
  "status": "processing",
  "created_at": "2026-06-05T10:00:00Z",
  "metadata": {
    "order_id": "order_1001"
  }
}

Pagination

List endpoints use cursor pagination.

{
  "data": [],
  "next_cursor": "cur_01JEXAMPLE"
}

On this page