GetMoons API v2 — Documentação

Headers obrigatórios em todas as requisições (Partner + Authorization Bearer)
Headers (obrigatório) application/json
{
  "Partner-X": "SEU_PARTNER_ID",
  "Authorization": "Bearer SEU_TOKEN"
}
Content-Type quando enviar body
{
  "Content-Type": "application/json"
}
Importante: use sempre Partner-X e Authorization: Bearer .... Para POST, envie também Content-Type: application/json.
GET LIMIT CUSTOMER https://getmoons.wsbank.cc/v2/customer/{GMID}
Retorna status do cliente + limite disponível (ex.: ramp on).
Requestpath param
{GMID}
Responseapplication/json
{
  "success": true,
  "data": {
    "status": "enabled",
    "verified": false,
    "blocked": false,
    "limit": {
      "rampon": {
        "available": "5952.43"
      }
    }
  }
}
GET ASSETS LIST https://getmoons.wsbank.cc/v2/assets
Lista ativos disponíveis + permissões (ramp, custody, swap) e template de explorer.
Requestsem body
{}
Responseapplication/json
{
  "success": true,
  "data": [
    {
      "name": "Brazilian Real",
      "asset": "BRL",
      "chain": "FIAT",
      "ramp": { "on": true, "off": true },
      "custody": { "deposit": true, "withdraw": true },
      "swap": { "in": false, "out": false },
      "explorerHash": "",
      "protocol": "FIAT",
      "tag": ""
    },
    {
      "name": "Bitcoin",
      "asset": "BTC",
      "chain": "BSC",
      "ramp": { "on": true, "off": true },
      "custody": { "deposit": true, "withdraw": true },
      "swap": { "in": true, "out": true },
      "explorerHash": "https://bscscan.com/tx/{{txid}}",
      "protocol": "BSC",
      "tag": ""
    },
    {
      "name": "Tether",
      "asset": "USDT",
      "chain": "BSC",
      "ramp": { "on": true, "off": true },
      "custody": { "deposit": true, "withdraw": true },
      "swap": { "in": true, "out": true },
      "explorerHash": "https://bscscan.com/tx/{{txid}}",
      "protocol": "BSC",
      "tag": ""
    }
  ]
}
POST RAMPOFF QUOTE https://getmoons.wsbank.cc/v2/ramp/off/quote
Cotação do ramp off: informa quanto será pago (payout).
Requestapplication/json
{
  "gmid": "",
  "whitelist": false,
  "amount": 50,
  "asset": "USDT",
  "chain": "BSC"
}
Responseapplication/json
{
  "success": true,
  "data": {
    "payout": {
      "amount": "247.57"
    }
  }
}
POST RAMPOFF CREATE https://getmoons.wsbank.cc/v2/ramp/off/create
Cria uma ordem de ramp off e retorna ID + dados de payin/payout.
Requestapplication/json
{
  "amount": 50,
  "asset": "USDT",
  "chain": "BSC",
  "whitelist": false,
  "address": "CHAVE_PIX"
}
Responseapplication/json
{
  "success": true,
  "data": {
    "id": "344b5ac18e42ac53edce363d612bcb4f",
    "gmid": "",
    "whitelist": false,
    "status": "waiting",
    "payin": {
      "amount": 50,
      "asset": "USDT",
      "chain": "BSC",
      "tag": "",
      "address": "ADDRESS",
      "hash": "",
      "receipt": ""
    },
    "payout": {
      "amount": 247.57,
      "asset": "BRL",
      "chain": "FIAT",
      "tag": "",
      "address": "PIXKEY",
      "hash": "",
      "receipt": ""
    },
    "paidAt": "",
    "createdAt": "2026-01-31 04:01:32",
    "updatedAt": "2026-01-31 04:01:32",
    "releaseAt": "",
    "expiresAt": "2026-01-31 06:01:32"
  }
}
GET RAMP OFF STATUS https://getmoons.wsbank.cc/v2/ramp/off/status/{id}
Consulta status da ordem de ramp off pelo ID retornado no create.
Requestpath param
{id}
Responseapplication/json
{
  "success": true,
  "data": {
    "id": "344b5ac18e42ac53edce363d612bcb4f",
    "gmid": "",
    "whitelist": false,
    "status": "completed",
    "payin": {
      "amount": 50,
      "asset": "USDT",
      "chain": "BSC",
      "tag": "",
      "address": "ADDRESS",
      "hash": "HASH",
      "receipt": ""
    },
    "payout": {
      "amount": 247.57,
      "asset": "BRL",
      "chain": "FIAT",
      "tag": "",
      "address": "PIXKEY",
      "hash": "XXXXXXXXX",
      "receipt": "RECEIPT_PDF_LINK"
    },
    "paidAt": "2026-01-31 04:24:07",
    "createdAt": "2026-01-31 04:01:32",
    "updatedAt": "2026-01-31 04:25:04",
    "releaseAt": "",
    "expiresAt": "2026-01-31 06:01:32"
  }
}
POST RAMPON QUOTE https://getmoons.wsbank.cc/v2/ramp/on/quote
Cotação do ramp on: informa quanto será creditado (payout).
Requestapplication/json
{
  "gmid": "",
  "whitelist": false,
  "amount": 200,
  "asset": "USDT",
  "chain": "BSC"
}
Responseapplication/json
{
  "success": true,
  "data": {
    "payout": {
      "amount": 35.678382428254395
    }
  }
}
POST RAMPON CREATE https://getmoons.wsbank.cc/v2/ramp/on/create
Cria uma ordem de ramp on e retorna QR Pix (payin) + payout em cripto.
Requestapplication/json
{
  "gmid": "",
  "whitelist": false,
  "amount": 47.57,
  "asset": "USDT",
  "chain": "BSC",
  "address": "ADDRESS",
  "tag": ""
}
Responseapplication/json
{
  "success": true,
  "data": {
    "id": "44f16360ff1115ce13e415a3c5d725f9",
    "gmid": "",
    "whitelist": false,
    "status": "waiting",
    "payin": {
      "amount": 47.57,
      "asset": "BRL",
      "chain": "FIAT",
      "tag": "",
      "address": "00020101021226860014br.gov.bcb.pix2564qrcode.fitbank.com.br/QR/cob/8B97B38E3A5A15BBD14788CF0C280B7B76E5204000053039865802BR5925PLEBANK.COM.BR SOLUCOES E6007BARUERI61080645400062070503***6304CB61",
      "hash": "",
      "receipt": ""
    },
    "payout": {
      "amount": 8.211433,
      "asset": "USDT",
      "chain": "BSC",
      "tag": "",
      "address": "ADDRESS",
      "hash": "",
      "receipt": ""
    },
    "paidAt": "",
    "createdAt": "2026-01-31 04:30:23",
    "updatedAt": "2026-01-31 04:30:23",
    "releaseAt": "",
    "expiresAt": "2026-01-31 04:50:23"
  }
}
GET RAMPON STATUS https://getmoons.wsbank.cc/v2/ramp/on/status/{id}
Consulta status da ordem de ramp on pelo ID retornado no create.
Requestpath param
{id}
Responseapplication/json
{
  "success": true,
  "data": {
    "id": "44f16360ff1115ce13e415a3c5d725f9",
    "gmid": "GMID496812129910872BR",
    "whitelist": false,
    "status": "completed",
    "payin": {
      "amount": 47.57,
      "asset": "BRL",
      "chain": "FIAT",
      "tag": "",
      "address": "00020101021226860014br.gov.bcb.pix2564qrcode.fitbank.com.br/QR/cob/8B97B38E3A5A15BBD14788CF0C280B7B76E5204000053039865802BR5925PLEBANK.COM.BR SOLUCOES E6007BARUERI61080645400062070503***6304CB61",
      "hash": "",
      "receipt": ""
    },
    "payout": {
      "amount": 8.2114337740179,
      "asset": "USDT",
      "chain": "BSC",
      "tag": "",
      "address": "ADDRESS",
      "hash": "HASH",
      "receipt": ""
    },
    "paidAt": "2026-01-31 04:32:08",
    "createdAt": "2026-01-31 04:30:23",
    "updatedAt": "2026-01-31 04:33:06",
    "releaseAt": "2026-01-31 04:31:10",
    "expiresAt": "2026-01-31 04:50:23"
  }
}