{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lawpay/main/json-schema/lawpay-get-bank-accounts-bankaccountid-surcharge-response-schema.json",
  "title": "GetBankAccountsBankaccountidSurchargeResponse",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/lawpay-openapi-generated.yml#/components/schemas/GetBankAccountsBankaccountidSurchargeResponse",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of payment method (e.g., card, bank)."
    },
    "surcharge_rate": {
      "type": "integer",
      "description": "Surcharge rate in basis points."
    },
    "surcharge_fee": {
      "type": "integer",
      "description": "Fixed surcharge fee in cents."
    },
    "amount": {
      "type": "integer",
      "description": "The subtotal from which the surcharge was calculated (in cents)."
    },
    "surcharge_amount": {
      "type": "integer",
      "description": "The amount to be surcharged (in cents)."
    },
    "total_amount": {
      "type": "integer",
      "description": "The total amount to be used when running the final charge (in cents)."
    }
  }
}