{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/2.SendPaymentsPublicRequest",
  "title": "2.SendPaymentsPublicRequest",
  "required": [
    "paymentSystem",
    "installments",
    "currencyCode",
    "value",
    "installmentsInterestRate",
    "installmentsValue",
    "referenceValue",
    "fields",
    "transaction"
  ],
  "type": "object",
  "description": "Send payments information public request body information.",
  "properties": {
    "paymentSystem": {
      "type": "number",
      "description": "Payment system identification.",
      "example": 17
    },
    "installments": {
      "type": "number",
      "description": "Number of installments.",
      "example": 1
    },
    "currencyCode": {
      "type": "string",
      "description": "Currency code in ISO 4217 standard.",
      "example": "BRL"
    },
    "value": {
      "type": "number",
      "description": "Payment value.",
      "example": 15000
    },
    "installmentsInterestRate": {
      "type": "number",
      "description": "The interest rate.",
      "example": 0
    },
    "installmentsValue": {
      "type": "number",
      "description": "The value of each installment.",
      "example": 0
    },
    "referenceValue": {
      "type": "number",
      "description": "Value amount of the payment without interest applied. This value is the same as the `value` field when `installmentsInterestRate` is `0.0`.",
      "example": 15000
    },
    "fields": {
      "$ref": "#/components/schemas/Fields"
    },
    "transaction": {
      "$ref": "#/components/schemas/Transaction"
    }
  }
}