{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://artifacts.apis.io/breezecash/json-schema/breezecash-get-offramp-request-response-schema.json",
  "title": "GetOfframpRequestResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/breezecash-offramp-api-openapi.yml#/components/schemas/GetOfframpRequestResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "network": {
      "type": "string",
      "enum": [
        "ETHEREUM",
        "OPTIMISM",
        "BINANCE",
        "POLYGON",
        "ARBITRUM",
        "AVALANCHE",
        "SOLANA",
        "TRON",
        "BASE",
        "BITCOIN"
      ]
    },
    "token": {
      "type": "string"
    },
    "amount": {
      "type": "number"
    },
    "createdAt": {
      "type": "number"
    },
    "updatedAt": {
      "type": "number"
    },
    "email": {
      "type": "string"
    },
    "payByMerchant": {
      "type": "boolean"
    },
    "feePayByMerchant": {
      "type": "boolean"
    },
    "clientReferenceId": {
      "type": "string"
    },
    "successReturnUrl": {
      "type": "string"
    },
    "failReturnUrl": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATED",
        "SUCCEEDED",
        "CANCELED",
        "EXPIRED",
        "PENDING_USER_ONBOARDING",
        "USER_ACCOUNT_ISSUE",
        "PENDING_USER_WITHDRAWAL",
        "REQUIRES_RELEASE",
        "PENDING_DEPOSIT_CRYPTO_USER",
        "PENDING_DEPOSIT_CRYPTO_MERCHANT",
        "IN_PROGRESS",
        "PENDING_MANUAL_INVESTIGATION",
        "REFUNDED",
        "REJECTED"
      ]
    },
    "livemode": {
      "type": "boolean"
    },
    "customerCountry": {
      "type": "string"
    },
    "customerRegion": {
      "type": "string"
    },
    "releaseMethod": {
      "type": "string",
      "enum": [
        "automatic",
        "manual"
      ]
    },
    "refundedAt": {
      "type": "number"
    },
    "receiverBankAccountId": {
      "type": "string"
    },
    "rejectionReason": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "UNDERAGE",
            "UNSUPPORTED_STATE",
            "USER_NAME_MISMATCH",
            "RISKY"
          ]
        },
        {
          "type": "string",
          "enum": [
            "UNSUPPORTED_STATE",
            "UNDERAGE",
            "GENERIC_REJECTION"
          ]
        }
      ]
    }
  },
  "required": [
    "id",
    "url",
    "network",
    "token",
    "amount",
    "createdAt",
    "email",
    "payByMerchant",
    "feePayByMerchant",
    "clientReferenceId",
    "status",
    "livemode",
    "customerCountry",
    "releaseMethod"
  ],
  "definitions": {},
  "deprecated": true
}