{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blindpay-com/json-schema/blindpay-com-transfer-out-schema.json",
  "title": "TransferOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blindpay-com-transfers-api-openapi.yml#/components/schemas/TransferOut",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "status": {
      "type": "string",
      "enum": [
        "processing",
        "failed",
        "refunded",
        "completed"
      ],
      "description": "Transfer general status"
    },
    "transfer_quote_id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "instance_id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "tracking_transaction_monitoring": {
      "type": "object",
      "properties": {
        "step": {
          "type": "string",
          "enum": [
            "processing",
            "on_hold",
            "pending_review",
            "pending_refund_review",
            "completed"
          ],
          "description": "Transaction monitoring step"
        },
        "blockchain_screening": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "maximum": 100,
          "description": "Blindpay screening step"
        },
        "risk_score": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "maximum": 100,
          "description": "Risk score"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Transfer transaction completed date"
        }
      },
      "required": [
        "step"
      ]
    },
    "tracking_paymaster": {
      "type": "object",
      "properties": {
        "step": {
          "type": "string",
          "enum": [
            "processing",
            "on_hold",
            "pending_review",
            "pending_refund_review",
            "completed"
          ],
          "description": "Complete step"
        },
        "transaction_hash": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete transaction hash"
        },
        "gas_fee": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gas fee related to transaction"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete completed date"
        },
        "error_message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "step"
      ]
    },
    "tracking_bridge_swap": {
      "type": "object",
      "properties": {
        "step": {
          "type": "string",
          "enum": [
            "processing",
            "on_hold",
            "pending_review",
            "pending_refund_review",
            "completed"
          ],
          "description": "Complete step"
        },
        "transaction_hash": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete transaction hash"
        },
        "gas_fee": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gas fee related to transaction"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete completed date"
        },
        "error_message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "step"
      ]
    },
    "tracking_complete": {
      "type": "object",
      "properties": {
        "step": {
          "type": "string",
          "enum": [
            "processing",
            "on_hold",
            "pending_review",
            "pending_refund_review",
            "completed"
          ],
          "description": "Complete step"
        },
        "transaction_hash": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete transaction hash"
        },
        "gas_fee": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gas fee related to transaction"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete completed date"
        },
        "error_message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "step"
      ]
    },
    "tracking_partner_fee": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "step": {
          "type": "string",
          "enum": [
            "processing",
            "on_hold",
            "pending_review",
            "pending_refund_review",
            "completed"
          ],
          "description": "Complete step"
        },
        "transaction_hash": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete transaction hash"
        },
        "gas_fee": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gas fee related to transaction"
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete completed date"
        },
        "error_message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "step"
      ]
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "first_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "legal_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "wallet_id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "sender_token": {
      "type": "string",
      "enum": [
        "USDC",
        "USDT",
        "USDB",
        "EURC",
        "EURB"
      ],
      "description": "Token debited from the sending wallet. When it differs from customer_token the transfer converts between USDC and EURC (USDB and EURB on development instances) on Base."
    },
    "sender_amount": {
      "type": "number",
      "description": "52.40 BRL needs to be sent in a pix transfer"
    },
    "receiver_amount": {
      "type": "number",
      "description": "10.10 USDC"
    },
    "customer_network": {
      "type": "string",
      "enum": [
        "base",
        "sepolia",
        "arbitrum_sepolia",
        "base_sepolia",
        "arbitrum",
        "polygon",
        "polygon_amoy",
        "ethereum",
        "stellar",
        "stellar_testnet",
        "tron",
        "solana",
        "solana_devnet",
        "tempo",
        "tempo_testnet",
        "arc",
        "arc_testnet"
      ]
    },
    "customer_token": {
      "type": "string",
      "enum": [
        "USDC",
        "USDT",
        "USDB",
        "EURC",
        "EURB"
      ],
      "description": "Token delivered to the customer wallet."
    },
    "customer_wallet_address": {
      "type": "string",
      "minLength": 32,
      "maxLength": 64
    },
    "partner_fee_amount": {
      "type": [
        "number",
        "null"
      ],
      "default": 0,
      "description": "1.5 USDC"
    },
    "partner_percentage_fee": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9900,
      "default": 0,
      "description": "Partner percentage fee charged on this transfer, in hundredths of a percent. 150 represents 1.50%, 1000 represents 10.00%"
    },
    "partner_flat_fee": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000,
      "default": 0,
      "description": "Partner flat fee charged on this transfer, in cents of the sender token. 50 represents 0.50, 1000 represents 10.00"
    },
    "external_id": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    },
    "customer_id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "address": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 64
    },
    "network": {
      "type": "string",
      "enum": [
        "base",
        "sepolia",
        "arbitrum_sepolia",
        "base_sepolia",
        "arbitrum",
        "polygon",
        "polygon_amoy",
        "ethereum",
        "stellar",
        "stellar_testnet",
        "tron",
        "solana",
        "solana_devnet",
        "tempo",
        "tempo_testnet",
        "arc",
        "arc_testnet"
      ]
    }
  },
  "required": [
    "id",
    "status",
    "transfer_quote_id",
    "instance_id",
    "tracking_transaction_monitoring",
    "tracking_paymaster",
    "tracking_bridge_swap",
    "tracking_complete",
    "wallet_id",
    "sender_token",
    "sender_amount",
    "receiver_amount",
    "customer_network",
    "customer_token",
    "customer_wallet_address",
    "customer_id",
    "network"
  ]
}