{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blindpay-com/json-schema/blindpay-com-get-fees-out-schema.json",
  "title": "GetFeesOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blindpay-com-fees-api-openapi.yml#/components/schemas/GetFeesOut",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "instance_id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "ach": {
      "$ref": "#/$defs/FeeOptions"
    },
    "domestic_wire": {
      "$ref": "#/$defs/FeeOptions"
    },
    "rtp": {
      "$ref": "#/$defs/FeeOptions"
    },
    "international_swift": {
      "$ref": "#/$defs/FeeOptions"
    },
    "pix": {
      "$ref": "#/$defs/FeeOptions"
    },
    "pix_safe": {
      "$ref": "#/$defs/FeeOptions"
    },
    "ted": {
      "allOf": [
        {
          "$ref": "#/$defs/FeeOptions"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ]
    },
    "ach_colombia": {
      "$ref": "#/$defs/FeeOptions"
    },
    "transfers_3": {
      "$ref": "#/$defs/FeeOptions"
    },
    "spei": {
      "$ref": "#/$defs/FeeOptions"
    },
    "sepa": {
      "$ref": "#/$defs/FeeOptions"
    },
    "faster_payments": {
      "$ref": "#/$defs/FeeOptions"
    },
    "tron": {
      "$ref": "#/$defs/FeeOptions"
    },
    "ethereum": {
      "$ref": "#/$defs/FeeOptions"
    },
    "polygon": {
      "$ref": "#/$defs/FeeOptions"
    },
    "base": {
      "$ref": "#/$defs/FeeOptions"
    },
    "arbitrum": {
      "$ref": "#/$defs/FeeOptions"
    },
    "stellar": {
      "$ref": "#/$defs/FeeOptions"
    },
    "solana": {
      "$ref": "#/$defs/FeeOptions"
    },
    "yield": {
      "$ref": "#/$defs/YieldFee"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "instance_id",
    "ach",
    "domestic_wire",
    "rtp",
    "international_swift",
    "pix",
    "pix_safe",
    "ach_colombia",
    "transfers_3",
    "spei",
    "sepa",
    "faster_payments",
    "tron",
    "ethereum",
    "polygon",
    "base",
    "arbitrum",
    "stellar",
    "solana"
  ],
  "$defs": {
    "FeeOptions": {
      "type": "object",
      "properties": {
        "payin_flat": {
          "type": "integer",
          "description": "Payin flat fee in cents"
        },
        "payin_percentage": {
          "type": "integer",
          "description": "Payin percentage fee in basis points"
        },
        "payout_flat": {
          "type": "integer",
          "description": "Payout flat fee in cents"
        },
        "payout_percentage": {
          "type": "integer",
          "description": "Payout percentage fee in basis points"
        }
      },
      "required": [
        "payin_flat",
        "payin_percentage",
        "payout_flat",
        "payout_percentage"
      ]
    },
    "YieldFee": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "blindpay_share_bps": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000
        },
        "partner_share_bps": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000
        },
        "partner_wallets": {
          "type": "object",
          "properties": {
            "base": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "sepolia": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "arbitrum_sepolia": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "base_sepolia": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "arbitrum": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "polygon": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "polygon_amoy": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "ethereum": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "stellar": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "stellar_testnet": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "tron": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "solana": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "solana_devnet": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "tempo": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "tempo_testnet": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "arc": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "arc_testnet": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            }
          },
          "default": {},
          "description": "EVM address that receives the instance share, per network. A network without an address charges no instance share there."
        }
      },
      "required": [
        "blindpay_share_bps",
        "partner_share_bps"
      ]
    }
  }
}