{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/currencycloud/main/json-schema/currencycloud-payment-fee-schema.json",
  "title": "PaymentFee",
  "description": "Payment fee.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/currencycloud-payments-api-openapi.yml#/components/schemas/PaymentFee",
  "type": "object",
  "required": [
    "id",
    "name",
    "currency",
    "regular_amount",
    "priority_shared_amount",
    "priority_ours_amount",
    "owner_account_id"
  ],
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the payment fee."
    },
    "name": {
      "type": "string",
      "description": "Name of the payment fee."
    },
    "currency": {
      "type": "string",
      "description": "The fee currency."
    },
    "regular_amount": {
      "type": "string",
      "description": "The fee regular amount."
    },
    "priority_shared_amount": {
      "type": "string",
      "description": "The fee priority shared amount."
    },
    "priority_ours_amount": {
      "type": "string",
      "description": "The fee priority our amount."
    },
    "owner_account_id": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the owner account."
    }
  }
}