{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mastercard/main/json-schema/mastercard-bill-pay-request-schema.json",
  "title": "BillPayRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mastercard-routing-api-openapi.yml#/components/schemas/BillPayRequest",
  "properties": {
    "BillPayAccountValidation": {
      "$ref": "#/$defs/BillPayAccountValidation"
    }
  },
  "$defs": {
    "BillPayAccountValidation": {
      "properties": {
        "RppsId": {
          "type": "string",
          "description": "Originator RPPS ID populated in the message.  The maximum length is 8"
        },
        "BillerId": {
          "description": "Biller ID populated in the message. The maximum length is 10.",
          "type": "string"
        },
        "AccountNumber": {
          "description": "Consumer account number populated in the message.  The minimum length is 8 and the maximum length is 22.",
          "type": "string"
        },
        "TransactionAmount": {
          "description": "Amount populated in the message.",
          "type": "string"
        },
        "CustomerIdentifier1": {
          "description": "Consumer identifier populated in the message.",
          "type": "string"
        },
        "CustomerIdentifier2": {
          "description": "Consumer identifier populated in the message.",
          "type": "string"
        },
        "CustomerIdentifier3": {
          "description": "Consumer identifier populated in the message.",
          "type": "string"
        },
        "CustomerIdentifier4": {
          "description": "Consumer identifier populated in the message.",
          "type": "string"
        },
        "ResponseString": {
          "description": "Indicates if the bill payment transaction information passed all RPPS transaction processing edits for the specified biller ID or indicates errors. The minimum length is 0 and the maximum length is 120.",
          "type": "string"
        }
      }
    }
  }
}