Pular para o conteúdo principal
curl -X POST https://checkout.noxpay.io/v2/naas/withdraw \
  -H "api-key: <key>" \
  -H "X-Signature: <assinatura-do-corpo>" \
  -H "Content-Type: application/json" \
  -d '{
    "timestamp": "2026-05-19T14:30:00Z",
    "correlation_id": "a1b2c3d4-e5f6-4789-abcd-000000000001",
    "payload": {
      "account": "USDT_ETH",
      "amount": "500.00",
      "wallet": "fb-wallet-abc123",
      "withdrawalType": "crypto",
      "note": "Liquidação mensal"
    }
  }'
import requests

body, sig = sign_envelope({
    "account":        "USDT_ETH",
    "amount":         "500.00",
    "wallet":         "fb-wallet-abc123",
    "withdrawalType": "crypto",
    "note":           "Liquidação mensal",
}, "a1b2c3d4-e5f6-4789-abcd-000000000001")
response = requests.post(
    "https://checkout.noxpay.io/v2/naas/withdraw",
    headers={"api-key": "<key>", "X-Signature": sig, "Content-Type": "application/json"},
    data=body,
)
print(response.json())
const { body, signature } = signEnvelope({
  account:        "USDT_ETH",
  amount:         "500.00",
  wallet:         "fb-wallet-abc123",
  withdrawalType: "crypto",
  note:           "Liquidação mensal",
}, "a1b2c3d4-e5f6-4789-abcd-000000000001");
const response = await fetch("https://checkout.noxpay.io/v2/naas/withdraw", {
  method: "POST",
  headers: { "api-key": "<key>", "X-Signature": signature, "Content-Type": "application/json" },
  body,
});
const data = await response.json();
{ "link": "https://checkout.noxpay.io/e2e/NOXwd123" }
O destino deve estar previamente na whitelist do sub-merchant. Use Listar Grupos de Whitelist para obter o walletId do grupo de destino.

Campos do payload

CampoTipoObrigatórioDescrição
accountstringSimCódigo da moeda/conta a debitar (ex: USDT_ETH)
amountstringSimValor a sacar como string decimal
walletstringSimID do grupo de carteira Fireblocks
withdrawalTypestringSimIdentificador do tipo de processo de saque
notestringNãoNota interna anexada ao processo

Response 200 OK

{ "link": "https://checkout.noxpay.io/e2e/NOXwd123" }
O link aponta para a página do processo de saque.
curl -X POST https://checkout.noxpay.io/v2/naas/withdraw \
  -H "api-key: <key>" \
  -H "X-Signature: <assinatura-do-corpo>" \
  -H "Content-Type: application/json" \
  -d '{
    "timestamp": "2026-05-19T14:30:00Z",
    "correlation_id": "a1b2c3d4-e5f6-4789-abcd-000000000001",
    "payload": {
      "account": "USDT_ETH",
      "amount": "500.00",
      "wallet": "fb-wallet-abc123",
      "withdrawalType": "crypto",
      "note": "Liquidação mensal"
    }
  }'
import requests

body, sig = sign_envelope({
    "account":        "USDT_ETH",
    "amount":         "500.00",
    "wallet":         "fb-wallet-abc123",
    "withdrawalType": "crypto",
    "note":           "Liquidação mensal",
}, "a1b2c3d4-e5f6-4789-abcd-000000000001")
response = requests.post(
    "https://checkout.noxpay.io/v2/naas/withdraw",
    headers={"api-key": "<key>", "X-Signature": sig, "Content-Type": "application/json"},
    data=body,
)
print(response.json())
const { body, signature } = signEnvelope({
  account:        "USDT_ETH",
  amount:         "500.00",
  wallet:         "fb-wallet-abc123",
  withdrawalType: "crypto",
  note:           "Liquidação mensal",
}, "a1b2c3d4-e5f6-4789-abcd-000000000001");
const response = await fetch("https://checkout.noxpay.io/v2/naas/withdraw", {
  method: "POST",
  headers: { "api-key": "<key>", "X-Signature": signature, "Content-Type": "application/json" },
  body,
});
const data = await response.json();
{ "link": "https://checkout.noxpay.io/e2e/NOXwd123" }