{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/paypal-ecommerce-api-billinginfo.json",
  "title": "billingInfo",
  "description": "billingInfo from PayPal eComm API",
  "required": [
    "failedPaymentsCount",
    "outstandingBalance"
  ],
  "type": "object",
  "properties": {
    "outstandingBalance": {
      "$ref": "#/components/schemas/outstandingBalance"
    },
    "cycleExecutions": {
      "$ref": "#/components/schemas/cycleExecutions"
    },
    "lastPayment": {
      "$ref": "#/components/schemas/lastPayment"
    },
    "nextBillingTime": {
      "type": "string"
    },
    "finalPaymentTime": {
      "type": "string"
    },
    "failedPaymentsCount": {
      "type": "number"
    },
    "lastFailedPayment": {
      "$ref": "#/components/schemas/lastFailedPayment"
    }
  }
}