{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/luniumpay-com/json-schema/luniumpay-com-saque-cripto-carteira-schema.json",
  "title": "SaqueCriptoCarteira",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/luniumpay-com-carteira-usdt-api-openapi.yml#/components/schemas/SaqueCriptoCarteira",
  "type": "object",
  "required": [
    "withdrawal_id",
    "external_id",
    "quote_id",
    "funding_source",
    "amount",
    "asset",
    "network",
    "address",
    "status",
    "final",
    "sandbox"
  ],
  "properties": {
    "funding_source": {
      "type": "string",
      "enum": [
        "crypto_usdt"
      ]
    },
    "amount": {
      "type": "string",
      "pattern": "^\\d+(?:\\.\\d{1,6})?$"
    },
    "asset": {
      "type": "string",
      "enum": [
        "USDT",
        "USDC"
      ]
    },
    "network": {
      "type": "string",
      "enum": [
        "polygon",
        "bsc",
        "tron",
        "eth",
        "arbitrum",
        "optimism",
        "base",
        "avalanche",
        "solana"
      ]
    },
    "address": {
      "type": "string"
    },
    "quote_id": {
      "type": "string",
      "pattern": "^uq_[a-f0-9]{24}$"
    },
    "withdrawal_id": {
      "type": "string"
    },
    "external_id": {
      "type": "string"
    },
    "network_name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "reserved",
        "funding",
        "converting",
        "processing",
        "under_review",
        "completed",
        "failed"
      ]
    },
    "final": {
      "type": "boolean"
    },
    "amount_estimated": {
      "type": "string",
      "pattern": "^\\d+(?:\\.\\d{1,6})?$"
    },
    "minimum_received": {
      "type": "string",
      "pattern": "^\\d+(?:\\.\\d{1,6})?$"
    },
    "amount_received": {
      "type": [
        "string",
        "null"
      ]
    },
    "network_fee": {
      "type": [
        "string",
        "null"
      ]
    },
    "usdt_reserved": {
      "type": "string",
      "pattern": "^\\d+(?:\\.\\d{1,6})?$"
    },
    "usdt_debited": {
      "type": [
        "string",
        "null"
      ]
    },
    "tx_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "sandbox": {
      "type": "boolean"
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "duplicate_prevented": {
      "type": "boolean"
    },
    "requested_external_id": {
      "type": "string"
    }
  }
}