M2Square

Payouts

Send funds to wallets, bank accounts, and supported local payout rails.

Create payout

POST /v1/payouts

curl "$M2_BASE_URL/v1/payouts" \
  -H "Authorization: Bearer $M2_API_KEY" \
  -H "Idempotency-Key: payout-vendor-4401" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "500.00",
    "currency": "USDC",
    "destination": {
      "type": "wallet",
      "network": "ethereum",
      "address": "0x0000000000000000000000000000000000000000"
    },
    "metadata": {
      "vendor_id": "vendor_4401"
    }
  }'

Retrieve payout

GET /v1/payouts/{id}

Destination types

TypeRequired fields
walletnetwork, address
bank_accountcountry, account_holder_name, local account fields
local_railcountry, rail, corridor-specific recipient fields

On this page