{
  "openapi": "3.0.3",
  "info": {
    "title": "Program",
    "description": "Management of public programs, payment products and policies that determines the system behavior and execution.",
    "version": "2.0.0",
    "contact": {
      "email": "partnership-growth@getbread.com"
    }
  },
  "servers": [
    {
      "url": "https://api-preview.platform.breadpayments.com/",
      "description": "Preview environment"
    },
    {
      "url": "https://api.platform.breadpayments.com/",
      "description": "Production environment"
    }
  ],
  "paths": {
    "/api/program/public/payment-product-configuration": {
      "parameters": [
        {
          "name": "merchantID.eq",
          "in": "query",
          "description": "Merchant ID",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid",
            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
            "externalDocs": {
              "description": "RFC4122",
              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
            }
          },
          "example": "a89d277c-3481-464c-898a-d7709a28c86a"
        },
        {
          "name": "programID.eq",
          "in": "query",
          "required": false,
          "schema": {
            "type": "string",
            "format": "uuid",
            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
            "externalDocs": {
              "description": "RFC4122",
              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
            }
          },
          "example": "a89d277c-3481-464c-898a-d7709a28c86a"
        },
        {
          "description": "API version",
          "in": "header",
          "name": "X-API-VERSION",
          "required": true,
          "schema": {
            "type": "string"
          },
          "example": "v2"
        },
        {
          "in": "query",
          "name": "offset",
          "description": "The number of records to skip before starting to collect the result set. Used in conjunction with limit query parameter for pagination support",
          "required": false,
          "schema": {
            "type": "integer",
            "minimum": 0,
            "default": 0
          },
          "example": 20
        },
        {
          "in": "query",
          "name": "limit",
          "description": "The maximum number of records that will be returned in a result set.",
          "required": false,
          "schema": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "default": 10
          },
          "example": 50
        }
      ],
      "get": {
        "operationId": "getPaymentProductEnrollmentByMerchantID",
        "summary": "Get payment product enrollments by merchant ID",
        "description": "Get payment product enrollments by merchant ID. This is a public endpoint that does not require authentication, but the results are filtered by programID if provided.",
        "tags": [
          "PaymentProductEnrollments"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Public response model for a list of payment product enrollments, with potentially sensitive fields removed",
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "maxItems": 200,
                      "items": {
                        "description": "Public response model for a payment product enrollment, with potentially sensitive fields removed",
                        "type": "object",
                        "properties": {
                          "enrollmentID": {
                            "description": "Unique identifier for a payment product enrollment",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "paymentProductID": {
                            "description": "Unique identifier for the payment product",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "merchantID": {
                            "description": "Unique identifier for a merchant (from the enrollment)",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "programID": {
                            "description": "Unique identifier for a program",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "paymentProductName": {
                            "description": "Human-friendly name of the payment product",
                            "type": "string"
                          },
                          "paymentProductType": {
                            "description": "Type of the payment product",
                            "type": "string"
                          },
                          "paymentFrequency": {
                            "description": "Payment frequency for the product",
                            "type": "string"
                          },
                          "numPayments": {
                            "description": "Number of scheduled payments for the product",
                            "type": "integer",
                            "format": "int32"
                          },
                          "startAt": {
                            "description": "Time when the payment product enrollment becomes active",
                            "nullable": false,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "endAt": {
                            "description": "Time when the payment product enrollment becomes lapsed",
                            "nullable": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "defaultCartAmount": {
                            "description": "Default cart amount for participation",
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "minCartSize": {
                            "description": "Minimum cart size for this enrollment",
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "maxCartSize": {
                            "description": "Maximum cart size for this enrollment",
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "minInterestRateBPS": {
                            "description": "Minimum interest rate in basis points (from enrollment)",
                            "type": "integer",
                            "format": "int32"
                          },
                          "maxInterestRateBPS": {
                            "description": "Maximum interest rate in basis points (from enrollment)",
                            "type": "integer",
                            "format": "int32"
                          },
                          "enrollmentState": {
                            "description": "active or scheduled",
                            "type": "string",
                            "enum": [
                              "ACTIVE",
                              "SCHEDULED"
                            ]
                          },
                          "enrollmentCreatedAt": {
                            "description": "Created at time",
                            "nullable": false,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          }
                        }
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "limit": {
                          "type": "integer",
                          "maximum": 200,
                          "minimum": 10
                        },
                        "offset": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "total": {
                          "type": "integer",
                          "maximum": 200,
                          "minimum": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Default error model for program service errors",
                  "allOf": [
                    {
                      "required": [
                        "code",
                        "domain",
                        "message"
                      ],
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "The underlying http status code",
                          "format": "int32",
                          "example": 500
                        },
                        "message": {
                          "type": "string",
                          "description": "A simple message in english describing the error and can be returned to the consumer",
                          "example": "Age cannot be less than 18"
                        },
                        "domain": {
                          "type": "string",
                          "description": "The domain where the error is originating from as defined by the service",
                          "example": "Payments"
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                          "example": {
                            "propertyName": "propertyName is required"
                          }
                        }
                      }
                    }
                  ],
                  "properties": {
                    "reason": {
                      "type": "string",
                      "description": "Program creation error reason codes",
                      "enum": [
                        "Unauthorized",
                        "Request_Validation",
                        "Internal_Server_Failure",
                        "Dependency_Unavailable"
                      ]
                    }
                  }
                },
                "example": {
                  "code": 400,
                  "message": "Invalid request",
                  "domain": "Program",
                  "metadata": {},
                  "reason": "Request_Validation"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. Indicates that provided credentials is not valid",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Jwt is expired"
                }
              },
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "required": [
                        "code",
                        "domain",
                        "message"
                      ],
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "The underlying http status code",
                          "format": "int32",
                          "example": 500
                        },
                        "message": {
                          "type": "string",
                          "description": "A simple message in english describing the error and can be returned to the consumer",
                          "example": "Age cannot be less than 18"
                        },
                        "domain": {
                          "type": "string",
                          "description": "The domain where the error is originating from as defined by the service",
                          "example": "Payments"
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                          "example": {
                            "propertyName": "propertyName is required"
                          }
                        }
                      }
                    }
                  ],
                  "required": [
                    "code",
                    "domain",
                    "message",
                    "reason"
                  ],
                  "type": "object",
                  "properties": {
                    "reason": {
                      "type": "string",
                      "description": "A reason code specific to the service and can be used to identify the exact issue. Should be unique within a domain",
                      "example": "Reason_Code"
                    }
                  }
                },
                "example": {
                  "code": 401,
                  "domain": "Auth",
                  "message": "Invalid authentication",
                  "reason": "Invalid_Authentication"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. Indicates that request cannot be authorized",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "RBAC: Access Denied"
                }
              },
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "required": [
                        "code",
                        "domain",
                        "message"
                      ],
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "The underlying http status code",
                          "format": "int32",
                          "example": 500
                        },
                        "message": {
                          "type": "string",
                          "description": "A simple message in english describing the error and can be returned to the consumer",
                          "example": "Age cannot be less than 18"
                        },
                        "domain": {
                          "type": "string",
                          "description": "The domain where the error is originating from as defined by the service",
                          "example": "Payments"
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                          "example": {
                            "propertyName": "propertyName is required"
                          }
                        }
                      }
                    }
                  ],
                  "required": [
                    "code",
                    "domain",
                    "message",
                    "reason"
                  ],
                  "type": "object",
                  "properties": {
                    "reason": {
                      "type": "string",
                      "description": "A reason code specific to the service and can be used to identify the exact issue. Should be unique within a domain",
                      "example": "Reason_Code"
                    }
                  }
                },
                "example": {
                  "code": 403,
                  "domain": "Auth",
                  "message": "RBAC: Access Denied",
                  "reason": "Access_Denied"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Default error model for program service errors",
                  "allOf": [
                    {
                      "required": [
                        "code",
                        "domain",
                        "message"
                      ],
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "The underlying http status code",
                          "format": "int32",
                          "example": 500
                        },
                        "message": {
                          "type": "string",
                          "description": "A simple message in english describing the error and can be returned to the consumer",
                          "example": "Age cannot be less than 18"
                        },
                        "domain": {
                          "type": "string",
                          "description": "The domain where the error is originating from as defined by the service",
                          "example": "Payments"
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                          "example": {
                            "propertyName": "propertyName is required"
                          }
                        }
                      }
                    }
                  ],
                  "properties": {
                    "reason": {
                      "type": "string",
                      "description": "Program creation error reason codes",
                      "enum": [
                        "Unauthorized",
                        "Request_Validation",
                        "Internal_Server_Failure",
                        "Dependency_Unavailable"
                      ]
                    }
                  }
                },
                "example": {
                  "code": 409,
                  "message": "Conflict",
                  "domain": "Program",
                  "metadata": {},
                  "reason": "Conflict"
                }
              }
            }
          },
          "410": {
            "description": "Resource gone",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Default error model for program service errors",
                  "allOf": [
                    {
                      "required": [
                        "code",
                        "domain",
                        "message"
                      ],
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "The underlying http status code",
                          "format": "int32",
                          "example": 500
                        },
                        "message": {
                          "type": "string",
                          "description": "A simple message in english describing the error and can be returned to the consumer",
                          "example": "Age cannot be less than 18"
                        },
                        "domain": {
                          "type": "string",
                          "description": "The domain where the error is originating from as defined by the service",
                          "example": "Payments"
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                          "example": {
                            "propertyName": "propertyName is required"
                          }
                        }
                      }
                    }
                  ],
                  "properties": {
                    "reason": {
                      "type": "string",
                      "description": "Program creation error reason codes",
                      "enum": [
                        "Unauthorized",
                        "Request_Validation",
                        "Internal_Server_Failure",
                        "Dependency_Unavailable"
                      ]
                    }
                  }
                },
                "example": {
                  "code": 410,
                  "message": "Resource unavailable",
                  "domain": "Program",
                  "metadata": {},
                  "reason": "Resource_Gone"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuthProgram": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "The JWT access token provided by the Auth service."
      }
    },
    "responses": {
      "401": {
        "description": "Unauthorized. Indicates that provided credentials is not valid",
        "content": {
          "text/plain": {
            "schema": {
              "type": "string",
              "example": "Jwt is expired"
            }
          },
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "required": [
                "code",
                "domain",
                "message",
                "reason"
              ],
              "type": "object",
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "A reason code specific to the service and can be used to identify the exact issue. Should be unique within a domain",
                  "example": "Reason_Code"
                }
              }
            },
            "example": {
              "code": 401,
              "domain": "Auth",
              "message": "Invalid authentication",
              "reason": "Invalid_Authentication"
            }
          }
        }
      },
      "403": {
        "description": "Forbidden. Indicates that request cannot be authorized",
        "content": {
          "text/plain": {
            "schema": {
              "type": "string",
              "example": "RBAC: Access Denied"
            }
          },
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "required": [
                "code",
                "domain",
                "message",
                "reason"
              ],
              "type": "object",
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "A reason code specific to the service and can be used to identify the exact issue. Should be unique within a domain",
                  "example": "Reason_Code"
                }
              }
            },
            "example": {
              "code": 403,
              "domain": "Auth",
              "message": "RBAC: Access Denied",
              "reason": "Access_Denied"
            }
          }
        }
      },
      "410": {
        "description": "Record no longer available",
        "content": {
          "text/plain": {
            "schema": {
              "type": "string",
              "example": "Gone"
            }
          },
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "required": [
                "code",
                "domain",
                "message",
                "reason"
              ],
              "type": "object",
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "A reason code specific to the service and can be used to identify the exact issue. Should be unique within a domain",
                  "example": "Reason_Code"
                }
              }
            },
            "example": {
              "code": 410,
              "domain": "Cart",
              "message": "Gone",
              "reason": "Gone"
            }
          }
        }
      },
      "DefaultError": {
        "description": "Default error response for any errors in the API",
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "currency",
                "value"
              ],
              "properties": {
                "currency": {
                  "type": "string",
                  "description": "The three letter currency code as defined in ISO 4217.",
                  "example": "USD",
                  "minLength": 3,
                  "maxLength": 3,
                  "externalDocs": {
                    "description": "ISO 4217",
                    "url": "https://en.wikipedia.org/wiki/ISO_4217"
                  }
                },
                "value": {
                  "type": "integer",
                  "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                  "format": "int64",
                  "example": 100
                }
              },
              "description": "Represents a monetary amount in the specified currency",
              "example": {
                "currency": "USD",
                "value": 50000
              }
            }
          }
        }
      },
      "MerchantPaymentProducts": {
        "description": "An array of payment products and associated merchant values for a merchant.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "merchantPaymentProducts": {
                  "type": "array",
                  "maxItems": 200,
                  "items": {
                    "description": "A merchant payment product contains the payment product values specific to the merchant.",
                    "type": "object",
                    "properties": {
                      "paymentProduct": {
                        "allOf": [
                          {
                            "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                            "type": "object",
                            "required": [
                              "id",
                              "programID",
                              "type",
                              "name",
                              "description",
                              "numPayments",
                              "paymentFrequency",
                              "minInterestRateBPS",
                              "maxInterestRateBPS",
                              "paymentMethodTypes",
                              "autopayRequired",
                              "requiredDownPaymentBPS",
                              "legalAgreements",
                              "policies",
                              "workflowIDs",
                              "createdAt"
                            ],
                            "properties": {
                              "id": {
                                "description": "Unique identifier for a payment product.",
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                    "externalDocs": {
                                      "description": "RFC4122",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                    }
                                  }
                                ]
                              },
                              "programID": {
                                "description": "Unique identifier for a program.",
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                    "externalDocs": {
                                      "description": "RFC4122",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                    }
                                  }
                                ]
                              },
                              "type": {
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "description": "The type of payment product",
                                    "enum": [
                                      "INSTALLMENTS",
                                      "SPLITPAY",
                                      "DEBT_CONSOLIDATION",
                                      "PERSONAL_LOAN",
                                      "HYBRID_LINE_OF_CREDIT",
                                      "DEFERRED_INTEREST_INSTALLMENTS"
                                    ],
                                    "example": "INSTALLMENTS"
                                  }
                                ]
                              },
                              "name": {
                                "description": "Name of payment product, human-readable",
                                "nullable": false,
                                "type": "string"
                              },
                              "description": {
                                "description": "Description of this payment product, human-readable",
                                "nullable": false,
                                "type": "string"
                              },
                              "numPayments": {
                                "description": "Number of expected payments",
                                "nullable": false,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "paymentFrequency": {
                                "description": "Frequency of expected payments expressed according to ISO 8601",
                                "nullable": false,
                                "format": "duration",
                                "type": "string"
                              },
                              "minInterestRateBPS": {
                                "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "maxInterestRateBPS": {
                                "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "paymentMethodTypes": {
                                "description": "Payment method types that this payment product will accept",
                                "nullable": false,
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "autopayRequired": {
                                "description": "Whether autopay is required for this payment product",
                                "nullable": false,
                                "type": "boolean"
                              },
                              "requiredDownPaymentBPS": {
                                "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "legalAgreements": {
                                "description": "Legal agreements associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "policies": {
                                "description": "Policies associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "workflowIDs": {
                                "description": "Workflows associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "createdAt": {
                                "description": "Time when this payment product was created",
                                "nullable": false,
                                "readOnly": true,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "date-time",
                                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                    "example": "2020-12-31T15:10:55Z",
                                    "externalDocs": {
                                      "description": "RFC3339",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                    }
                                  }
                                ]
                              },
                              "deletedAt": {
                                "description": "Time when this payment product was deleted",
                                "nullable": true,
                                "readOnly": true,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "date-time",
                                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                    "example": "2020-12-31T15:10:55Z",
                                    "externalDocs": {
                                      "description": "RFC3339",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                    }
                                  }
                                ]
                              },
                              "version": {
                                "description": "Payment Product version 1 or 2. Code will default to 1.",
                                "default": 1,
                                "type": "number"
                              },
                              "deferredPromoPeriod": {
                                "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                                "nullable": false,
                                "format": "duration",
                                "type": "string"
                              }
                            }
                          }
                        ]
                      },
                      "merchantValues": {
                        "description": "Merchant-payment product values contain values specific to a merchant-payment product relationship.",
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Unique identifier for a merchant payment product value.",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "merchantID": {
                            "description": "Unique identifier for a merchant.",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "paymentProductID": {
                            "description": "Unique identifier for a payment product.",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "discountRateBPS": {
                            "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                            "nullable": false,
                            "allOf": [
                              {
                                "type": "integer",
                                "description": "A value which represents one-hundredth of one percent.",
                                "minimum": 0,
                                "example": 500,
                                "externalDocs": {
                                  "description": "BasisPoint",
                                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                }
                              }
                            ]
                          },
                          "transactionFee": {
                            "description": "The transaction fee.",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "minCartSize": {
                            "description": "The minimum cart size.",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "maxCartSize": {
                            "description": "The maximum cart size.",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "pendingTxExpiration": {
                            "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "authorizedTxExpiration": {
                            "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "allowPartialSettlement": {
                            "description": "Whether or partially settled transactions are allowed.",
                            "nullable": false,
                            "type": "boolean"
                          },
                          "partialSettlementTxExpiration": {
                            "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "creditScoreThreshold": {
                            "description": "minimum credit score a customer needs to see the payment product",
                            "type": "number",
                            "nullable": true
                          },
                          "downPaymentTransactionFee": {
                            "description": "down payment transaction fee",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "preauthAmount": {
                            "description": "The preauth amount",
                            "nullable": true,
                            "type": "integer"
                          },
                          "overflowDiscountRateBPS": {
                            "description": "overflow discount rate",
                            "allOf": [
                              {
                                "type": "integer",
                                "description": "A value which represents one-hundredth of one percent.",
                                "minimum": 0,
                                "example": 500,
                                "externalDocs": {
                                  "description": "BasisPoint",
                                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                }
                              }
                            ]
                          },
                          "policies": {
                            "description": "Policies associated with the merchant's payment product",
                            "nullable": false,
                            "format": "application/json",
                            "type": "object"
                          },
                          "createdAt": {
                            "description": "Time when the merchant's payment product was created",
                            "nullable": false,
                            "readOnly": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "deletedAt": {
                            "description": "Time when the merchant's payment product was deleted",
                            "nullable": true,
                            "readOnly": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": {
              "merchantPaymentProducts": [
                {
                  "paymentProduct": {
                    "id": "d60f3fa5-8ad6-4a22-ade9-e835e24b5d00",
                    "programID": "af0b5374-3464-487d-b8e0-73ff16252d93",
                    "type": "INSTALLMENTS",
                    "name": "12 Month - 0% APR",
                    "description": "12 Month - 0% APR",
                    "numPayments": 12,
                    "paymentFrequency": "P1M",
                    "minInterestRateBPS": 0,
                    "maxInterestRateBPS": 0,
                    "paymentMethodTypes": [
                      "ACH"
                    ],
                    "autopayRequired": false,
                    "requiredDownPaymentBPS": 0,
                    "legalAgreements": {},
                    "policies": {},
                    "workflowIDs": {},
                    "createdAt": "2022-01-24T13:53:40.364467Z",
                    "deletedAt": null,
                    "overflowEnabled": false,
                    "extendedAttributes": {},
                    "version": 1
                  },
                  "merchantValues": {
                    "id": "a1b66bff-29a4-4c6c-b338-2994c3805c57",
                    "creditScoreThreshold": 799,
                    "downPaymentTransactionFee": {
                      "currency": "USD",
                      "value": 100
                    },
                    "merchantID": "a523feec-c0e1-4f88-bdw3-c242a2d3e723",
                    "paymentProductID": "d60f3fa5-8ad6-4a22-ade9-e835e24b5d00",
                    "discountRateBPS": 600,
                    "transactionFee": {
                      "currency": "USD",
                      "value": 0
                    },
                    "minCartSize": {
                      "currency": "USD",
                      "value": 100000
                    },
                    "maxCartSize": {
                      "currency": "USD",
                      "value": 1500000
                    },
                    "pendingTxExpiration": "P7D",
                    "authorizedTxExpiration": "P90D",
                    "allowPartialSettlement": true,
                    "partialSettlementTxExpiration": "P14D",
                    "preauthAmount": 25,
                    "policies": {},
                    "createdAt": "2021-04-24T13:53:40.364467Z",
                    "deletedAt": null
                  }
                }
              ]
            }
          }
        }
      },
      "MerchantProgramValuesResponse": {
        "description": "Merchant-program values",
        "content": {
          "application/json": {
            "schema": {
              "description": "Array of merchant program values, along with pagination metadata",
              "type": "object",
              "properties": {
                "items": {
                  "description": "Array of MerchantProgramValues",
                  "type": "array",
                  "items": {
                    "description": "Merchant-program values contain information from a merchant that is tied to a program the merchant participates in.",
                    "type": "object",
                    "properties": {
                      "id": {
                        "description": "Unique identifier for a set of merchant-program values.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "merchantID": {
                        "description": "Unique identifier for a merchant.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "programID": {
                        "description": "Unique identifier for a program.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "defaultOTPMethod": {
                        "description": "Default One Time Password (OTP) delivery method.",
                        "enum": [
                          "EMAIL",
                          "SMS"
                        ],
                        "nullable": false,
                        "type": "string"
                      },
                      "applicationExpiration": {
                        "description": "application expiration",
                        "nullable": true,
                        "type": "string"
                      },
                      "defaultCartAmount": {
                        "description": "Default cart amount",
                        "nullable": false,
                        "allOf": [
                          {
                            "required": [
                              "currency",
                              "value"
                            ],
                            "properties": {
                              "currency": {
                                "type": "string",
                                "description": "The three letter currency code as defined in ISO 4217.",
                                "example": "USD",
                                "minLength": 3,
                                "maxLength": 3,
                                "externalDocs": {
                                  "description": "ISO 4217",
                                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                }
                              },
                              "value": {
                                "type": "integer",
                                "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                "format": "int64",
                                "example": 100
                              }
                            },
                            "description": "Represents a monetary amount in the specified currency",
                            "example": {
                              "currency": "USD",
                              "value": 50000
                            }
                          }
                        ]
                      },
                      "policies": {
                        "description": "Policies associated with this merchant-program.",
                        "nullable": false,
                        "format": "application/json",
                        "type": "object"
                      },
                      "capabilities": {
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "object",
                            "properties": {
                              "downPayment": {
                                "type": "object",
                                "properties": {
                                  "installments": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "installments"
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "virtualCard": {
                        "description": "Virtual Card JSON data",
                        "nullable": false,
                        "format": "application/json",
                        "type": "object"
                      },
                      "tofProcessors": {
                        "description": "Top of Funnel.",
                        "type": "string",
                        "nullable": false
                      },
                      "createdAt": {
                        "description": "Time these values were created",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "deletedAt": {
                        "description": "Time these values were deleted",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            },
            "example": {
              "items": [
                {
                  "id": "c39459ed-1eb2-40f3-b43b-754c64fa5166",
                  "merchantID": "0306dbd5-1025-4d44-b739-1d87eefd9c7c",
                  "programID": "162d5a6f-851a-412a-9871-9f29a40408b4",
                  "defaultOTPMethod": "SMS",
                  "applicationExpiration": "P7D",
                  "defaultCartAmount": {
                    "value": 200,
                    "currency": "USD"
                  },
                  "policies": {
                    "virtualCardSettings": {
                      "enabled": false,
                      "provider": ""
                    }
                  },
                  "capabilities": [],
                  "virtualCard": {},
                  "tofProcessors": "KYC,FRAUD,SANCTIONS",
                  "createdAt": "2006-01-02T15:04:05Z",
                  "deletedAt": "2006-01-02T15:04:05Z"
                }
              ],
              "pagination": {
                "limit": 10,
                "offset": 1,
                "total": 10
              }
            }
          }
        }
      },
      "PartnerProgramValuesResponse": {
        "description": "Partner-program values",
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "description": "Partner-program values contain information from a partner that is tied to a program the partner participates in.",
                    "type": "object",
                    "properties": {
                      "id": {
                        "description": "Unique identifier for a set of partner-program values.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "partnerID": {
                        "description": "Unique identifier for a partner.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "programID": {
                        "description": "Unique identifier for a program.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "createdAt": {
                        "description": "Time these values were created",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "deletedAt": {
                        "description": "Time these values were deleted",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            },
            "example": {
              "items": [
                {
                  "id": "c39459ed-1eb2-40f3-b43b-754c64fa5166",
                  "merchantID": "0306dbd5-1025-4d44-b739-1d87eefd9c7c",
                  "programID": "162d5a6f-851a-412a-9871-9f29a40408b4",
                  "createdAt": "2006-01-02T15:04:05Z",
                  "deletedAt": "2006-01-02T15:04:05Z"
                }
              ],
              "pagination": {
                "limit": 10,
                "offset": 1,
                "total": 10
              }
            }
          }
        }
      },
      "NoContentResponse": {
        "x-internal": true,
        "description": "A response with empty body",
        "content": {}
      },
      "ProgramErrorResponse": {
        "description": "Error response for program",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 400,
              "message": "Invalid request",
              "domain": "Program",
              "metadata": {},
              "reason": "Request_Validation"
            }
          }
        }
      },
      "ProgramErrorBadRequest": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 400,
              "message": "Invalid request",
              "domain": "Program",
              "metadata": {},
              "reason": "Request_Validation"
            }
          }
        }
      },
      "ProgramErrorNotFound": {
        "description": "Not found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 404,
              "message": "Not found",
              "domain": "Program",
              "metadata": {},
              "reason": "Not_Found"
            }
          }
        }
      },
      "ProgramErrorConflict": {
        "description": "Conflict",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 409,
              "message": "Conflict",
              "domain": "Program",
              "metadata": {},
              "reason": "Conflict"
            }
          }
        }
      },
      "ProgramErrorResourceGone": {
        "description": "Resource gone",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 410,
              "message": "Resource unavailable",
              "domain": "Program",
              "metadata": {},
              "reason": "Resource_Gone"
            }
          }
        }
      },
      "ProgramErrorInternalError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 500,
              "message": "Internal server failure",
              "domain": "Program",
              "metadata": {},
              "reason": "Internal_Server_Failure"
            }
          }
        }
      },
      "ProgramErrorNotImplemented": {
        "description": "Not implemented error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for program service errors",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creation error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 501,
              "message": "Not implemented",
              "domain": "Program",
              "metadata": {},
              "reason": "Not_Implemented"
            }
          }
        }
      },
      "ProgramPaymentProducts": {
        "description": "Array of payment products for a program, along with pagination metadata.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "maxItems": 200,
                  "items": {
                    "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                    "type": "object",
                    "required": [
                      "id",
                      "programID",
                      "type",
                      "name",
                      "description",
                      "numPayments",
                      "paymentFrequency",
                      "minInterestRateBPS",
                      "maxInterestRateBPS",
                      "paymentMethodTypes",
                      "autopayRequired",
                      "requiredDownPaymentBPS",
                      "legalAgreements",
                      "policies",
                      "workflowIDs",
                      "createdAt"
                    ],
                    "properties": {
                      "id": {
                        "description": "Unique identifier for a payment product.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "programID": {
                        "description": "Unique identifier for a program.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "type": {
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "string",
                            "description": "The type of payment product",
                            "enum": [
                              "INSTALLMENTS",
                              "SPLITPAY",
                              "DEBT_CONSOLIDATION",
                              "PERSONAL_LOAN",
                              "HYBRID_LINE_OF_CREDIT",
                              "DEFERRED_INTEREST_INSTALLMENTS"
                            ],
                            "example": "INSTALLMENTS"
                          }
                        ]
                      },
                      "name": {
                        "description": "Name of payment product, human-readable",
                        "nullable": false,
                        "type": "string"
                      },
                      "description": {
                        "description": "Description of this payment product, human-readable",
                        "nullable": false,
                        "type": "string"
                      },
                      "numPayments": {
                        "description": "Number of expected payments",
                        "nullable": false,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "paymentFrequency": {
                        "description": "Frequency of expected payments expressed according to ISO 8601",
                        "nullable": false,
                        "format": "duration",
                        "type": "string"
                      },
                      "minInterestRateBPS": {
                        "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "integer",
                            "description": "A value which represents one-hundredth of one percent.",
                            "minimum": 0,
                            "example": 500,
                            "externalDocs": {
                              "description": "BasisPoint",
                              "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                            }
                          }
                        ]
                      },
                      "maxInterestRateBPS": {
                        "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "integer",
                            "description": "A value which represents one-hundredth of one percent.",
                            "minimum": 0,
                            "example": 500,
                            "externalDocs": {
                              "description": "BasisPoint",
                              "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                            }
                          }
                        ]
                      },
                      "paymentMethodTypes": {
                        "description": "Payment method types that this payment product will accept",
                        "nullable": false,
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "autopayRequired": {
                        "description": "Whether autopay is required for this payment product",
                        "nullable": false,
                        "type": "boolean"
                      },
                      "requiredDownPaymentBPS": {
                        "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "integer",
                            "description": "A value which represents one-hundredth of one percent.",
                            "minimum": 0,
                            "example": 500,
                            "externalDocs": {
                              "description": "BasisPoint",
                              "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                            }
                          }
                        ]
                      },
                      "legalAgreements": {
                        "description": "Legal agreements associated with this payment product",
                        "nullable": false,
                        "format": "application/json",
                        "type": "object"
                      },
                      "policies": {
                        "description": "Policies associated with this payment product",
                        "nullable": false,
                        "format": "application/json",
                        "type": "object"
                      },
                      "workflowIDs": {
                        "description": "Workflows associated with this payment product",
                        "nullable": false,
                        "format": "application/json",
                        "type": "object"
                      },
                      "createdAt": {
                        "description": "Time when this payment product was created",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "deletedAt": {
                        "description": "Time when this payment product was deleted",
                        "nullable": true,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "version": {
                        "description": "Payment Product version 1 or 2. Code will default to 1.",
                        "default": 1,
                        "type": "number"
                      },
                      "deferredPromoPeriod": {
                        "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                        "nullable": false,
                        "format": "duration",
                        "type": "string"
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 1
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            },
            "example": {
              "items": [
                {
                  "id": "b3f175ef-6199-400d-b944-dd64de0bba12",
                  "programID": "6bb6001a-f498-4abd-8a45-11596cc234de",
                  "type": "SPLITPAY",
                  "name": "Test Payment Product",
                  "description": "This is a test payment product",
                  "numPayments": 6,
                  "paymentFrequency": "P30D",
                  "minInterestRateBPS": 100,
                  "maxInterestRateBPS": 3000,
                  "paymentMethodTypes": [
                    "ACH",
                    "DEBIT"
                  ],
                  "autopayRequired": true,
                  "requiredDownPaymentBPS": 1000,
                  "legalAgreements": {},
                  "policies": {},
                  "workflowIDs": {},
                  "createdAt": "2006-01-02T15:04:05Z",
                  "deletedAt": null,
                  "extendedAttributes": {
                    "attributes": [
                      "REQUIRES_BALLOON_PAYMENT"
                    ]
                  },
                  "version": 1,
                  "drawPeriod": "P81D"
                }
              ],
              "pagination": {
                "limit": 10,
                "offset": 1,
                "total": 11
              }
            }
          }
        }
      },
      "PaymentProductAggregationResponse": {
        "description": "Array of aggregations for a specific program and term",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "aggregations": {
                  "type": "array",
                  "items": {
                    "description": "An aggregation contains aggregated count of a term indicated by the key",
                    "properties": {
                      "key": {
                        "description": "The aggregated key.",
                        "type": "string"
                      },
                      "count": {
                        "description": "The aggregated count matching the key.",
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            },
            "example": {
              "aggregations": [
                {
                  "key": "INSTALLMENTS",
                  "count": 15
                },
                {
                  "key": "SPLITPAY",
                  "count": 1
                }
              ]
            }
          }
        }
      },
      "Program": {
        "description": "Program",
        "content": {
          "application/json": {
            "schema": {
              "description": "A program contains a reference to a tenant and details of a program they offer.",
              "type": "object",
              "required": [
                "tenantID",
                "name",
                "channel",
                "currency",
                "defaultLanguage",
                "displayInterestRateBPS"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "tenantID": {
                  "description": "Unique identifier for a tenant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "name": {
                  "description": "Program name, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "channel": {
                  "description": "The intended sales channel for the program",
                  "type": "string",
                  "default": "ECOMM"
                },
                "checkoutMode": {
                  "description": "A Virtual Card setting that describes the checkout mode. Optional",
                  "enum": [
                    "UNSET",
                    "VirtualCard",
                    "PointOfSale"
                  ]
                },
                "currency": {
                  "description": "Currency used by this program.",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The three letter currency code as defined in ISO 4217.",
                      "example": "USD",
                      "minLength": 3,
                      "maxLength": 3,
                      "externalDocs": {
                        "description": "ISO 4217",
                        "url": "https://en.wikipedia.org/wiki/ISO_4217"
                      }
                    }
                  ]
                },
                "defaultLanguage": {
                  "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                      "minLength": 2,
                      "example": "en or en-US",
                      "externalDocs": {
                        "description": "ISO 639-1",
                        "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                      }
                    }
                  ]
                },
                "displayInterestRateBPS": {
                  "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "programGroup": {
                  "description": "Program Group name",
                  "type": "string"
                },
                "checkoutChannel": {
                  "description": "Checkout Channel name",
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this program was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this program was deleted",
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            },
            "example": {
              "id": "08c6965a-b494-48e2-bf04-291eb9f28899",
              "tenantID": "15aceddf-69cb-4e0b-8d65-de0a6dc242bb",
              "name": "Test Program",
              "channel": "INSTORE",
              "currency": "USD",
              "defaultLanguage": "en-us",
              "displayInterestRateBPS": 200,
              "policies": {},
              "createdAt": "2006-01-02T15:04:05Z",
              "deletedAt": null
            }
          }
        }
      },
      "ProgramsResponse": {
        "description": "Array of programs",
        "content": {
          "application/json": {
            "schema": {
              "description": "Array of programs, along with pagination metadata",
              "type": "object",
              "properties": {
                "items": {
                  "description": "Array of programs",
                  "type": "array",
                  "items": {
                    "description": "A program contains a reference to a tenant and details of a program they offer.",
                    "type": "object",
                    "required": [
                      "tenantID",
                      "name",
                      "channel",
                      "currency",
                      "defaultLanguage",
                      "displayInterestRateBPS"
                    ],
                    "properties": {
                      "id": {
                        "description": "Unique identifier for a program.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "tenantID": {
                        "description": "Unique identifier for a tenant.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "name": {
                        "description": "Program name, human-readable",
                        "nullable": false,
                        "type": "string"
                      },
                      "channel": {
                        "description": "The intended sales channel for the program",
                        "type": "string",
                        "default": "ECOMM"
                      },
                      "checkoutMode": {
                        "description": "A Virtual Card setting that describes the checkout mode. Optional",
                        "enum": [
                          "UNSET",
                          "VirtualCard",
                          "PointOfSale"
                        ]
                      },
                      "currency": {
                        "description": "Currency used by this program.",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "string",
                            "description": "The three letter currency code as defined in ISO 4217.",
                            "example": "USD",
                            "minLength": 3,
                            "maxLength": 3,
                            "externalDocs": {
                              "description": "ISO 4217",
                              "url": "https://en.wikipedia.org/wiki/ISO_4217"
                            }
                          }
                        ]
                      },
                      "defaultLanguage": {
                        "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "string",
                            "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                            "minLength": 2,
                            "example": "en or en-US",
                            "externalDocs": {
                              "description": "ISO 639-1",
                              "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                            }
                          }
                        ]
                      },
                      "displayInterestRateBPS": {
                        "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "integer",
                            "description": "A value which represents one-hundredth of one percent.",
                            "minimum": 0,
                            "example": 500,
                            "externalDocs": {
                              "description": "BasisPoint",
                              "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                            }
                          }
                        ]
                      },
                      "capabilities": {
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "object",
                            "properties": {
                              "downPayment": {
                                "type": "object",
                                "properties": {
                                  "installments": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "installments"
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "programGroup": {
                        "description": "Program Group name",
                        "type": "string"
                      },
                      "checkoutChannel": {
                        "description": "Checkout Channel name",
                        "type": "string"
                      },
                      "createdAt": {
                        "description": "Time when this program was created",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "deletedAt": {
                        "description": "Time when this program was deleted",
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            },
            "example": {
              "items": [
                {
                  "id": "08c6965a-b494-48e2-bf04-291eb9f28899",
                  "tenantID": "15aceddf-69cb-4e0b-8d65-de0a6dc242bb",
                  "name": "Test Program",
                  "channel": "ECOMM",
                  "checkoutMode": "VirtualCard",
                  "currency": "USD",
                  "defaultLanguage": "en-us",
                  "displayInterestRateBPS": 200,
                  "policies": {},
                  "programGroup": "group name",
                  "checkoutChannel": "channel name",
                  "createdAt": "2006-01-02T15:04:05Z",
                  "deletedAt": null
                }
              ],
              "pagination": {
                "limit": 10,
                "offset": 1,
                "total": 10
              }
            }
          }
        }
      },
      "ExperienceKey": {
        "description": "Set of experience keys",
        "content": {
          "application/json": {
            "schema": {
              "description": "An experience key provides convenient access to a unique set of identifiers that are used together.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Experience ID (UUID)",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "appID": {
                  "description": "Associated appID used by auth.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "externalID": {
                  "description": "External ID: An example of an external id is the merchant id in the ADS system",
                  "nullable": true,
                  "type": "string"
                },
                "locationID": {
                  "description": "A unique identifier for an in-store location.",
                  "nullable": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "locationShortCode": {
                  "description": "A compact string uniquely associated with a locationID.",
                  "nullable": true,
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this experience was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this experience was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "updatedAt": {
                  "description": "Time when this experience was updated",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            },
            "example": {
              "id": "8a04fb19-3d8f-4b30-9b30-2f8796c9eb34",
              "programID": "b7beac2e-2714-4d1d-b110-72e405b41c34",
              "merchantID": "0020fa5a-f107-4ba7-b7f0-d869ea0eed07",
              "appID": "9132d63e-78fd-4ee4-bde2-68583a4657b8",
              "externalID": "",
              "locationID": "36b14c5f-a451-4973-8604-4904337a58cf",
              "locationShortCode": "G1HDXY",
              "createdAt": "2022-01-25T16:39:01.241686Z",
              "deletedAt": null,
              "updatedAt": "2022-01-25T16:39:01.241686Z"
            }
          }
        }
      },
      "ExperienceKeys": {
        "description": "Array of experience keys",
        "content": {
          "application/json": {
            "schema": {
              "description": "An object containing an array of experience keys",
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "description": "An experience key provides convenient access to a unique set of identifiers that are used together.",
                    "type": "object",
                    "properties": {
                      "id": {
                        "description": "Experience ID (UUID)",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "programID": {
                        "description": "Unique identifier for a program.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "merchantID": {
                        "description": "Unique identifier for a merchant.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "appID": {
                        "description": "Associated appID used by auth.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "externalID": {
                        "description": "External ID: An example of an external id is the merchant id in the ADS system",
                        "nullable": true,
                        "type": "string"
                      },
                      "locationID": {
                        "description": "A unique identifier for an in-store location.",
                        "nullable": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "locationShortCode": {
                        "description": "A compact string uniquely associated with a locationID.",
                        "nullable": true,
                        "type": "string"
                      },
                      "createdAt": {
                        "description": "Time when this experience was created",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "deletedAt": {
                        "description": "Time when this experience was deleted",
                        "nullable": true,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "updatedAt": {
                        "description": "Time when this experience was updated",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            },
            "example": {
              "items": [
                {
                  "id": "8a04fb19-3d8f-4b30-9b30-2f8796c9eb34",
                  "programID": "b7beac2e-2714-4d1d-b110-72e405b41c34",
                  "merchantID": "0020fa5a-f107-4ba7-b7f0-d869ea0eed07",
                  "appID": "9132d63e-78fd-4ee4-bde2-68583a4657b8",
                  "externalID": "",
                  "locationID": "36b14c5f-a451-4973-8604-4904337a58cf",
                  "locationShortCode": "G1HDXY",
                  "createdAt": "2022-01-25T16:39:01.241686Z",
                  "deletedAt": null,
                  "updatedAt": "2022-01-25T16:39:01.241686Z"
                }
              ],
              "pagination": {
                "limit": 10,
                "offset": 0,
                "total": 1
              }
            }
          }
        }
      },
      "ExperienceErrorResponse": {
        "description": "Error response for experience",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "description": "Default error model for errors related to experience keys",
              "allOf": [
                {
                  "required": [
                    "code",
                    "domain",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "The underlying http status code",
                      "format": "int32",
                      "example": 500
                    },
                    "message": {
                      "type": "string",
                      "description": "A simple message in english describing the error and can be returned to the consumer",
                      "example": "Age cannot be less than 18"
                    },
                    "domain": {
                      "type": "string",
                      "description": "The domain where the error is originating from as defined by the service",
                      "example": "Payments"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                      "example": {
                        "propertyName": "propertyName is required"
                      }
                    }
                  }
                }
              ],
              "properties": {
                "reason": {
                  "type": "string",
                  "description": "Program creating error reason codes",
                  "enum": [
                    "Unauthorized",
                    "Request_Validation",
                    "Not_Found",
                    "Internal_Server_Failure",
                    "Dependency_Unavailable"
                  ]
                }
              }
            },
            "example": {
              "code": 400,
              "message": "Invalid request",
              "domain": "Program",
              "metadata": {},
              "reason": "Request_Validation"
            }
          }
        }
      },
      "ProgramV2Response": {
        "description": "Program",
        "content": {
          "application/json": {
            "schema": {
              "description": "A program contains a reference to a tenant and details of a program they offer.",
              "type": "object",
              "required": [
                "id",
                "tenantID",
                "name",
                "channel",
                "currency",
                "defaultLanguage",
                "displayInterestRateBPS",
                "capabilities",
                "createdAt"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "tenantID": {
                  "description": "Unique identifier for a tenant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "name": {
                  "description": "Program name, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "channel": {
                  "description": "The intended sales channel for the program",
                  "type": "string",
                  "default": "ECOMM"
                },
                "checkoutMode": {
                  "description": "A Virtual Card setting that describes the checkout mode. Optional",
                  "enum": [
                    "UNSET",
                    "VirtualCard",
                    "PointOfSale"
                  ]
                },
                "currency": {
                  "description": "Currency used by this program.",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The three letter currency code as defined in ISO 4217.",
                      "example": "USD",
                      "minLength": 3,
                      "maxLength": 3,
                      "externalDocs": {
                        "description": "ISO 4217",
                        "url": "https://en.wikipedia.org/wiki/ISO_4217"
                      }
                    }
                  ]
                },
                "defaultLanguage": {
                  "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                      "minLength": 2,
                      "example": "en or en-US",
                      "externalDocs": {
                        "description": "ISO 639-1",
                        "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                      }
                    }
                  ]
                },
                "displayInterestRateBPS": {
                  "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "programGroup": {
                  "description": "Program Group name",
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this program was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this program was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            },
            "example": {
              "id": "d60f3fa5-8ad6-4a22-ade9-e835e24b5d00",
              "programID": "af0b5374-3464-487d-b8e0-73ff16252d93",
              "type": "INSTALLMENTS",
              "name": "12 Month - 0% APR",
              "description": "12 Month - 0% APR",
              "numPayments": 12,
              "paymentFrequency": "P1M",
              "minInterestRateBPS": 0,
              "maxInterestRateBPS": 0,
              "paymentMethodTypes": [
                "ACH"
              ],
              "autopayRequired": false,
              "requiredDownPaymentBPS": 0,
              "legalAgreements": {},
              "workflowIDs": {},
              "createdAt": "2022-01-24T13:53:40.364467Z",
              "deletedAt": null,
              "overflowEnabled": false,
              "extendedAttributes": {}
            }
          }
        }
      },
      "PaymentProduct": {
        "description": "Payment product",
        "content": {
          "application/json": {
            "schema": {
              "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
              "type": "object",
              "required": [
                "id",
                "programID",
                "type",
                "name",
                "description",
                "numPayments",
                "paymentFrequency",
                "minInterestRateBPS",
                "maxInterestRateBPS",
                "paymentMethodTypes",
                "autopayRequired",
                "requiredDownPaymentBPS",
                "legalAgreements",
                "policies",
                "workflowIDs",
                "createdAt"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a payment product.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "type": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The type of payment product",
                      "enum": [
                        "INSTALLMENTS",
                        "SPLITPAY",
                        "DEBT_CONSOLIDATION",
                        "PERSONAL_LOAN",
                        "HYBRID_LINE_OF_CREDIT",
                        "DEFERRED_INTEREST_INSTALLMENTS"
                      ],
                      "example": "INSTALLMENTS"
                    }
                  ]
                },
                "name": {
                  "description": "Name of payment product, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "description": {
                  "description": "Description of this payment product, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "numPayments": {
                  "description": "Number of expected payments",
                  "nullable": false,
                  "minimum": 1,
                  "type": "integer"
                },
                "paymentFrequency": {
                  "description": "Frequency of expected payments expressed according to ISO 8601",
                  "nullable": false,
                  "format": "duration",
                  "type": "string"
                },
                "minInterestRateBPS": {
                  "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "maxInterestRateBPS": {
                  "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "paymentMethodTypes": {
                  "description": "Payment method types that this payment product will accept",
                  "nullable": false,
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "autopayRequired": {
                  "description": "Whether autopay is required for this payment product",
                  "nullable": false,
                  "type": "boolean"
                },
                "requiredDownPaymentBPS": {
                  "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "legalAgreements": {
                  "description": "Legal agreements associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "policies": {
                  "description": "Policies associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "workflowIDs": {
                  "description": "Workflows associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "createdAt": {
                  "description": "Time when this payment product was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this payment product was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "version": {
                  "description": "Payment Product version 1 or 2. Code will default to 1.",
                  "default": 1,
                  "type": "number"
                },
                "deferredPromoPeriod": {
                  "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                  "nullable": false,
                  "format": "duration",
                  "type": "string"
                }
              }
            },
            "example": {
              "id": "b3f175ef-6199-400d-b944-dd64de0bba12",
              "programID": "6bb6001a-f498-4abd-8a45-11596cc234de",
              "type": "SPLITPAY",
              "name": "Test Payment Product",
              "description": "This is a test payment product",
              "numPayments": 6,
              "paymentFrequency": "P30D",
              "minInterestRateBPS": 100,
              "maxInterestRateBPS": 3000,
              "paymentMethodTypes": [
                "ACH",
                "DEBIT"
              ],
              "autopayRequired": true,
              "requiredDownPaymentBPS": 1000,
              "legalAgreements": {},
              "policies": {},
              "workflowIDs": {},
              "createdAt": "2006-01-02T15:04:05Z",
              "deletedAt": null,
              "extendedAttributes": {
                "attributes": [
                  "REQUIRES_BALLOON_PAYMENT"
                ]
              },
              "version": 1
            }
          }
        }
      },
      "PaymentProductWithoutPolicesResponse": {
        "description": "Program",
        "content": {
          "application/json": {
            "schema": {
              "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
              "type": "object",
              "required": [
                "id",
                "programID",
                "type",
                "name",
                "description",
                "numPayments",
                "paymentFrequency",
                "minInterestRateBPS",
                "maxInterestRateBPS",
                "paymentMethodTypes",
                "autopayRequired",
                "requiredDownPaymentBPS",
                "legalAgreements",
                "policies",
                "workflowIDs",
                "createdAt"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a payment product.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "type": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The type of payment product",
                      "enum": [
                        "INSTALLMENTS",
                        "SPLITPAY",
                        "DEBT_CONSOLIDATION",
                        "PERSONAL_LOAN",
                        "HYBRID_LINE_OF_CREDIT",
                        "DEFERRED_INTEREST_INSTALLMENTS"
                      ],
                      "example": "INSTALLMENTS"
                    }
                  ]
                },
                "name": {
                  "description": "Name of payment product, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "description": {
                  "description": "Description of this payment product, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "numPayments": {
                  "description": "Number of expected payments",
                  "nullable": false,
                  "minimum": 1,
                  "type": "integer"
                },
                "paymentFrequency": {
                  "description": "Frequency of expected payments expressed according to ISO 8601",
                  "nullable": false,
                  "format": "duration",
                  "type": "string"
                },
                "minInterestRateBPS": {
                  "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "maxInterestRateBPS": {
                  "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "paymentMethodTypes": {
                  "description": "Payment method types that this payment product will accept",
                  "nullable": false,
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "autopayRequired": {
                  "description": "Whether autopay is required for this payment product",
                  "nullable": false,
                  "type": "boolean"
                },
                "requiredDownPaymentBPS": {
                  "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "legalAgreements": {
                  "description": "Legal agreements associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "workflowIDs": {
                  "description": "Workflows associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "createdAt": {
                  "description": "Time when this payment product was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this payment product was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deferredPromoPeriod": {
                  "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                  "nullable": false,
                  "format": "duration",
                  "type": "string"
                }
              }
            },
            "example": {
              "id": "b3f175ef-6199-400d-b944-dd64de0bba12",
              "programID": "6bb6001a-f498-4abd-8a45-11596cc234de",
              "type": "SPLITPAY",
              "name": "Test Payment Product",
              "description": "This is a test payment product",
              "numPayments": 6,
              "paymentFrequency": "P30D",
              "minInterestRateBPS": 100,
              "maxInterestRateBPS": 3000,
              "paymentMethodTypes": [
                "ACH",
                "DEBIT"
              ],
              "autopayRequired": true,
              "requiredDownPaymentBPS": 1000,
              "legalAgreements": {},
              "workflowIDs": {},
              "createdAt": "2006-01-02T15:04:05Z",
              "deletedAt": null,
              "extendedAttributes": {
                "attributes": [
                  "REQUIRES_BALLOON_PAYMENT"
                ]
              },
              "drawPeriod": "P81D"
            }
          }
        }
      },
      "MerchantExperience": {
        "description": "Set of experience values",
        "content": {
          "application/json": {
            "schema": {
              "description": "A merchant experience provides convenient access to a unique set of identifiers that are used together.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Experience ID (UUID)",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "appID": {
                  "description": "Associated appID used by auth.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "externalID": {
                  "description": "External ID: An example of an external id is the merchant id in the ADS system",
                  "nullable": true,
                  "type": "string"
                },
                "locationID": {
                  "description": "A unique identifier for an in-store location.",
                  "nullable": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "locationShortCode": {
                  "description": "A compact string uniquely associated with a locationID.",
                  "nullable": true,
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this experience was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this experience was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "updatedAt": {
                  "description": "Time when this experience was updated",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            },
            "example": {
              "id": "8a04fb19-3d8f-4b30-9b30-2f8796c9eb34",
              "programID": "b7beac2e-2714-4d1d-b110-72e405b41c34",
              "merchantID": "0020fa5a-f107-4ba7-b7f0-d869ea0eed07",
              "appID": "9132d63e-78fd-4ee4-bde2-68583a4657b8",
              "externalID": "",
              "locationID": "36b14c5f-a451-4973-8604-4904337a58cf",
              "locationShortCode": "G1HDXY",
              "createdAt": "2022-01-25T16:39:01.241686Z",
              "deletedAt": null,
              "updatedAt": "2022-01-25T16:39:01.241686Z"
            }
          }
        }
      },
      "MerchantProgramParticipation": {
        "description": "Merchant program participation",
        "content": {
          "application/json": {
            "schema": {
              "description": "Merchant program participation contain information from a merchant that is tied to a program the merchant participates in.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Unique identifier for a set of merchant program participation.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "defaultOTPMethod": {
                  "description": "Default One Time Password (OTP) delivery method.",
                  "enum": [
                    "EMAIL",
                    "SMS"
                  ],
                  "nullable": false,
                  "type": "string"
                },
                "applicationExpiration": {
                  "description": "application expiration",
                  "nullable": true,
                  "type": "string"
                },
                "allowRescission": {
                  "description": "if allow the rescission",
                  "nullable": true,
                  "type": "boolean"
                },
                "defaultCartAmount": {
                  "description": "Default cart amount",
                  "nullable": false,
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "virtualCard": {
                  "description": "Virtual card JSON data",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "tofProcessors": {
                  "description": "Top of Funnel.",
                  "type": "string",
                  "nullable": false
                },
                "createdAt": {
                  "description": "Time these values were created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time these values were deleted",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "MerchantProgramParticipations": {
        "description": "Array of merchant program participations",
        "content": {
          "application/json": {
            "schema": {
              "description": "Array of merchant program participation values, along with pagination metadata",
              "type": "object",
              "properties": {
                "items": {
                  "description": "Array of MerchantProgramParticipation",
                  "type": "array",
                  "items": {
                    "description": "Merchant program participation contain information from a merchant that is tied to a program the merchant participates in.",
                    "type": "object",
                    "properties": {
                      "id": {
                        "description": "Unique identifier for a set of merchant program participation.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "merchantID": {
                        "description": "Unique identifier for a merchant.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "programID": {
                        "description": "Unique identifier for a program.",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "defaultOTPMethod": {
                        "description": "Default One Time Password (OTP) delivery method.",
                        "enum": [
                          "EMAIL",
                          "SMS"
                        ],
                        "nullable": false,
                        "type": "string"
                      },
                      "applicationExpiration": {
                        "description": "application expiration",
                        "nullable": true,
                        "type": "string"
                      },
                      "allowRescission": {
                        "description": "if allow the rescission",
                        "nullable": true,
                        "type": "boolean"
                      },
                      "defaultCartAmount": {
                        "description": "Default cart amount",
                        "nullable": false,
                        "allOf": [
                          {
                            "required": [
                              "currency",
                              "value"
                            ],
                            "properties": {
                              "currency": {
                                "type": "string",
                                "description": "The three letter currency code as defined in ISO 4217.",
                                "example": "USD",
                                "minLength": 3,
                                "maxLength": 3,
                                "externalDocs": {
                                  "description": "ISO 4217",
                                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                }
                              },
                              "value": {
                                "type": "integer",
                                "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                "format": "int64",
                                "example": 100
                              }
                            },
                            "description": "Represents a monetary amount in the specified currency",
                            "example": {
                              "currency": "USD",
                              "value": 50000
                            }
                          }
                        ]
                      },
                      "capabilities": {
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "object",
                            "properties": {
                              "downPayment": {
                                "type": "object",
                                "properties": {
                                  "installments": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "installments"
                                ]
                              }
                            }
                          }
                        ]
                      },
                      "virtualCard": {
                        "description": "Virtual card JSON data",
                        "nullable": false,
                        "format": "application/json",
                        "type": "object"
                      },
                      "tofProcessors": {
                        "description": "Top of Funnel.",
                        "type": "string",
                        "nullable": false
                      },
                      "createdAt": {
                        "description": "Time these values were created",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "deletedAt": {
                        "description": "Time these values were deleted",
                        "nullable": false,
                        "readOnly": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            },
            "example": {
              "items": [
                {
                  "id": "c39459ed-1eb2-40f3-b43b-754c64fa5166",
                  "merchantID": "0306dbd5-1025-4d44-b739-1d87eefd9c7c",
                  "programID": "162d5a6f-851a-412a-9871-9f29a40408b4",
                  "defaultOTPMethod": "SMS",
                  "applicationExpiration": "P7D",
                  "defaultCartAmount": {
                    "value": 200,
                    "currency": "USD"
                  },
                  "virtualCard": {},
                  "allowRescission": false,
                  "tofProcessors": "KYC,FRAUD,SANCTIONS",
                  "createdAt": "2006-01-02T15:04:05Z",
                  "deletedAt": "2006-01-02T15:04:05Z"
                }
              ],
              "pagination": {
                "limit": 10,
                "offset": 1,
                "total": 10
              }
            }
          }
        }
      },
      "PartnerProgramParticipation": {
        "description": "Partner program participation",
        "content": {
          "application/json": {
            "schema": {
              "description": "Partner program participation contains information from a partner that is tied to a program the partner participates in.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Unique identifier for partner program participation.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "partnerID": {
                  "description": "Unique identifier for a partner.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "createdAt": {
                  "description": "Time these values were created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time these values were deleted",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "GetPaymentProductEnrollmentResponse": {
        "description": "Get Payment product enrollment",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "allOf": [
                      {
                        "description": "Payment Product Enrollment Model",
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Unique identifier for a payment product enrollment",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "merchantID": {
                            "description": "Unique identifier for a merchant",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "paymentProductID": {
                            "description": "Unique identifier for a payment product",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "programID": {
                            "description": "Unique identifier for a program",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "discountRateBPS": {
                            "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                            "nullable": false,
                            "allOf": [
                              {
                                "type": "integer",
                                "description": "A value which represents one-hundredth of one percent.",
                                "minimum": 0,
                                "example": 500,
                                "externalDocs": {
                                  "description": "BasisPoint",
                                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                }
                              }
                            ]
                          },
                          "transactionFee": {
                            "description": "The transaction fee",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "minCartSize": {
                            "description": "The minimum cart size",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "maxCartSize": {
                            "description": "The maximum cart size",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "pendingTxExpiration": {
                            "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "authorizedTxExpiration": {
                            "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "allowPartialSettlement": {
                            "description": "Whether or partially settled transactions are allowed",
                            "nullable": false,
                            "type": "boolean"
                          },
                          "partialSettlementTxExpiration": {
                            "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "creditScoreThreshold": {
                            "description": "minimum credit score a customer needs to see the payment product enrollment",
                            "type": "number",
                            "nullable": true
                          },
                          "downPaymentTransactionFee": {
                            "description": "down payment transaction fee",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "preauthAmount": {
                            "description": "The preauth amount",
                            "nullable": true,
                            "type": "integer"
                          },
                          "downPaymentDiscountRateBPS": {
                            "description": "overflow discount rate",
                            "allOf": [
                              {
                                "type": "integer",
                                "description": "A value which represents one-hundredth of one percent.",
                                "minimum": 0,
                                "example": 500,
                                "externalDocs": {
                                  "description": "BasisPoint",
                                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                }
                              }
                            ]
                          },
                          "policies": {
                            "description": "Policies associated with the merchant's payment product enrollment",
                            "nullable": false,
                            "format": "application/json",
                            "type": "object"
                          },
                          "promotional": {
                            "description": "Used for legal compliance to show different or \"promotional\" language to the buyer",
                            "nullable": false,
                            "type": "boolean"
                          },
                          "createdAt": {
                            "description": "Time when the payment product enrollment was created",
                            "nullable": false,
                            "readOnly": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "startAt": {
                            "description": "Time when the payment product enrollment becomes active",
                            "nullable": false,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "endAt": {
                            "description": "Time when the payment product enrollment becomes lapsed",
                            "nullable": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "deletedAt": {
                            "description": "Time when the payment product enrollment was deleted",
                            "nullable": true,
                            "readOnly": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "CreateUpdatePaymentProductEnrollmentResponse": {
        "description": "Patch Payment product enrollment response",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "allOf": [
                {
                  "description": "Payment Product Enrollment Model",
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Unique identifier for a payment product enrollment",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantID": {
                      "description": "Unique identifier for a merchant",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "paymentProductID": {
                      "description": "Unique identifier for a payment product",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "programID": {
                      "description": "Unique identifier for a program",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "discountRateBPS": {
                      "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "transactionFee": {
                      "description": "The transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "minCartSize": {
                      "description": "The minimum cart size",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "maxCartSize": {
                      "description": "The maximum cart size",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "pendingTxExpiration": {
                      "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "authorizedTxExpiration": {
                      "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "allowPartialSettlement": {
                      "description": "Whether or partially settled transactions are allowed",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "partialSettlementTxExpiration": {
                      "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "creditScoreThreshold": {
                      "description": "minimum credit score a customer needs to see the payment product enrollment",
                      "type": "number",
                      "nullable": true
                    },
                    "downPaymentTransactionFee": {
                      "description": "down payment transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "preauthAmount": {
                      "description": "The preauth amount",
                      "nullable": true,
                      "type": "integer"
                    },
                    "downPaymentDiscountRateBPS": {
                      "description": "overflow discount rate",
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "policies": {
                      "description": "Policies associated with the merchant's payment product enrollment",
                      "nullable": false,
                      "format": "application/json",
                      "type": "object"
                    },
                    "promotional": {
                      "description": "Used for legal compliance to show different or \"promotional\" language to the buyer",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "createdAt": {
                      "description": "Time when the payment product enrollment was created",
                      "nullable": false,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "startAt": {
                      "description": "Time when the payment product enrollment becomes active",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "endAt": {
                      "description": "Time when the payment product enrollment becomes lapsed",
                      "nullable": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "deletedAt": {
                      "description": "Time when the payment product enrollment was deleted",
                      "nullable": true,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "PaymentProductConfiguration": {
        "description": "Payment product configuration",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "paymentProduct": {
                        "type": "object",
                        "allOf": [
                          {
                            "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                            "type": "object",
                            "required": [
                              "id",
                              "programID",
                              "type",
                              "name",
                              "description",
                              "numPayments",
                              "paymentFrequency",
                              "minInterestRateBPS",
                              "maxInterestRateBPS",
                              "paymentMethodTypes",
                              "autopayRequired",
                              "requiredDownPaymentBPS",
                              "legalAgreements",
                              "policies",
                              "workflowIDs",
                              "createdAt"
                            ],
                            "properties": {
                              "id": {
                                "description": "Unique identifier for a payment product.",
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                    "externalDocs": {
                                      "description": "RFC4122",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                    }
                                  }
                                ]
                              },
                              "programID": {
                                "description": "Unique identifier for a program.",
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                    "externalDocs": {
                                      "description": "RFC4122",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                    }
                                  }
                                ]
                              },
                              "type": {
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "description": "The type of payment product",
                                    "enum": [
                                      "INSTALLMENTS",
                                      "SPLITPAY",
                                      "DEBT_CONSOLIDATION",
                                      "PERSONAL_LOAN",
                                      "HYBRID_LINE_OF_CREDIT",
                                      "DEFERRED_INTEREST_INSTALLMENTS"
                                    ],
                                    "example": "INSTALLMENTS"
                                  }
                                ]
                              },
                              "name": {
                                "description": "Name of payment product, human-readable",
                                "nullable": false,
                                "type": "string"
                              },
                              "description": {
                                "description": "Description of this payment product, human-readable",
                                "nullable": false,
                                "type": "string"
                              },
                              "numPayments": {
                                "description": "Number of expected payments",
                                "nullable": false,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "paymentFrequency": {
                                "description": "Frequency of expected payments expressed according to ISO 8601",
                                "nullable": false,
                                "format": "duration",
                                "type": "string"
                              },
                              "minInterestRateBPS": {
                                "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "maxInterestRateBPS": {
                                "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "paymentMethodTypes": {
                                "description": "Payment method types that this payment product will accept",
                                "nullable": false,
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "autopayRequired": {
                                "description": "Whether autopay is required for this payment product",
                                "nullable": false,
                                "type": "boolean"
                              },
                              "requiredDownPaymentBPS": {
                                "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "legalAgreements": {
                                "description": "Legal agreements associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "policies": {
                                "description": "Policies associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "workflowIDs": {
                                "description": "Workflows associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "createdAt": {
                                "description": "Time when this payment product was created",
                                "nullable": false,
                                "readOnly": true,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "date-time",
                                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                    "example": "2020-12-31T15:10:55Z",
                                    "externalDocs": {
                                      "description": "RFC3339",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                    }
                                  }
                                ]
                              },
                              "deletedAt": {
                                "description": "Time when this payment product was deleted",
                                "nullable": true,
                                "readOnly": true,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "date-time",
                                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                    "example": "2020-12-31T15:10:55Z",
                                    "externalDocs": {
                                      "description": "RFC3339",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                    }
                                  }
                                ]
                              },
                              "version": {
                                "description": "Payment Product version 1 or 2. Code will default to 1.",
                                "default": 1,
                                "type": "number"
                              },
                              "deferredPromoPeriod": {
                                "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                                "nullable": false,
                                "format": "duration",
                                "type": "string"
                              }
                            }
                          }
                        ]
                      },
                      "enrollments": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "allOf": [
                            {
                              "description": "Payment Product Enrollment Model",
                              "type": "object",
                              "properties": {
                                "id": {
                                  "description": "Unique identifier for a payment product enrollment",
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid",
                                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                      "externalDocs": {
                                        "description": "RFC4122",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                      }
                                    }
                                  ]
                                },
                                "merchantID": {
                                  "description": "Unique identifier for a merchant",
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid",
                                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                      "externalDocs": {
                                        "description": "RFC4122",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                      }
                                    }
                                  ]
                                },
                                "paymentProductID": {
                                  "description": "Unique identifier for a payment product",
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid",
                                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                      "externalDocs": {
                                        "description": "RFC4122",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                      }
                                    }
                                  ]
                                },
                                "programID": {
                                  "description": "Unique identifier for a program",
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "uuid",
                                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                      "externalDocs": {
                                        "description": "RFC4122",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                      }
                                    }
                                  ]
                                },
                                "discountRateBPS": {
                                  "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                                  "nullable": false,
                                  "allOf": [
                                    {
                                      "type": "integer",
                                      "description": "A value which represents one-hundredth of one percent.",
                                      "minimum": 0,
                                      "example": 500,
                                      "externalDocs": {
                                        "description": "BasisPoint",
                                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                      }
                                    }
                                  ]
                                },
                                "transactionFee": {
                                  "description": "The transaction fee",
                                  "nullable": false,
                                  "allOf": [
                                    {
                                      "required": [
                                        "currency",
                                        "value"
                                      ],
                                      "properties": {
                                        "currency": {
                                          "type": "string",
                                          "description": "The three letter currency code as defined in ISO 4217.",
                                          "example": "USD",
                                          "minLength": 3,
                                          "maxLength": 3,
                                          "externalDocs": {
                                            "description": "ISO 4217",
                                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                          }
                                        },
                                        "value": {
                                          "type": "integer",
                                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                          "format": "int64",
                                          "example": 100
                                        }
                                      },
                                      "description": "Represents a monetary amount in the specified currency",
                                      "example": {
                                        "currency": "USD",
                                        "value": 50000
                                      }
                                    }
                                  ]
                                },
                                "minCartSize": {
                                  "description": "The minimum cart size",
                                  "nullable": false,
                                  "allOf": [
                                    {
                                      "required": [
                                        "currency",
                                        "value"
                                      ],
                                      "properties": {
                                        "currency": {
                                          "type": "string",
                                          "description": "The three letter currency code as defined in ISO 4217.",
                                          "example": "USD",
                                          "minLength": 3,
                                          "maxLength": 3,
                                          "externalDocs": {
                                            "description": "ISO 4217",
                                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                          }
                                        },
                                        "value": {
                                          "type": "integer",
                                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                          "format": "int64",
                                          "example": 100
                                        }
                                      },
                                      "description": "Represents a monetary amount in the specified currency",
                                      "example": {
                                        "currency": "USD",
                                        "value": 50000
                                      }
                                    }
                                  ]
                                },
                                "maxCartSize": {
                                  "description": "The maximum cart size",
                                  "nullable": false,
                                  "allOf": [
                                    {
                                      "required": [
                                        "currency",
                                        "value"
                                      ],
                                      "properties": {
                                        "currency": {
                                          "type": "string",
                                          "description": "The three letter currency code as defined in ISO 4217.",
                                          "example": "USD",
                                          "minLength": 3,
                                          "maxLength": 3,
                                          "externalDocs": {
                                            "description": "ISO 4217",
                                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                          }
                                        },
                                        "value": {
                                          "type": "integer",
                                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                          "format": "int64",
                                          "example": 100
                                        }
                                      },
                                      "description": "Represents a monetary amount in the specified currency",
                                      "example": {
                                        "currency": "USD",
                                        "value": 50000
                                      }
                                    }
                                  ]
                                },
                                "pendingTxExpiration": {
                                  "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                                  "format": "duration",
                                  "nullable": false,
                                  "type": "string"
                                },
                                "authorizedTxExpiration": {
                                  "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                                  "format": "duration",
                                  "nullable": false,
                                  "type": "string"
                                },
                                "allowPartialSettlement": {
                                  "description": "Whether or partially settled transactions are allowed",
                                  "nullable": false,
                                  "type": "boolean"
                                },
                                "partialSettlementTxExpiration": {
                                  "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                                  "format": "duration",
                                  "nullable": false,
                                  "type": "string"
                                },
                                "creditScoreThreshold": {
                                  "description": "minimum credit score a customer needs to see the payment product enrollment",
                                  "type": "number",
                                  "nullable": true
                                },
                                "downPaymentTransactionFee": {
                                  "description": "down payment transaction fee",
                                  "nullable": false,
                                  "allOf": [
                                    {
                                      "required": [
                                        "currency",
                                        "value"
                                      ],
                                      "properties": {
                                        "currency": {
                                          "type": "string",
                                          "description": "The three letter currency code as defined in ISO 4217.",
                                          "example": "USD",
                                          "minLength": 3,
                                          "maxLength": 3,
                                          "externalDocs": {
                                            "description": "ISO 4217",
                                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                          }
                                        },
                                        "value": {
                                          "type": "integer",
                                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                          "format": "int64",
                                          "example": 100
                                        }
                                      },
                                      "description": "Represents a monetary amount in the specified currency",
                                      "example": {
                                        "currency": "USD",
                                        "value": 50000
                                      }
                                    }
                                  ]
                                },
                                "preauthAmount": {
                                  "description": "The preauth amount",
                                  "nullable": true,
                                  "type": "integer"
                                },
                                "downPaymentDiscountRateBPS": {
                                  "description": "overflow discount rate",
                                  "allOf": [
                                    {
                                      "type": "integer",
                                      "description": "A value which represents one-hundredth of one percent.",
                                      "minimum": 0,
                                      "example": 500,
                                      "externalDocs": {
                                        "description": "BasisPoint",
                                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                      }
                                    }
                                  ]
                                },
                                "policies": {
                                  "description": "Policies associated with the merchant's payment product enrollment",
                                  "nullable": false,
                                  "format": "application/json",
                                  "type": "object"
                                },
                                "promotional": {
                                  "description": "Used for legal compliance to show different or \"promotional\" language to the buyer",
                                  "nullable": false,
                                  "type": "boolean"
                                },
                                "createdAt": {
                                  "description": "Time when the payment product enrollment was created",
                                  "nullable": false,
                                  "readOnly": true,
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                      "example": "2020-12-31T15:10:55Z",
                                      "externalDocs": {
                                        "description": "RFC3339",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                      }
                                    }
                                  ]
                                },
                                "startAt": {
                                  "description": "Time when the payment product enrollment becomes active",
                                  "nullable": false,
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                      "example": "2020-12-31T15:10:55Z",
                                      "externalDocs": {
                                        "description": "RFC3339",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                      }
                                    }
                                  ]
                                },
                                "endAt": {
                                  "description": "Time when the payment product enrollment becomes lapsed",
                                  "nullable": true,
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                      "example": "2020-12-31T15:10:55Z",
                                      "externalDocs": {
                                        "description": "RFC3339",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                      }
                                    }
                                  ]
                                },
                                "deletedAt": {
                                  "description": "Time when the payment product enrollment was deleted",
                                  "nullable": true,
                                  "readOnly": true,
                                  "allOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                      "example": "2020-12-31T15:10:55Z",
                                      "externalDocs": {
                                        "description": "RFC3339",
                                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                      }
                                    }
                                  ]
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            }
          }
        }
      },
      "MerchantPaymentProductsEnrollments": {
        "description": "",
        "content": {
          "application/json": {
            "schema": {
              "description": "A list of merchant payment product enrollments",
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "maxItems": 200,
                  "items": {
                    "description": "A merchant payment product contains the payment product values specific to the merchant.",
                    "type": "object",
                    "properties": {
                      "paymentProduct": {
                        "allOf": [
                          {
                            "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                            "type": "object",
                            "required": [
                              "id",
                              "programID",
                              "type",
                              "name",
                              "description",
                              "numPayments",
                              "paymentFrequency",
                              "minInterestRateBPS",
                              "maxInterestRateBPS",
                              "paymentMethodTypes",
                              "autopayRequired",
                              "requiredDownPaymentBPS",
                              "legalAgreements",
                              "policies",
                              "workflowIDs",
                              "createdAt"
                            ],
                            "properties": {
                              "id": {
                                "description": "Unique identifier for a payment product.",
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                    "externalDocs": {
                                      "description": "RFC4122",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                    }
                                  }
                                ]
                              },
                              "programID": {
                                "description": "Unique identifier for a program.",
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "uuid",
                                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                    "externalDocs": {
                                      "description": "RFC4122",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                    }
                                  }
                                ]
                              },
                              "type": {
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "description": "The type of payment product",
                                    "enum": [
                                      "INSTALLMENTS",
                                      "SPLITPAY",
                                      "DEBT_CONSOLIDATION",
                                      "PERSONAL_LOAN",
                                      "HYBRID_LINE_OF_CREDIT",
                                      "DEFERRED_INTEREST_INSTALLMENTS"
                                    ],
                                    "example": "INSTALLMENTS"
                                  }
                                ]
                              },
                              "name": {
                                "description": "Name of payment product, human-readable",
                                "nullable": false,
                                "type": "string"
                              },
                              "description": {
                                "description": "Description of this payment product, human-readable",
                                "nullable": false,
                                "type": "string"
                              },
                              "numPayments": {
                                "description": "Number of expected payments",
                                "nullable": false,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "paymentFrequency": {
                                "description": "Frequency of expected payments expressed according to ISO 8601",
                                "nullable": false,
                                "format": "duration",
                                "type": "string"
                              },
                              "minInterestRateBPS": {
                                "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "maxInterestRateBPS": {
                                "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "paymentMethodTypes": {
                                "description": "Payment method types that this payment product will accept",
                                "nullable": false,
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "autopayRequired": {
                                "description": "Whether autopay is required for this payment product",
                                "nullable": false,
                                "type": "boolean"
                              },
                              "requiredDownPaymentBPS": {
                                "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                                "nullable": false,
                                "allOf": [
                                  {
                                    "type": "integer",
                                    "description": "A value which represents one-hundredth of one percent.",
                                    "minimum": 0,
                                    "example": 500,
                                    "externalDocs": {
                                      "description": "BasisPoint",
                                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                    }
                                  }
                                ]
                              },
                              "legalAgreements": {
                                "description": "Legal agreements associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "policies": {
                                "description": "Policies associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "workflowIDs": {
                                "description": "Workflows associated with this payment product",
                                "nullable": false,
                                "format": "application/json",
                                "type": "object"
                              },
                              "createdAt": {
                                "description": "Time when this payment product was created",
                                "nullable": false,
                                "readOnly": true,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "date-time",
                                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                    "example": "2020-12-31T15:10:55Z",
                                    "externalDocs": {
                                      "description": "RFC3339",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                    }
                                  }
                                ]
                              },
                              "deletedAt": {
                                "description": "Time when this payment product was deleted",
                                "nullable": true,
                                "readOnly": true,
                                "allOf": [
                                  {
                                    "type": "string",
                                    "format": "date-time",
                                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                    "example": "2020-12-31T15:10:55Z",
                                    "externalDocs": {
                                      "description": "RFC3339",
                                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                    }
                                  }
                                ]
                              },
                              "version": {
                                "description": "Payment Product version 1 or 2. Code will default to 1.",
                                "default": 1,
                                "type": "number"
                              },
                              "deferredPromoPeriod": {
                                "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                                "nullable": false,
                                "format": "duration",
                                "type": "string"
                              }
                            }
                          }
                        ]
                      },
                      "merchantValues": {
                        "description": "Merchant-payment product values contain values specific to a merchant-payment product relationship.",
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Unique identifier for a merchant payment product value.",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "merchantID": {
                            "description": "Unique identifier for a merchant.",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "paymentProductID": {
                            "description": "Unique identifier for a payment product.",
                            "allOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                                "externalDocs": {
                                  "description": "RFC4122",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                                }
                              }
                            ]
                          },
                          "discountRateBPS": {
                            "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                            "nullable": false,
                            "allOf": [
                              {
                                "type": "integer",
                                "description": "A value which represents one-hundredth of one percent.",
                                "minimum": 0,
                                "example": 500,
                                "externalDocs": {
                                  "description": "BasisPoint",
                                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                }
                              }
                            ]
                          },
                          "transactionFee": {
                            "description": "The transaction fee.",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "minCartSize": {
                            "description": "The minimum cart size.",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "maxCartSize": {
                            "description": "The maximum cart size.",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "pendingTxExpiration": {
                            "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "authorizedTxExpiration": {
                            "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "allowPartialSettlement": {
                            "description": "Whether or partially settled transactions are allowed.",
                            "nullable": false,
                            "type": "boolean"
                          },
                          "partialSettlementTxExpiration": {
                            "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                            "format": "duration",
                            "nullable": false,
                            "type": "string"
                          },
                          "creditScoreThreshold": {
                            "description": "minimum credit score a customer needs to see the payment product",
                            "type": "number",
                            "nullable": true
                          },
                          "downPaymentTransactionFee": {
                            "description": "down payment transaction fee",
                            "nullable": false,
                            "allOf": [
                              {
                                "required": [
                                  "currency",
                                  "value"
                                ],
                                "properties": {
                                  "currency": {
                                    "type": "string",
                                    "description": "The three letter currency code as defined in ISO 4217.",
                                    "example": "USD",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "externalDocs": {
                                      "description": "ISO 4217",
                                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                    }
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                    "format": "int64",
                                    "example": 100
                                  }
                                },
                                "description": "Represents a monetary amount in the specified currency",
                                "example": {
                                  "currency": "USD",
                                  "value": 50000
                                }
                              }
                            ]
                          },
                          "preauthAmount": {
                            "description": "The preauth amount",
                            "nullable": true,
                            "type": "integer"
                          },
                          "overflowDiscountRateBPS": {
                            "description": "overflow discount rate",
                            "allOf": [
                              {
                                "type": "integer",
                                "description": "A value which represents one-hundredth of one percent.",
                                "minimum": 0,
                                "example": 500,
                                "externalDocs": {
                                  "description": "BasisPoint",
                                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                                }
                              }
                            ]
                          },
                          "policies": {
                            "description": "Policies associated with the merchant's payment product",
                            "nullable": false,
                            "format": "application/json",
                            "type": "object"
                          },
                          "createdAt": {
                            "description": "Time when the merchant's payment product was created",
                            "nullable": false,
                            "readOnly": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          },
                          "deletedAt": {
                            "description": "Time when the merchant's payment product was deleted",
                            "nullable": true,
                            "readOnly": true,
                            "allOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                                "example": "2020-12-31T15:10:55Z",
                                "externalDocs": {
                                  "description": "RFC3339",
                                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                                }
                              }
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            }
          }
        }
      },
      "MerchantPaymentProductsEnrollmentSummary": {
        "description": "",
        "content": {
          "application/json": {
            "schema": {
              "description": "A summary of merchant payment product enrollments",
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "programID": {
                        "type": "string",
                        "format": "uuid",
                        "description": "Unique identifier for a program.",
                        "example": "ba338f7e-2636-4920-bf5d-a34612ae9f28"
                      },
                      "programName": {
                        "type": "string",
                        "description": "Name of program, human-readable",
                        "example": "SplitPay"
                      },
                      "paymentProducts": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "paymentProductID": {
                              "type": "string",
                              "format": "uuid",
                              "description": "Unique identifier for a payment product.",
                              "example": "ba338f7e-2636-4920-bf5d-a34612ae9f28"
                            },
                            "paymentProductName": {
                              "type": "string",
                              "description": "Name of payment product, human-readable",
                              "example": "12 Month - 0% APR"
                            },
                            "enrolledMerchants": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "List of merchant IDs that are enrolled in this payment product",
                              "example": [
                                "ba338f7e-2636-4920-bf5d-a34612ae9f29",
                                "da338f7e-2636-4920-bf5d-a34612ae9f27"
                              ]
                            },
                            "hasDiscrepancy": {
                              "type": "boolean",
                              "description": "Whether there is a discrepancy in some field between enrollments",
                              "example": false
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            }
          }
        }
      },
      "PaymentProductConfigurationListResponsePublic": {
        "description": "",
        "content": {
          "application/json": {
            "schema": {
              "description": "Public response model for a list of payment product enrollments, with potentially sensitive fields removed",
              "type": "object",
              "properties": {
                "items": {
                  "type": "array",
                  "maxItems": 200,
                  "items": {
                    "description": "Public response model for a payment product enrollment, with potentially sensitive fields removed",
                    "type": "object",
                    "properties": {
                      "enrollmentID": {
                        "description": "Unique identifier for a payment product enrollment",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "paymentProductID": {
                        "description": "Unique identifier for the payment product",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "merchantID": {
                        "description": "Unique identifier for a merchant (from the enrollment)",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "programID": {
                        "description": "Unique identifier for a program",
                        "allOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                            "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                            "externalDocs": {
                              "description": "RFC4122",
                              "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                            }
                          }
                        ]
                      },
                      "paymentProductName": {
                        "description": "Human-friendly name of the payment product",
                        "type": "string"
                      },
                      "paymentProductType": {
                        "description": "Type of the payment product",
                        "type": "string"
                      },
                      "paymentFrequency": {
                        "description": "Payment frequency for the product",
                        "type": "string"
                      },
                      "numPayments": {
                        "description": "Number of scheduled payments for the product",
                        "type": "integer",
                        "format": "int32"
                      },
                      "startAt": {
                        "description": "Time when the payment product enrollment becomes active",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "endAt": {
                        "description": "Time when the payment product enrollment becomes lapsed",
                        "nullable": true,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      },
                      "defaultCartAmount": {
                        "description": "Default cart amount for participation",
                        "allOf": [
                          {
                            "required": [
                              "currency",
                              "value"
                            ],
                            "properties": {
                              "currency": {
                                "type": "string",
                                "description": "The three letter currency code as defined in ISO 4217.",
                                "example": "USD",
                                "minLength": 3,
                                "maxLength": 3,
                                "externalDocs": {
                                  "description": "ISO 4217",
                                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                }
                              },
                              "value": {
                                "type": "integer",
                                "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                "format": "int64",
                                "example": 100
                              }
                            },
                            "description": "Represents a monetary amount in the specified currency",
                            "example": {
                              "currency": "USD",
                              "value": 50000
                            }
                          }
                        ]
                      },
                      "minCartSize": {
                        "description": "Minimum cart size for this enrollment",
                        "allOf": [
                          {
                            "required": [
                              "currency",
                              "value"
                            ],
                            "properties": {
                              "currency": {
                                "type": "string",
                                "description": "The three letter currency code as defined in ISO 4217.",
                                "example": "USD",
                                "minLength": 3,
                                "maxLength": 3,
                                "externalDocs": {
                                  "description": "ISO 4217",
                                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                }
                              },
                              "value": {
                                "type": "integer",
                                "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                "format": "int64",
                                "example": 100
                              }
                            },
                            "description": "Represents a monetary amount in the specified currency",
                            "example": {
                              "currency": "USD",
                              "value": 50000
                            }
                          }
                        ]
                      },
                      "maxCartSize": {
                        "description": "Maximum cart size for this enrollment",
                        "allOf": [
                          {
                            "required": [
                              "currency",
                              "value"
                            ],
                            "properties": {
                              "currency": {
                                "type": "string",
                                "description": "The three letter currency code as defined in ISO 4217.",
                                "example": "USD",
                                "minLength": 3,
                                "maxLength": 3,
                                "externalDocs": {
                                  "description": "ISO 4217",
                                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                                }
                              },
                              "value": {
                                "type": "integer",
                                "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                                "format": "int64",
                                "example": 100
                              }
                            },
                            "description": "Represents a monetary amount in the specified currency",
                            "example": {
                              "currency": "USD",
                              "value": 50000
                            }
                          }
                        ]
                      },
                      "minInterestRateBPS": {
                        "description": "Minimum interest rate in basis points (from enrollment)",
                        "type": "integer",
                        "format": "int32"
                      },
                      "maxInterestRateBPS": {
                        "description": "Maximum interest rate in basis points (from enrollment)",
                        "type": "integer",
                        "format": "int32"
                      },
                      "enrollmentState": {
                        "description": "active or scheduled",
                        "type": "string",
                        "enum": [
                          "ACTIVE",
                          "SCHEDULED"
                        ]
                      },
                      "enrollmentCreatedAt": {
                        "description": "Created at time",
                        "nullable": false,
                        "allOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                            "example": "2020-12-31T15:10:55Z",
                            "externalDocs": {
                              "description": "RFC3339",
                              "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "pagination": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 10
                    },
                    "offset": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 0
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "requestBodies": {
      "CreateProgram": {
        "description": "Create a new program",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "description": "A program contains a reference to a tenant and details of a program they offer.",
              "type": "object",
              "required": [
                "tenantID",
                "name",
                "channel",
                "currency",
                "defaultLanguage",
                "displayInterestRateBPS"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "tenantID": {
                  "description": "Unique identifier for a tenant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "name": {
                  "description": "Program name, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "channel": {
                  "description": "The intended sales channel for the program",
                  "type": "string",
                  "default": "ECOMM"
                },
                "checkoutMode": {
                  "description": "A Virtual Card setting that describes the checkout mode. Optional",
                  "enum": [
                    "UNSET",
                    "VirtualCard",
                    "PointOfSale"
                  ]
                },
                "currency": {
                  "description": "Currency used by this program.",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The three letter currency code as defined in ISO 4217.",
                      "example": "USD",
                      "minLength": 3,
                      "maxLength": 3,
                      "externalDocs": {
                        "description": "ISO 4217",
                        "url": "https://en.wikipedia.org/wiki/ISO_4217"
                      }
                    }
                  ]
                },
                "defaultLanguage": {
                  "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                      "minLength": 2,
                      "example": "en or en-US",
                      "externalDocs": {
                        "description": "ISO 639-1",
                        "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                      }
                    }
                  ]
                },
                "displayInterestRateBPS": {
                  "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "programGroup": {
                  "description": "Program Group name",
                  "type": "string"
                },
                "checkoutChannel": {
                  "description": "Checkout Channel name",
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this program was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this program was deleted",
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "CreatePaymentProduct": {
        "description": "Create payment product",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "programID",
                "type",
                "name",
                "description",
                "numPayments",
                "paymentFrequency",
                "minInterestRateBPS",
                "maxInterestRateBPS",
                "paymentMethodTypes",
                "autopayRequired",
                "requiredDownPaymentBPS",
                "policies"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a payment product. Optional; generated by server when omitted.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "type": {
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The type of payment product",
                      "enum": [
                        "INSTALLMENTS",
                        "SPLITPAY",
                        "DEBT_CONSOLIDATION",
                        "PERSONAL_LOAN",
                        "HYBRID_LINE_OF_CREDIT",
                        "DEFERRED_INTEREST_INSTALLMENTS"
                      ],
                      "example": "INSTALLMENTS"
                    }
                  ]
                },
                "name": {
                  "description": "Name of payment product, human-readable",
                  "type": "string"
                },
                "description": {
                  "description": "Description of this payment product, human-readable",
                  "type": "string"
                },
                "numPayments": {
                  "description": "Number of expected payments",
                  "minimum": 1,
                  "type": "integer"
                },
                "paymentFrequency": {
                  "description": "Frequency of expected payments expressed according to ISO 8601",
                  "format": "duration",
                  "type": "string"
                },
                "minInterestRateBPS": {
                  "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "maxInterestRateBPS": {
                  "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "paymentMethodTypes": {
                  "description": "Payment method types that this payment product will accept",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "autopayRequired": {
                  "description": "Whether autopay is required for this payment product",
                  "type": "boolean"
                },
                "requiredDownPaymentBPS": {
                  "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "legalAgreements": {
                  "description": "Legal agreements associated with this payment product",
                  "format": "application/json",
                  "type": "object"
                },
                "policies": {
                  "description": "Policies associated with this payment product",
                  "format": "application/json",
                  "type": "object"
                },
                "workflowIDs": {
                  "description": "Workflows associated with this payment product",
                  "format": "application/json",
                  "type": "object"
                },
                "version": {
                  "description": "Payment Product version 1 or 2. Code will default to 1.",
                  "default": 1,
                  "type": "number"
                },
                "deferredPromoPeriod": {
                  "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                  "format": "duration",
                  "type": "string"
                }
              }
            },
            "example": {
              "programID": "d366e842-710e-489d-96b3-594f326a2edc",
              "type": "SPLITPAY",
              "name": "Test Payment Product",
              "description": "This is a test payment product",
              "numPayments": 6,
              "paymentFrequency": "P30D",
              "minInterestRateBPS": 100,
              "maxInterestRateBPS": 500,
              "paymentMethodTypes": [
                "ACH",
                "DEBIT"
              ],
              "autopayRequired": true,
              "requiredDownPaymentBPS": 2000,
              "legalAgreements": {},
              "policies": {},
              "workflowIDs": {},
              "programGroup": "program group name",
              "checkoutChannel": "channel name",
              "version": 2
            }
          }
        }
      },
      "CreatePaymentProductEnrollmentRequest": {
        "description": "Create payment product enrollment request",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "merchantID",
                "paymentProductID",
                "programID",
                "discountRateBPS",
                "transactionFee",
                "minCartSize",
                "maxCartSize",
                "pendingTxExpiration",
                "authorizedTxExpiration",
                "allowPartialSettlement",
                "partialSettlementTxExpiration",
                "creditScoreThreshold",
                "downPaymentTransactionFee",
                "preauthAmount",
                "downPaymentDiscountRateBPS",
                "policies",
                "promotional"
              ],
              "allOf": [
                {
                  "description": "Payment Product Enrollment Model",
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Unique identifier for a payment product enrollment",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantID": {
                      "description": "Unique identifier for a merchant",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "paymentProductID": {
                      "description": "Unique identifier for a payment product",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "programID": {
                      "description": "Unique identifier for a program",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "discountRateBPS": {
                      "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "transactionFee": {
                      "description": "The transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "minCartSize": {
                      "description": "The minimum cart size",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "maxCartSize": {
                      "description": "The maximum cart size",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "pendingTxExpiration": {
                      "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "authorizedTxExpiration": {
                      "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "allowPartialSettlement": {
                      "description": "Whether or partially settled transactions are allowed",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "partialSettlementTxExpiration": {
                      "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "creditScoreThreshold": {
                      "description": "minimum credit score a customer needs to see the payment product enrollment",
                      "type": "number",
                      "nullable": true
                    },
                    "downPaymentTransactionFee": {
                      "description": "down payment transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "preauthAmount": {
                      "description": "The preauth amount",
                      "nullable": true,
                      "type": "integer"
                    },
                    "downPaymentDiscountRateBPS": {
                      "description": "overflow discount rate",
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "policies": {
                      "description": "Policies associated with the merchant's payment product enrollment",
                      "nullable": false,
                      "format": "application/json",
                      "type": "object"
                    },
                    "promotional": {
                      "description": "Used for legal compliance to show different or \"promotional\" language to the buyer",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "createdAt": {
                      "description": "Time when the payment product enrollment was created",
                      "nullable": false,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "startAt": {
                      "description": "Time when the payment product enrollment becomes active",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "endAt": {
                      "description": "Time when the payment product enrollment becomes lapsed",
                      "nullable": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "deletedAt": {
                      "description": "Time when the payment product enrollment was deleted",
                      "nullable": true,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "PatchPaymentProductEnrollmentRequest": {
        "description": "Patch payment product enrollment request",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "id"
              ],
              "allOf": [
                {
                  "description": "Payment Product Enrollment Model",
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Unique identifier for a payment product enrollment",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantID": {
                      "description": "Unique identifier for a merchant",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "paymentProductID": {
                      "description": "Unique identifier for a payment product",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "programID": {
                      "description": "Unique identifier for a program",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "discountRateBPS": {
                      "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "transactionFee": {
                      "description": "The transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "minCartSize": {
                      "description": "The minimum cart size",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "maxCartSize": {
                      "description": "The maximum cart size",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "pendingTxExpiration": {
                      "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "authorizedTxExpiration": {
                      "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "allowPartialSettlement": {
                      "description": "Whether or partially settled transactions are allowed",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "partialSettlementTxExpiration": {
                      "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "creditScoreThreshold": {
                      "description": "minimum credit score a customer needs to see the payment product enrollment",
                      "type": "number",
                      "nullable": true
                    },
                    "downPaymentTransactionFee": {
                      "description": "down payment transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "preauthAmount": {
                      "description": "The preauth amount",
                      "nullable": true,
                      "type": "integer"
                    },
                    "downPaymentDiscountRateBPS": {
                      "description": "overflow discount rate",
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "policies": {
                      "description": "Policies associated with the merchant's payment product enrollment",
                      "nullable": false,
                      "format": "application/json",
                      "type": "object"
                    },
                    "promotional": {
                      "description": "Used for legal compliance to show different or \"promotional\" language to the buyer",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "createdAt": {
                      "description": "Time when the payment product enrollment was created",
                      "nullable": false,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "startAt": {
                      "description": "Time when the payment product enrollment becomes active",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "endAt": {
                      "description": "Time when the payment product enrollment becomes lapsed",
                      "nullable": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "deletedAt": {
                      "description": "Time when the payment product enrollment was deleted",
                      "nullable": true,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "UpdateMerchantProgramValues": {
        "description": "Update merchant program values",
        "content": {
          "application/json": {
            "schema": {
              "description": "A Request to Update Merchant Program Values",
              "type": "object",
              "properties": {
                "defaultOTPMethod": {
                  "description": "The default OTP Method.",
                  "type": "string",
                  "example": "SMS"
                },
                "defaultCartAmount": {
                  "description": "Default cart amount",
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "policies": {
                  "description": "Policies associated with this merchant-program.",
                  "format": "application/json",
                  "type": "object"
                },
                "virtualCard": {
                  "description": "Virtual Card JSON data",
                  "format": "application/json",
                  "type": "object"
                },
                "allowRescission": {
                  "description": "if allow the rescission",
                  "nullable": true,
                  "type": "boolean"
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "applicationExpiration": {
                  "description": "application expiration",
                  "type": "string",
                  "example": "P7D"
                },
                "tofProcessors": {
                  "description": "Top of Funnel.",
                  "type": "string",
                  "nullable": false
                }
              }
            }
          }
        },
        "required": true
      },
      "UpdateUICustomization": {
        "description": "Update a UI Customization",
        "content": {
          "application/json": {
            "schema": {
              "description": "A Request to Update a UI Customization",
              "type": "object",
              "properties": {
                "logoUrl": {
                  "description": "An URL for the company.",
                  "type": "string",
                  "example": "www.breadpayments.com"
                },
                "checkoutPrimaryColor": {
                  "description": "Primary Color.",
                  "type": "string",
                  "example": "#A12B35"
                },
                "paymentMethodDisplay": {
                  "description": "Payment Method to Display",
                  "type": "string",
                  "example": "Pay Over Time"
                },
                "noOrderPromoTextInstallments": {
                  "description": "The Promo Text",
                  "type": "string",
                  "example": "Easy monthly payments"
                }
              }
            }
          }
        },
        "required": false
      },
      "CreatePartnerParticipation": {
        "description": "Create a new partner participation",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "description": "creates a partner participation",
              "type": "object",
              "required": [
                "partnerID",
                "programID"
              ],
              "properties": {
                "partnerID": {
                  "description": "Unique identifier for a partner.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "schemas": {
      "CountryCode": {
        "type": "string",
        "description": "The two character ISO-3166-1 country code.",
        "example": "US",
        "minLength": 2,
        "maxLength": 2,
        "externalDocs": {
          "description": "ISO-3166-1",
          "url": "https://en.wikipedia.org/wiki/ISO_3166-1"
        }
      },
      "Region": {
        "type": "string",
        "description": "The region or first-level administration division (e.g. State/Province) of the address.",
        "example": "US-NY",
        "minLength": 2,
        "externalDocs": {
          "description": "ISO-3166-2",
          "url": "https://en.wikipedia.org/wiki/ISO_3166-2"
        }
      },
      "CurrencyCode": {
        "type": "string",
        "description": "The three letter currency code as defined in ISO 4217.",
        "example": "USD",
        "minLength": 3,
        "maxLength": 3,
        "externalDocs": {
          "description": "ISO 4217",
          "url": "https://en.wikipedia.org/wiki/ISO_4217"
        }
      },
      "LanguageCode": {
        "type": "string",
        "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
        "minLength": 2,
        "example": "en or en-US",
        "externalDocs": {
          "description": "ISO 639-1",
          "url": "https://en.wikipedia.org/wiki/ISO_639-1"
        }
      },
      "Money": {
        "required": [
          "currency",
          "value"
        ],
        "properties": {
          "currency": {
            "type": "string",
            "description": "The three letter currency code as defined in ISO 4217.",
            "example": "USD",
            "minLength": 3,
            "maxLength": 3,
            "externalDocs": {
              "description": "ISO 4217",
              "url": "https://en.wikipedia.org/wiki/ISO_4217"
            }
          },
          "value": {
            "type": "integer",
            "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
            "format": "int64",
            "example": 100
          }
        },
        "description": "Represents a monetary amount in the specified currency",
        "example": {
          "currency": "USD",
          "value": 50000
        }
      },
      "Phone": {
        "type": "string",
        "description": "Telephone number including country code",
        "example": "+14539842345"
      },
      "Email": {
        "type": "string",
        "format": "email",
        "description": "Email address",
        "example": "john.doe@gmail.com"
      },
      "Percentage": {
        "type": "number",
        "description": "Percentage value",
        "minimum": 0,
        "maximum": 100,
        "example": 21.5
      },
      "BasisPoint": {
        "type": "integer",
        "description": "A value which represents one-hundredth of one percent.",
        "minimum": 0,
        "example": 500,
        "externalDocs": {
          "description": "BasisPoint",
          "url": "https://www.investopedia.com/terms/b/basispoint.asp"
        }
      },
      "Date": {
        "type": "string",
        "format": "date",
        "description": "The date value formatted per RFC3339. This does not allow nulls.",
        "example": "2020-12-31",
        "externalDocs": {
          "description": "RFC3339",
          "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
        }
      },
      "NullDate": {
        "type": "string",
        "format": "date",
        "nullable": true,
        "description": "The date value formatted per RFC3339. This allows nulls.",
        "example": "2020-12-31",
        "externalDocs": {
          "description": "RFC3339",
          "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
        }
      },
      "Timestamp": {
        "type": "string",
        "format": "date-time",
        "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
        "example": "2020-12-31T15:10:55Z",
        "externalDocs": {
          "description": "RFC3339",
          "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
        }
      },
      "NullTimestamp": {
        "type": "string",
        "format": "date-time",
        "nullable": true,
        "description": "The timestamp value formatted per RFC3339. This does allow nulls.",
        "example": "2020-12-31T15:10:55Z",
        "externalDocs": {
          "description": "RFC3339",
          "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
        }
      },
      "UUID": {
        "type": "string",
        "format": "uuid",
        "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
        "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
        "externalDocs": {
          "description": "RFC4122",
          "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
        }
      },
      "NullUUID": {
        "type": "string",
        "format": "uuid",
        "nullable": true,
        "description": "A universally unique identifier (Version 4) as defined in RFC4122. This allows nulls.",
        "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
        "externalDocs": {
          "description": "RFC4122",
          "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
        }
      },
      "Address": {
        "required": [
          "address1",
          "locality",
          "postalCode",
          "region",
          "country"
        ],
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "description": "First address line",
            "example": "156 5th Avenue"
          },
          "address2": {
            "type": "string",
            "description": "Second address line"
          },
          "locality": {
            "type": "string",
            "description": "The locality (e.g. City) of the address.",
            "example": "New York"
          },
          "postalCode": {
            "type": "string",
            "description": "The administrative postal code (e.g. Zip Code)",
            "example": "10019"
          },
          "region": {
            "type": "string",
            "description": "The region or first-level administration division (e.g. State/Province) of the address.",
            "example": "US-NY",
            "minLength": 2,
            "externalDocs": {
              "description": "ISO-3166-2",
              "url": "https://en.wikipedia.org/wiki/ISO_3166-2"
            }
          },
          "country": {
            "type": "string",
            "description": "The two character ISO-3166-1 country code.",
            "example": "US",
            "minLength": 2,
            "maxLength": 2,
            "externalDocs": {
              "description": "ISO-3166-1",
              "url": "https://en.wikipedia.org/wiki/ISO_3166-1"
            }
          }
        },
        "description": "Represents a fully defined address for an entity"
      },
      "Name": {
        "required": [
          "familyName",
          "givenName"
        ],
        "type": "object",
        "properties": {
          "givenName": {
            "type": "string",
            "description": "Given name",
            "example": "John"
          },
          "familyName": {
            "type": "string",
            "description": "Family name",
            "example": "Doe"
          },
          "additionalName": {
            "type": "string",
            "description": "Additional name, if any"
          }
        },
        "description": "Represents the full name"
      },
      "Contact": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "required": [
              "familyName",
              "givenName"
            ],
            "type": "object",
            "properties": {
              "givenName": {
                "type": "string",
                "description": "Given name",
                "example": "John"
              },
              "familyName": {
                "type": "string",
                "description": "Family name",
                "example": "Doe"
              },
              "additionalName": {
                "type": "string",
                "description": "Additional name, if any"
              }
            },
            "description": "Represents the full name"
          },
          "phone": {
            "type": "string",
            "description": "Telephone number including country code",
            "example": "+14539842345"
          },
          "address": {
            "required": [
              "address1",
              "locality",
              "postalCode",
              "region",
              "country"
            ],
            "type": "object",
            "properties": {
              "address1": {
                "type": "string",
                "description": "First address line",
                "example": "156 5th Avenue"
              },
              "address2": {
                "type": "string",
                "description": "Second address line"
              },
              "locality": {
                "type": "string",
                "description": "The locality (e.g. City) of the address.",
                "example": "New York"
              },
              "postalCode": {
                "type": "string",
                "description": "The administrative postal code (e.g. Zip Code)",
                "example": "10019"
              },
              "region": {
                "type": "string",
                "description": "The region or first-level administration division (e.g. State/Province) of the address.",
                "example": "US-NY",
                "minLength": 2,
                "externalDocs": {
                  "description": "ISO-3166-2",
                  "url": "https://en.wikipedia.org/wiki/ISO_3166-2"
                }
              },
              "country": {
                "type": "string",
                "description": "The two character ISO-3166-1 country code.",
                "example": "US",
                "minLength": 2,
                "maxLength": 2,
                "externalDocs": {
                  "description": "ISO-3166-1",
                  "url": "https://en.wikipedia.org/wiki/ISO_3166-1"
                }
              }
            },
            "description": "Represents a fully defined address for an entity"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "Email address",
            "example": "john.doe@gmail.com"
          }
        },
        "description": "Represents contact information for an entity"
      },
      "BankAccountDetail": {
        "type": "object",
        "description": "Bank account detail definition",
        "required": [
          "accountNumber",
          "accountType",
          "currencyCode",
          "identifiers"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "User provided name for the account"
          },
          "accountNumber": {
            "type": "string",
            "description": "The bank account number"
          },
          "accountType": {
            "type": "string",
            "description": "The type of account, checking or savings",
            "enum": [
              "CHECKING",
              "SAVINGS"
            ]
          },
          "currencyCode": {
            "type": "string",
            "description": "The three letter currency code as defined in ISO 4217.",
            "example": "USD",
            "minLength": 3,
            "maxLength": 3,
            "externalDocs": {
              "description": "ISO 4217",
              "url": "https://en.wikipedia.org/wiki/ISO_4217"
            }
          },
          "branchLocation": {
            "allOf": [
              {
                "required": [
                  "address1",
                  "locality",
                  "postalCode",
                  "region",
                  "country"
                ],
                "type": "object",
                "properties": {
                  "address1": {
                    "type": "string",
                    "description": "First address line",
                    "example": "156 5th Avenue"
                  },
                  "address2": {
                    "type": "string",
                    "description": "Second address line"
                  },
                  "locality": {
                    "type": "string",
                    "description": "The locality (e.g. City) of the address.",
                    "example": "New York"
                  },
                  "postalCode": {
                    "type": "string",
                    "description": "The administrative postal code (e.g. Zip Code)",
                    "example": "10019"
                  },
                  "region": {
                    "type": "string",
                    "description": "The region or first-level administration division (e.g. State/Province) of the address.",
                    "example": "US-NY",
                    "minLength": 2,
                    "externalDocs": {
                      "description": "ISO-3166-2",
                      "url": "https://en.wikipedia.org/wiki/ISO_3166-2"
                    }
                  },
                  "country": {
                    "type": "string",
                    "description": "The two character ISO-3166-1 country code.",
                    "example": "US",
                    "minLength": 2,
                    "maxLength": 2,
                    "externalDocs": {
                      "description": "ISO-3166-1",
                      "url": "https://en.wikipedia.org/wiki/ISO_3166-1"
                    }
                  }
                },
                "description": "Represents a fully defined address for an entity"
              }
            ],
            "description": "The branch location, if applicable"
          },
          "identifiers": {
            "type": "array",
            "description": "A list of identifiers to be used in conjunction with the account number",
            "minItems": 1,
            "items": {
              "type": "object",
              "required": [
                "identifier",
                "value"
              ],
              "properties": {
                "identifier": {
                  "type": "string",
                  "description": "Bank account identifier",
                  "enum": [
                    "ROUTING_NUMBER",
                    "BANK_CODE",
                    "BRANCH_CODE"
                  ]
                },
                "value": {
                  "type": "string",
                  "description": "Value of the identifier"
                }
              },
              "example": {
                "identifier": "ROUTING_NUMBER",
                "value": "021000322"
              }
            }
          }
        }
      },
      "BusinessIdentity": {
        "type": "object",
        "description": "Identity for a business",
        "required": [
          "identifier",
          "value"
        ],
        "properties": {
          "identifier": {
            "type": "string",
            "enum": [
              "EMPLOYER_IDENTIFICATION_NUMBER",
              "TAX_IDENTIFICATION_NUMBER"
            ],
            "description": "Identifier for a business"
          },
          "value": {
            "type": "string",
            "description": "The value of the identifier"
          }
        },
        "example": {
          "identifier": "EMPLOYER_IDENTIFICATION_NUMBER",
          "value": "77-1122333"
        }
      },
      "PersonIdentity": {
        "type": "object",
        "description": "Identity for a person",
        "required": [
          "identifier",
          "value"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "SOCIAL_SECURITY_NUMBER",
              "TAX_IDENTIFICATION_NUMBER"
            ],
            "description": "Identifier for a person"
          },
          "value": {
            "type": "string",
            "description": "The value of the identifier"
          }
        },
        "example": {
          "identifier": "SOCIAL_SECURITY_NUMBER",
          "value": "111-22-3333"
        }
      },
      "BankIdentifier": {
        "type": "object",
        "required": [
          "identifier",
          "value"
        ],
        "properties": {
          "identifier": {
            "type": "string",
            "description": "Bank account identifier",
            "enum": [
              "ROUTING_NUMBER",
              "BANK_CODE",
              "BRANCH_CODE"
            ]
          },
          "value": {
            "type": "string",
            "description": "Value of the identifier"
          }
        },
        "example": {
          "identifier": "ROUTING_NUMBER",
          "value": "021000322"
        }
      },
      "PaymentProductType": {
        "type": "string",
        "description": "The type of payment product",
        "enum": [
          "INSTALLMENTS",
          "SPLITPAY",
          "DEBT_CONSOLIDATION",
          "PERSONAL_LOAN",
          "HYBRID_LINE_OF_CREDIT",
          "DEFERRED_INTEREST_INSTALLMENTS"
        ],
        "example": "INSTALLMENTS"
      },
      "TermInterval": {
        "type": "string",
        "description": "Defines set of valid term intervals for a payment product",
        "enum": [
          "BIWEEKLY",
          "MONTHLY"
        ]
      },
      "Terms": {
        "type": "object",
        "required": [
          "amount",
          "interval",
          "length",
          "rate"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ],
            "description": "The total amount for the term"
          },
          "interval": {
            "allOf": [
              {
                "type": "string",
                "description": "Defines set of valid term intervals for a payment product",
                "enum": [
                  "BIWEEKLY",
                  "MONTHLY"
                ]
              }
            ],
            "description": "The payment interval for the term"
          },
          "length": {
            "type": "integer",
            "format": "int64",
            "description": "Length of the term",
            "example": 12
          },
          "rate": {
            "type": "number",
            "format": "float",
            "description": "The interest rate for the term",
            "example": 5.75
          }
        },
        "description": "Represents the terms offered for a payment product"
      },
      "AsLowAs": {
        "type": "object",
        "required": [
          "terms",
          "paymentAmount",
          "minRate",
          "maxRate",
          "promptText",
          "paymentAmountText"
        ],
        "properties": {
          "terms": {
            "allOf": [
              {
                "type": "object",
                "required": [
                  "amount",
                  "interval",
                  "length",
                  "rate"
                ],
                "properties": {
                  "amount": {
                    "allOf": [
                      {
                        "required": [
                          "currency",
                          "value"
                        ],
                        "properties": {
                          "currency": {
                            "type": "string",
                            "description": "The three letter currency code as defined in ISO 4217.",
                            "example": "USD",
                            "minLength": 3,
                            "maxLength": 3,
                            "externalDocs": {
                              "description": "ISO 4217",
                              "url": "https://en.wikipedia.org/wiki/ISO_4217"
                            }
                          },
                          "value": {
                            "type": "integer",
                            "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                            "format": "int64",
                            "example": 100
                          }
                        },
                        "description": "Represents a monetary amount in the specified currency",
                        "example": {
                          "currency": "USD",
                          "value": 50000
                        }
                      }
                    ],
                    "description": "The total amount for the term"
                  },
                  "interval": {
                    "allOf": [
                      {
                        "type": "string",
                        "description": "Defines set of valid term intervals for a payment product",
                        "enum": [
                          "BIWEEKLY",
                          "MONTHLY"
                        ]
                      }
                    ],
                    "description": "The payment interval for the term"
                  },
                  "length": {
                    "type": "integer",
                    "format": "int64",
                    "description": "Length of the term",
                    "example": 12
                  },
                  "rate": {
                    "type": "number",
                    "format": "float",
                    "description": "The interest rate for the term",
                    "example": 5.75
                  }
                },
                "description": "Represents the terms offered for a payment product"
              }
            ],
            "description": "The terms used to determine the payment"
          },
          "paymentAmount": {
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ],
            "description": "The cost of each payment based on the terms"
          },
          "minRate": {
            "type": "number",
            "format": "float",
            "description": "The minimum interest rate that may be offered",
            "example": 2.99
          },
          "maxRate": {
            "type": "number",
            "format": "float",
            "description": "The maximum interest rate that may be offered",
            "example": 29.99
          },
          "promptText": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The financing disclosure text that can be provided to the buyer in the appropriate language",
            "example": {
              "en-us": "A sample prompt text in the appropriate locale",
              "ca-fr": "Un exemple de texte en français canadien"
            }
          },
          "paymentAmountText": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "The payment amount with the appropriate formatting",
            "example": {
              "en-us": "$150.25",
              "ca-fr": "150.25 $"
            }
          }
        },
        "description": "Represents a sample offer with the appropriate user prompts for a given amount and apr along with apr bounds"
      },
      "Identity": {
        "type": "object",
        "description": "The claims that determines the access level of the caller.",
        "properties": {
          "tenantID": {
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ],
            "description": "An UUID that represents a tenant."
          },
          "buyerID": {
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "nullable": true,
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This allows nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ],
            "description": "An UUID that represents a buyer."
          },
          "merchantID": {
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "nullable": true,
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This allows nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ],
            "description": "An UUID that represents a merchant."
          },
          "partnerID": {
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "nullable": true,
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This allows nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ],
            "description": "An UUID that represents a partner."
          },
          "programID": {
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "nullable": true,
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This allows nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ],
            "description": "An UUID that represents a program."
          }
        },
        "required": [
          "tenantID"
        ]
      },
      "Error": {
        "allOf": [
          {
            "required": [
              "code",
              "domain",
              "message"
            ],
            "type": "object",
            "properties": {
              "code": {
                "type": "integer",
                "description": "The underlying http status code",
                "format": "int32",
                "example": 500
              },
              "message": {
                "type": "string",
                "description": "A simple message in english describing the error and can be returned to the consumer",
                "example": "Age cannot be less than 18"
              },
              "domain": {
                "type": "string",
                "description": "The domain where the error is originating from as defined by the service",
                "example": "Payments"
              },
              "metadata": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                "example": {
                  "propertyName": "propertyName is required"
                }
              }
            }
          }
        ],
        "required": [
          "code",
          "domain",
          "message",
          "reason"
        ],
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "A reason code specific to the service and can be used to identify the exact issue. Should be unique within a domain",
            "example": "Reason_Code"
          }
        }
      },
      "BaseError": {
        "required": [
          "code",
          "domain",
          "message"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The underlying http status code",
            "format": "int32",
            "example": 500
          },
          "message": {
            "type": "string",
            "description": "A simple message in english describing the error and can be returned to the consumer",
            "example": "Age cannot be less than 18"
          },
          "domain": {
            "type": "string",
            "description": "The domain where the error is originating from as defined by the service",
            "example": "Payments"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
            "example": {
              "propertyName": "propertyName is required"
            }
          }
        }
      },
      "Capabilities": {
        "type": "object",
        "properties": {
          "downPayment": {
            "type": "object",
            "properties": {
              "installments": {
                "type": "boolean"
              }
            },
            "required": [
              "installments"
            ]
          }
        }
      },
      "Aggregation": {
        "description": "An aggregation contains aggregated count of a term indicated by the key",
        "properties": {
          "key": {
            "description": "The aggregated key.",
            "type": "string"
          },
          "count": {
            "description": "The aggregated count matching the key.",
            "type": "integer"
          }
        }
      },
      "AggregationTerm": {
        "description": "The aggregation terms",
        "type": "string",
        "enum": [
          "TYPE",
          "NUMPAYMENTS",
          "RATE"
        ]
      },
      "EnrollmentsUpdatesRequest": {
        "type": "object",
        "properties": {
          "discountRateBPS": {
            "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
            "type": "integer",
            "nullable": true,
            "format": "int32"
          },
          "transactionFee": {
            "description": "The transaction fee.",
            "nullable": true,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "overflowDiscountRateBPS": {
            "type": "integer",
            "nullable": true,
            "format": "int32"
          },
          "minCartSize": {
            "description": "The minimum cart size.",
            "nullable": true,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "maxCartSize": {
            "description": "The maximum cart size.",
            "nullable": true,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "pendingTxExpiration": {
            "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
            "nullable": true,
            "type": "string"
          },
          "authorizedTxExpiration": {
            "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
            "nullable": true,
            "type": "string"
          },
          "allowPartialSettlement": {
            "description": "Whether partially settled transactions are allowed.",
            "nullable": true,
            "type": "boolean"
          },
          "partialSettlementTxExpiration": {
            "description": "The expiration time for partially settled transactions. (Must be in ISO8601 format)",
            "nullable": true,
            "type": "string"
          },
          "creditScoreThreshold": {
            "description": "minimum credit score a customer needs to see the payment product",
            "type": "number",
            "nullable": true
          },
          "downPaymentTransactionFee": {
            "description": "The down payment transaction fee.",
            "nullable": true,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "policies": {
            "description": "Policies associated with the merchant's payment product",
            "nullable": true,
            "format": "application/json",
            "type": "object"
          },
          "preauthAmount": {
            "description": "The preauth amount",
            "nullable": true,
            "type": "integer"
          }
        }
      },
      "MerchantProgramValues": {
        "description": "Merchant-program values contain information from a merchant that is tied to a program the merchant participates in.",
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for a set of merchant-program values.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "merchantID": {
            "description": "Unique identifier for a merchant.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "defaultOTPMethod": {
            "description": "Default One Time Password (OTP) delivery method.",
            "enum": [
              "EMAIL",
              "SMS"
            ],
            "nullable": false,
            "type": "string"
          },
          "applicationExpiration": {
            "description": "application expiration",
            "nullable": true,
            "type": "string"
          },
          "defaultCartAmount": {
            "description": "Default cart amount",
            "nullable": false,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "policies": {
            "description": "Policies associated with this merchant-program.",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "capabilities": {
            "nullable": false,
            "allOf": [
              {
                "type": "object",
                "properties": {
                  "downPayment": {
                    "type": "object",
                    "properties": {
                      "installments": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "installments"
                    ]
                  }
                }
              }
            ]
          },
          "virtualCard": {
            "description": "Virtual Card JSON data",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "tofProcessors": {
            "description": "Top of Funnel.",
            "type": "string",
            "nullable": false
          },
          "createdAt": {
            "description": "Time these values were created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time these values were deleted",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "PaginatedMerchantProgramValues": {
        "description": "Array of merchant program values, along with pagination metadata",
        "type": "object",
        "properties": {
          "items": {
            "description": "Array of MerchantProgramValues",
            "type": "array",
            "items": {
              "description": "Merchant-program values contain information from a merchant that is tied to a program the merchant participates in.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Unique identifier for a set of merchant-program values.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "defaultOTPMethod": {
                  "description": "Default One Time Password (OTP) delivery method.",
                  "enum": [
                    "EMAIL",
                    "SMS"
                  ],
                  "nullable": false,
                  "type": "string"
                },
                "applicationExpiration": {
                  "description": "application expiration",
                  "nullable": true,
                  "type": "string"
                },
                "defaultCartAmount": {
                  "description": "Default cart amount",
                  "nullable": false,
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "policies": {
                  "description": "Policies associated with this merchant-program.",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "virtualCard": {
                  "description": "Virtual Card JSON data",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "tofProcessors": {
                  "description": "Top of Funnel.",
                  "type": "string",
                  "nullable": false
                },
                "createdAt": {
                  "description": "Time these values were created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time these values were deleted",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "PaginatedPrograms": {
        "description": "Array of programs, along with pagination metadata",
        "type": "object",
        "properties": {
          "items": {
            "description": "Array of programs",
            "type": "array",
            "items": {
              "description": "A program contains a reference to a tenant and details of a program they offer.",
              "type": "object",
              "required": [
                "tenantID",
                "name",
                "channel",
                "currency",
                "defaultLanguage",
                "displayInterestRateBPS"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "tenantID": {
                  "description": "Unique identifier for a tenant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "name": {
                  "description": "Program name, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "channel": {
                  "description": "The intended sales channel for the program",
                  "type": "string",
                  "default": "ECOMM"
                },
                "checkoutMode": {
                  "description": "A Virtual Card setting that describes the checkout mode. Optional",
                  "enum": [
                    "UNSET",
                    "VirtualCard",
                    "PointOfSale"
                  ]
                },
                "currency": {
                  "description": "Currency used by this program.",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The three letter currency code as defined in ISO 4217.",
                      "example": "USD",
                      "minLength": 3,
                      "maxLength": 3,
                      "externalDocs": {
                        "description": "ISO 4217",
                        "url": "https://en.wikipedia.org/wiki/ISO_4217"
                      }
                    }
                  ]
                },
                "defaultLanguage": {
                  "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                      "minLength": 2,
                      "example": "en or en-US",
                      "externalDocs": {
                        "description": "ISO 639-1",
                        "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                      }
                    }
                  ]
                },
                "displayInterestRateBPS": {
                  "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "programGroup": {
                  "description": "Program Group name",
                  "type": "string"
                },
                "checkoutChannel": {
                  "description": "Checkout Channel name",
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this program was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this program was deleted",
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "Pagination": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "maximum": 200,
            "minimum": 10
          },
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "total": {
            "type": "integer",
            "maximum": 200,
            "minimum": 0
          }
        }
      },
      "PartnerProgramValues": {
        "description": "Partner-program values contain information from a partner that is tied to a program the partner participates in.",
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for a set of partner-program values.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "partnerID": {
            "description": "Unique identifier for a partner.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "createdAt": {
            "description": "Time these values were created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time these values were deleted",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "PartnerParticipationResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "description": "Partner-program values contain information from a partner that is tied to a program the partner participates in.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Unique identifier for a set of partner-program values.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "partnerID": {
                  "description": "Unique identifier for a partner.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "createdAt": {
                  "description": "Time these values were created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time these values were deleted",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "MerchantPaymentProduct": {
        "description": "A merchant payment product contains the payment product values specific to the merchant.",
        "type": "object",
        "properties": {
          "paymentProduct": {
            "allOf": [
              {
                "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                "type": "object",
                "required": [
                  "id",
                  "programID",
                  "type",
                  "name",
                  "description",
                  "numPayments",
                  "paymentFrequency",
                  "minInterestRateBPS",
                  "maxInterestRateBPS",
                  "paymentMethodTypes",
                  "autopayRequired",
                  "requiredDownPaymentBPS",
                  "legalAgreements",
                  "policies",
                  "workflowIDs",
                  "createdAt"
                ],
                "properties": {
                  "id": {
                    "description": "Unique identifier for a payment product.",
                    "allOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                        "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                        "externalDocs": {
                          "description": "RFC4122",
                          "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                        }
                      }
                    ]
                  },
                  "programID": {
                    "description": "Unique identifier for a program.",
                    "allOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                        "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                        "externalDocs": {
                          "description": "RFC4122",
                          "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                        }
                      }
                    ]
                  },
                  "type": {
                    "nullable": false,
                    "allOf": [
                      {
                        "type": "string",
                        "description": "The type of payment product",
                        "enum": [
                          "INSTALLMENTS",
                          "SPLITPAY",
                          "DEBT_CONSOLIDATION",
                          "PERSONAL_LOAN",
                          "HYBRID_LINE_OF_CREDIT",
                          "DEFERRED_INTEREST_INSTALLMENTS"
                        ],
                        "example": "INSTALLMENTS"
                      }
                    ]
                  },
                  "name": {
                    "description": "Name of payment product, human-readable",
                    "nullable": false,
                    "type": "string"
                  },
                  "description": {
                    "description": "Description of this payment product, human-readable",
                    "nullable": false,
                    "type": "string"
                  },
                  "numPayments": {
                    "description": "Number of expected payments",
                    "nullable": false,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "paymentFrequency": {
                    "description": "Frequency of expected payments expressed according to ISO 8601",
                    "nullable": false,
                    "format": "duration",
                    "type": "string"
                  },
                  "minInterestRateBPS": {
                    "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                    "nullable": false,
                    "allOf": [
                      {
                        "type": "integer",
                        "description": "A value which represents one-hundredth of one percent.",
                        "minimum": 0,
                        "example": 500,
                        "externalDocs": {
                          "description": "BasisPoint",
                          "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                        }
                      }
                    ]
                  },
                  "maxInterestRateBPS": {
                    "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                    "nullable": false,
                    "allOf": [
                      {
                        "type": "integer",
                        "description": "A value which represents one-hundredth of one percent.",
                        "minimum": 0,
                        "example": 500,
                        "externalDocs": {
                          "description": "BasisPoint",
                          "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                        }
                      }
                    ]
                  },
                  "paymentMethodTypes": {
                    "description": "Payment method types that this payment product will accept",
                    "nullable": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "autopayRequired": {
                    "description": "Whether autopay is required for this payment product",
                    "nullable": false,
                    "type": "boolean"
                  },
                  "requiredDownPaymentBPS": {
                    "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                    "nullable": false,
                    "allOf": [
                      {
                        "type": "integer",
                        "description": "A value which represents one-hundredth of one percent.",
                        "minimum": 0,
                        "example": 500,
                        "externalDocs": {
                          "description": "BasisPoint",
                          "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                        }
                      }
                    ]
                  },
                  "legalAgreements": {
                    "description": "Legal agreements associated with this payment product",
                    "nullable": false,
                    "format": "application/json",
                    "type": "object"
                  },
                  "policies": {
                    "description": "Policies associated with this payment product",
                    "nullable": false,
                    "format": "application/json",
                    "type": "object"
                  },
                  "workflowIDs": {
                    "description": "Workflows associated with this payment product",
                    "nullable": false,
                    "format": "application/json",
                    "type": "object"
                  },
                  "createdAt": {
                    "description": "Time when this payment product was created",
                    "nullable": false,
                    "readOnly": true,
                    "allOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                        "example": "2020-12-31T15:10:55Z",
                        "externalDocs": {
                          "description": "RFC3339",
                          "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                        }
                      }
                    ]
                  },
                  "deletedAt": {
                    "description": "Time when this payment product was deleted",
                    "nullable": true,
                    "readOnly": true,
                    "allOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                        "example": "2020-12-31T15:10:55Z",
                        "externalDocs": {
                          "description": "RFC3339",
                          "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                        }
                      }
                    ]
                  },
                  "version": {
                    "description": "Payment Product version 1 or 2. Code will default to 1.",
                    "default": 1,
                    "type": "number"
                  },
                  "deferredPromoPeriod": {
                    "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                    "nullable": false,
                    "format": "duration",
                    "type": "string"
                  }
                }
              }
            ]
          },
          "merchantValues": {
            "description": "Merchant-payment product values contain values specific to a merchant-payment product relationship.",
            "type": "object",
            "properties": {
              "id": {
                "description": "Unique identifier for a merchant payment product value.",
                "allOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                    "externalDocs": {
                      "description": "RFC4122",
                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                    }
                  }
                ]
              },
              "merchantID": {
                "description": "Unique identifier for a merchant.",
                "allOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                    "externalDocs": {
                      "description": "RFC4122",
                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                    }
                  }
                ]
              },
              "paymentProductID": {
                "description": "Unique identifier for a payment product.",
                "allOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                    "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                    "externalDocs": {
                      "description": "RFC4122",
                      "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                    }
                  }
                ]
              },
              "discountRateBPS": {
                "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                "nullable": false,
                "allOf": [
                  {
                    "type": "integer",
                    "description": "A value which represents one-hundredth of one percent.",
                    "minimum": 0,
                    "example": 500,
                    "externalDocs": {
                      "description": "BasisPoint",
                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                    }
                  }
                ]
              },
              "transactionFee": {
                "description": "The transaction fee.",
                "nullable": false,
                "allOf": [
                  {
                    "required": [
                      "currency",
                      "value"
                    ],
                    "properties": {
                      "currency": {
                        "type": "string",
                        "description": "The three letter currency code as defined in ISO 4217.",
                        "example": "USD",
                        "minLength": 3,
                        "maxLength": 3,
                        "externalDocs": {
                          "description": "ISO 4217",
                          "url": "https://en.wikipedia.org/wiki/ISO_4217"
                        }
                      },
                      "value": {
                        "type": "integer",
                        "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                        "format": "int64",
                        "example": 100
                      }
                    },
                    "description": "Represents a monetary amount in the specified currency",
                    "example": {
                      "currency": "USD",
                      "value": 50000
                    }
                  }
                ]
              },
              "minCartSize": {
                "description": "The minimum cart size.",
                "nullable": false,
                "allOf": [
                  {
                    "required": [
                      "currency",
                      "value"
                    ],
                    "properties": {
                      "currency": {
                        "type": "string",
                        "description": "The three letter currency code as defined in ISO 4217.",
                        "example": "USD",
                        "minLength": 3,
                        "maxLength": 3,
                        "externalDocs": {
                          "description": "ISO 4217",
                          "url": "https://en.wikipedia.org/wiki/ISO_4217"
                        }
                      },
                      "value": {
                        "type": "integer",
                        "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                        "format": "int64",
                        "example": 100
                      }
                    },
                    "description": "Represents a monetary amount in the specified currency",
                    "example": {
                      "currency": "USD",
                      "value": 50000
                    }
                  }
                ]
              },
              "maxCartSize": {
                "description": "The maximum cart size.",
                "nullable": false,
                "allOf": [
                  {
                    "required": [
                      "currency",
                      "value"
                    ],
                    "properties": {
                      "currency": {
                        "type": "string",
                        "description": "The three letter currency code as defined in ISO 4217.",
                        "example": "USD",
                        "minLength": 3,
                        "maxLength": 3,
                        "externalDocs": {
                          "description": "ISO 4217",
                          "url": "https://en.wikipedia.org/wiki/ISO_4217"
                        }
                      },
                      "value": {
                        "type": "integer",
                        "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                        "format": "int64",
                        "example": 100
                      }
                    },
                    "description": "Represents a monetary amount in the specified currency",
                    "example": {
                      "currency": "USD",
                      "value": 50000
                    }
                  }
                ]
              },
              "pendingTxExpiration": {
                "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                "format": "duration",
                "nullable": false,
                "type": "string"
              },
              "authorizedTxExpiration": {
                "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                "format": "duration",
                "nullable": false,
                "type": "string"
              },
              "allowPartialSettlement": {
                "description": "Whether or partially settled transactions are allowed.",
                "nullable": false,
                "type": "boolean"
              },
              "partialSettlementTxExpiration": {
                "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                "format": "duration",
                "nullable": false,
                "type": "string"
              },
              "creditScoreThreshold": {
                "description": "minimum credit score a customer needs to see the payment product",
                "type": "number",
                "nullable": true
              },
              "downPaymentTransactionFee": {
                "description": "down payment transaction fee",
                "nullable": false,
                "allOf": [
                  {
                    "required": [
                      "currency",
                      "value"
                    ],
                    "properties": {
                      "currency": {
                        "type": "string",
                        "description": "The three letter currency code as defined in ISO 4217.",
                        "example": "USD",
                        "minLength": 3,
                        "maxLength": 3,
                        "externalDocs": {
                          "description": "ISO 4217",
                          "url": "https://en.wikipedia.org/wiki/ISO_4217"
                        }
                      },
                      "value": {
                        "type": "integer",
                        "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                        "format": "int64",
                        "example": 100
                      }
                    },
                    "description": "Represents a monetary amount in the specified currency",
                    "example": {
                      "currency": "USD",
                      "value": 50000
                    }
                  }
                ]
              },
              "preauthAmount": {
                "description": "The preauth amount",
                "nullable": true,
                "type": "integer"
              },
              "overflowDiscountRateBPS": {
                "description": "overflow discount rate",
                "allOf": [
                  {
                    "type": "integer",
                    "description": "A value which represents one-hundredth of one percent.",
                    "minimum": 0,
                    "example": 500,
                    "externalDocs": {
                      "description": "BasisPoint",
                      "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                    }
                  }
                ]
              },
              "policies": {
                "description": "Policies associated with the merchant's payment product",
                "nullable": false,
                "format": "application/json",
                "type": "object"
              },
              "createdAt": {
                "description": "Time when the merchant's payment product was created",
                "nullable": false,
                "readOnly": true,
                "allOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                    "example": "2020-12-31T15:10:55Z",
                    "externalDocs": {
                      "description": "RFC3339",
                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                    }
                  }
                ]
              },
              "deletedAt": {
                "description": "Time when the merchant's payment product was deleted",
                "nullable": true,
                "readOnly": true,
                "allOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                    "example": "2020-12-31T15:10:55Z",
                    "externalDocs": {
                      "description": "RFC3339",
                      "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                    }
                  }
                ]
              }
            }
          }
        }
      },
      "CreatePaymentProductInput": {
        "type": "object",
        "required": [
          "programID",
          "type",
          "name",
          "description",
          "numPayments",
          "paymentFrequency",
          "minInterestRateBPS",
          "maxInterestRateBPS",
          "paymentMethodTypes",
          "autopayRequired",
          "requiredDownPaymentBPS",
          "policies"
        ],
        "properties": {
          "id": {
            "description": "Unique identifier for a payment product. Optional; generated by server when omitted.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "type": {
            "allOf": [
              {
                "type": "string",
                "description": "The type of payment product",
                "enum": [
                  "INSTALLMENTS",
                  "SPLITPAY",
                  "DEBT_CONSOLIDATION",
                  "PERSONAL_LOAN",
                  "HYBRID_LINE_OF_CREDIT",
                  "DEFERRED_INTEREST_INSTALLMENTS"
                ],
                "example": "INSTALLMENTS"
              }
            ]
          },
          "name": {
            "description": "Name of payment product, human-readable",
            "type": "string"
          },
          "description": {
            "description": "Description of this payment product, human-readable",
            "type": "string"
          },
          "numPayments": {
            "description": "Number of expected payments",
            "minimum": 1,
            "type": "integer"
          },
          "paymentFrequency": {
            "description": "Frequency of expected payments expressed according to ISO 8601",
            "format": "duration",
            "type": "string"
          },
          "minInterestRateBPS": {
            "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "maxInterestRateBPS": {
            "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "paymentMethodTypes": {
            "description": "Payment method types that this payment product will accept",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "autopayRequired": {
            "description": "Whether autopay is required for this payment product",
            "type": "boolean"
          },
          "requiredDownPaymentBPS": {
            "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "legalAgreements": {
            "description": "Legal agreements associated with this payment product",
            "format": "application/json",
            "type": "object"
          },
          "policies": {
            "description": "Policies associated with this payment product",
            "format": "application/json",
            "type": "object"
          },
          "workflowIDs": {
            "description": "Workflows associated with this payment product",
            "format": "application/json",
            "type": "object"
          },
          "version": {
            "description": "Payment Product version 1 or 2. Code will default to 1.",
            "default": 1,
            "type": "number"
          },
          "deferredPromoPeriod": {
            "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
            "format": "duration",
            "type": "string"
          }
        }
      },
      "PaymentProduct": {
        "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
        "type": "object",
        "required": [
          "id",
          "programID",
          "type",
          "name",
          "description",
          "numPayments",
          "paymentFrequency",
          "minInterestRateBPS",
          "maxInterestRateBPS",
          "paymentMethodTypes",
          "autopayRequired",
          "requiredDownPaymentBPS",
          "legalAgreements",
          "policies",
          "workflowIDs",
          "createdAt"
        ],
        "properties": {
          "id": {
            "description": "Unique identifier for a payment product.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "type": {
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "description": "The type of payment product",
                "enum": [
                  "INSTALLMENTS",
                  "SPLITPAY",
                  "DEBT_CONSOLIDATION",
                  "PERSONAL_LOAN",
                  "HYBRID_LINE_OF_CREDIT",
                  "DEFERRED_INTEREST_INSTALLMENTS"
                ],
                "example": "INSTALLMENTS"
              }
            ]
          },
          "name": {
            "description": "Name of payment product, human-readable",
            "nullable": false,
            "type": "string"
          },
          "description": {
            "description": "Description of this payment product, human-readable",
            "nullable": false,
            "type": "string"
          },
          "numPayments": {
            "description": "Number of expected payments",
            "nullable": false,
            "minimum": 1,
            "type": "integer"
          },
          "paymentFrequency": {
            "description": "Frequency of expected payments expressed according to ISO 8601",
            "nullable": false,
            "format": "duration",
            "type": "string"
          },
          "minInterestRateBPS": {
            "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "maxInterestRateBPS": {
            "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "paymentMethodTypes": {
            "description": "Payment method types that this payment product will accept",
            "nullable": false,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "autopayRequired": {
            "description": "Whether autopay is required for this payment product",
            "nullable": false,
            "type": "boolean"
          },
          "requiredDownPaymentBPS": {
            "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "legalAgreements": {
            "description": "Legal agreements associated with this payment product",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "policies": {
            "description": "Policies associated with this payment product",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "workflowIDs": {
            "description": "Workflows associated with this payment product",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "createdAt": {
            "description": "Time when this payment product was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when this payment product was deleted",
            "nullable": true,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "version": {
            "description": "Payment Product version 1 or 2. Code will default to 1.",
            "default": 1,
            "type": "number"
          },
          "deferredPromoPeriod": {
            "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
            "nullable": false,
            "format": "duration",
            "type": "string"
          }
        }
      },
      "PaymentProductWithoutPolices": {
        "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
        "type": "object",
        "required": [
          "id",
          "programID",
          "type",
          "name",
          "description",
          "numPayments",
          "paymentFrequency",
          "minInterestRateBPS",
          "maxInterestRateBPS",
          "paymentMethodTypes",
          "autopayRequired",
          "requiredDownPaymentBPS",
          "legalAgreements",
          "policies",
          "workflowIDs",
          "createdAt"
        ],
        "properties": {
          "id": {
            "description": "Unique identifier for a payment product.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "type": {
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "description": "The type of payment product",
                "enum": [
                  "INSTALLMENTS",
                  "SPLITPAY",
                  "DEBT_CONSOLIDATION",
                  "PERSONAL_LOAN",
                  "HYBRID_LINE_OF_CREDIT",
                  "DEFERRED_INTEREST_INSTALLMENTS"
                ],
                "example": "INSTALLMENTS"
              }
            ]
          },
          "name": {
            "description": "Name of payment product, human-readable",
            "nullable": false,
            "type": "string"
          },
          "description": {
            "description": "Description of this payment product, human-readable",
            "nullable": false,
            "type": "string"
          },
          "numPayments": {
            "description": "Number of expected payments",
            "nullable": false,
            "minimum": 1,
            "type": "integer"
          },
          "paymentFrequency": {
            "description": "Frequency of expected payments expressed according to ISO 8601",
            "nullable": false,
            "format": "duration",
            "type": "string"
          },
          "minInterestRateBPS": {
            "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "maxInterestRateBPS": {
            "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "paymentMethodTypes": {
            "description": "Payment method types that this payment product will accept",
            "nullable": false,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "autopayRequired": {
            "description": "Whether autopay is required for this payment product",
            "nullable": false,
            "type": "boolean"
          },
          "requiredDownPaymentBPS": {
            "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "legalAgreements": {
            "description": "Legal agreements associated with this payment product",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "workflowIDs": {
            "description": "Workflows associated with this payment product",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "createdAt": {
            "description": "Time when this payment product was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when this payment product was deleted",
            "nullable": true,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deferredPromoPeriod": {
            "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
            "nullable": false,
            "format": "duration",
            "type": "string"
          }
        }
      },
      "Program": {
        "description": "A program contains a reference to a tenant and details of a program they offer.",
        "type": "object",
        "required": [
          "tenantID",
          "name",
          "channel",
          "currency",
          "defaultLanguage",
          "displayInterestRateBPS"
        ],
        "properties": {
          "id": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "tenantID": {
            "description": "Unique identifier for a tenant.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "name": {
            "description": "Program name, human-readable",
            "nullable": false,
            "type": "string"
          },
          "channel": {
            "description": "The intended sales channel for the program",
            "type": "string",
            "default": "ECOMM"
          },
          "checkoutMode": {
            "description": "A Virtual Card setting that describes the checkout mode. Optional",
            "enum": [
              "UNSET",
              "VirtualCard",
              "PointOfSale"
            ]
          },
          "currency": {
            "description": "Currency used by this program.",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "description": "The three letter currency code as defined in ISO 4217.",
                "example": "USD",
                "minLength": 3,
                "maxLength": 3,
                "externalDocs": {
                  "description": "ISO 4217",
                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                }
              }
            ]
          },
          "defaultLanguage": {
            "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                "minLength": 2,
                "example": "en or en-US",
                "externalDocs": {
                  "description": "ISO 639-1",
                  "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                }
              }
            ]
          },
          "displayInterestRateBPS": {
            "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "capabilities": {
            "nullable": false,
            "allOf": [
              {
                "type": "object",
                "properties": {
                  "downPayment": {
                    "type": "object",
                    "properties": {
                      "installments": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "installments"
                    ]
                  }
                }
              }
            ]
          },
          "programGroup": {
            "description": "Program Group name",
            "type": "string"
          },
          "checkoutChannel": {
            "description": "Checkout Channel name",
            "type": "string"
          },
          "createdAt": {
            "description": "Time when this program was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when this program was deleted",
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "Programs": {
        "description": "Array of programs",
        "type": "array",
        "items": {
          "description": "A program contains a reference to a tenant and details of a program they offer.",
          "type": "object",
          "required": [
            "tenantID",
            "name",
            "channel",
            "currency",
            "defaultLanguage",
            "displayInterestRateBPS"
          ],
          "properties": {
            "id": {
              "description": "Unique identifier for a program.",
              "allOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                  "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                  "externalDocs": {
                    "description": "RFC4122",
                    "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                  }
                }
              ]
            },
            "tenantID": {
              "description": "Unique identifier for a tenant.",
              "allOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                  "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                  "externalDocs": {
                    "description": "RFC4122",
                    "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                  }
                }
              ]
            },
            "name": {
              "description": "Program name, human-readable",
              "nullable": false,
              "type": "string"
            },
            "channel": {
              "description": "The intended sales channel for the program",
              "type": "string",
              "default": "ECOMM"
            },
            "checkoutMode": {
              "description": "A Virtual Card setting that describes the checkout mode. Optional",
              "enum": [
                "UNSET",
                "VirtualCard",
                "PointOfSale"
              ]
            },
            "currency": {
              "description": "Currency used by this program.",
              "nullable": false,
              "allOf": [
                {
                  "type": "string",
                  "description": "The three letter currency code as defined in ISO 4217.",
                  "example": "USD",
                  "minLength": 3,
                  "maxLength": 3,
                  "externalDocs": {
                    "description": "ISO 4217",
                    "url": "https://en.wikipedia.org/wiki/ISO_4217"
                  }
                }
              ]
            },
            "defaultLanguage": {
              "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
              "nullable": false,
              "allOf": [
                {
                  "type": "string",
                  "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                  "minLength": 2,
                  "example": "en or en-US",
                  "externalDocs": {
                    "description": "ISO 639-1",
                    "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                  }
                }
              ]
            },
            "displayInterestRateBPS": {
              "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
              "nullable": false,
              "allOf": [
                {
                  "type": "integer",
                  "description": "A value which represents one-hundredth of one percent.",
                  "minimum": 0,
                  "example": 500,
                  "externalDocs": {
                    "description": "BasisPoint",
                    "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                  }
                }
              ]
            },
            "capabilities": {
              "nullable": false,
              "allOf": [
                {
                  "type": "object",
                  "properties": {
                    "downPayment": {
                      "type": "object",
                      "properties": {
                        "installments": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "installments"
                      ]
                    }
                  }
                }
              ]
            },
            "programGroup": {
              "description": "Program Group name",
              "type": "string"
            },
            "checkoutChannel": {
              "description": "Checkout Channel name",
              "type": "string"
            },
            "createdAt": {
              "description": "Time when this program was created",
              "nullable": false,
              "readOnly": true,
              "allOf": [
                {
                  "type": "string",
                  "format": "date-time",
                  "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                  "example": "2020-12-31T15:10:55Z",
                  "externalDocs": {
                    "description": "RFC3339",
                    "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                  }
                }
              ]
            },
            "deletedAt": {
              "description": "Time when this program was deleted",
              "readOnly": true,
              "allOf": [
                {
                  "type": "string",
                  "format": "date-time",
                  "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                  "example": "2020-12-31T15:10:55Z",
                  "externalDocs": {
                    "description": "RFC3339",
                    "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                  }
                }
              ]
            }
          }
        }
      },
      "ProgramV2Response": {
        "description": "A program contains a reference to a tenant and details of a program they offer.",
        "type": "object",
        "required": [
          "id",
          "tenantID",
          "name",
          "channel",
          "currency",
          "defaultLanguage",
          "displayInterestRateBPS",
          "capabilities",
          "createdAt"
        ],
        "properties": {
          "id": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "tenantID": {
            "description": "Unique identifier for a tenant.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "name": {
            "description": "Program name, human-readable",
            "nullable": false,
            "type": "string"
          },
          "channel": {
            "description": "The intended sales channel for the program",
            "type": "string",
            "default": "ECOMM"
          },
          "checkoutMode": {
            "description": "A Virtual Card setting that describes the checkout mode. Optional",
            "enum": [
              "UNSET",
              "VirtualCard",
              "PointOfSale"
            ]
          },
          "currency": {
            "description": "Currency used by this program.",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "description": "The three letter currency code as defined in ISO 4217.",
                "example": "USD",
                "minLength": 3,
                "maxLength": 3,
                "externalDocs": {
                  "description": "ISO 4217",
                  "url": "https://en.wikipedia.org/wiki/ISO_4217"
                }
              }
            ]
          },
          "defaultLanguage": {
            "description": "Language associated with this program, e.g. en-us (ISO 3166-1 and ISO 639-1)",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "description": "The two language code as defined in ISO 639-1 along with subtags tag if applicable.",
                "minLength": 2,
                "example": "en or en-US",
                "externalDocs": {
                  "description": "ISO 639-1",
                  "url": "https://en.wikipedia.org/wiki/ISO_639-1"
                }
              }
            ]
          },
          "displayInterestRateBPS": {
            "description": "Interest rate to display in “as low as” copy in checkout experience expressed in basis points. (e.g. 9.99% -> 999)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "capabilities": {
            "nullable": false,
            "allOf": [
              {
                "type": "object",
                "properties": {
                  "downPayment": {
                    "type": "object",
                    "properties": {
                      "installments": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "installments"
                    ]
                  }
                }
              }
            ]
          },
          "programGroup": {
            "description": "Program Group name",
            "type": "string"
          },
          "createdAt": {
            "description": "Time when this program was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when this program was deleted",
            "nullable": true,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "UpdateMerchantProgramValuesRequest": {
        "description": "A Request to Update Merchant Program Values",
        "type": "object",
        "properties": {
          "defaultOTPMethod": {
            "description": "The default OTP Method.",
            "type": "string",
            "example": "SMS"
          },
          "defaultCartAmount": {
            "description": "Default cart amount",
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "policies": {
            "description": "Policies associated with this merchant-program.",
            "format": "application/json",
            "type": "object"
          },
          "virtualCard": {
            "description": "Virtual Card JSON data",
            "format": "application/json",
            "type": "object"
          },
          "allowRescission": {
            "description": "if allow the rescission",
            "nullable": true,
            "type": "boolean"
          },
          "capabilities": {
            "nullable": false,
            "allOf": [
              {
                "type": "object",
                "properties": {
                  "downPayment": {
                    "type": "object",
                    "properties": {
                      "installments": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "installments"
                    ]
                  }
                }
              }
            ]
          },
          "applicationExpiration": {
            "description": "application expiration",
            "type": "string",
            "example": "P7D"
          },
          "tofProcessors": {
            "description": "Top of Funnel.",
            "type": "string",
            "nullable": false
          }
        }
      },
      "UpdateUICustomizationRequest": {
        "description": "A Request to Update a UI Customization",
        "type": "object",
        "properties": {
          "logoUrl": {
            "description": "An URL for the company.",
            "type": "string",
            "example": "www.breadpayments.com"
          },
          "checkoutPrimaryColor": {
            "description": "Primary Color.",
            "type": "string",
            "example": "#A12B35"
          },
          "paymentMethodDisplay": {
            "description": "Payment Method to Display",
            "type": "string",
            "example": "Pay Over Time"
          },
          "noOrderPromoTextInstallments": {
            "description": "The Promo Text",
            "type": "string",
            "example": "Easy monthly payments"
          }
        }
      },
      "ProgramError": {
        "type": "object",
        "description": "Default error model for program service errors",
        "allOf": [
          {
            "required": [
              "code",
              "domain",
              "message"
            ],
            "type": "object",
            "properties": {
              "code": {
                "type": "integer",
                "description": "The underlying http status code",
                "format": "int32",
                "example": 500
              },
              "message": {
                "type": "string",
                "description": "A simple message in english describing the error and can be returned to the consumer",
                "example": "Age cannot be less than 18"
              },
              "domain": {
                "type": "string",
                "description": "The domain where the error is originating from as defined by the service",
                "example": "Payments"
              },
              "metadata": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                "example": {
                  "propertyName": "propertyName is required"
                }
              }
            }
          }
        ],
        "properties": {
          "reason": {
            "type": "string",
            "description": "Program creation error reason codes",
            "enum": [
              "Unauthorized",
              "Request_Validation",
              "Internal_Server_Failure",
              "Dependency_Unavailable"
            ]
          }
        }
      },
      "ProgramErrorReason": {
        "type": "string",
        "description": "Program creation error reason codes",
        "enum": [
          "Unauthorized",
          "Request_Validation",
          "Internal_Server_Failure",
          "Dependency_Unavailable"
        ]
      },
      "ProgramPaymentProductsResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
              "type": "object",
              "required": [
                "id",
                "programID",
                "type",
                "name",
                "description",
                "numPayments",
                "paymentFrequency",
                "minInterestRateBPS",
                "maxInterestRateBPS",
                "paymentMethodTypes",
                "autopayRequired",
                "requiredDownPaymentBPS",
                "legalAgreements",
                "policies",
                "workflowIDs",
                "createdAt"
              ],
              "properties": {
                "id": {
                  "description": "Unique identifier for a payment product.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "type": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "description": "The type of payment product",
                      "enum": [
                        "INSTALLMENTS",
                        "SPLITPAY",
                        "DEBT_CONSOLIDATION",
                        "PERSONAL_LOAN",
                        "HYBRID_LINE_OF_CREDIT",
                        "DEFERRED_INTEREST_INSTALLMENTS"
                      ],
                      "example": "INSTALLMENTS"
                    }
                  ]
                },
                "name": {
                  "description": "Name of payment product, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "description": {
                  "description": "Description of this payment product, human-readable",
                  "nullable": false,
                  "type": "string"
                },
                "numPayments": {
                  "description": "Number of expected payments",
                  "nullable": false,
                  "minimum": 1,
                  "type": "integer"
                },
                "paymentFrequency": {
                  "description": "Frequency of expected payments expressed according to ISO 8601",
                  "nullable": false,
                  "format": "duration",
                  "type": "string"
                },
                "minInterestRateBPS": {
                  "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "maxInterestRateBPS": {
                  "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "paymentMethodTypes": {
                  "description": "Payment method types that this payment product will accept",
                  "nullable": false,
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "autopayRequired": {
                  "description": "Whether autopay is required for this payment product",
                  "nullable": false,
                  "type": "boolean"
                },
                "requiredDownPaymentBPS": {
                  "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "integer",
                      "description": "A value which represents one-hundredth of one percent.",
                      "minimum": 0,
                      "example": 500,
                      "externalDocs": {
                        "description": "BasisPoint",
                        "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                      }
                    }
                  ]
                },
                "legalAgreements": {
                  "description": "Legal agreements associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "policies": {
                  "description": "Policies associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "workflowIDs": {
                  "description": "Workflows associated with this payment product",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "createdAt": {
                  "description": "Time when this payment product was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this payment product was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "version": {
                  "description": "Payment Product version 1 or 2. Code will default to 1.",
                  "default": 1,
                  "type": "number"
                },
                "deferredPromoPeriod": {
                  "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                  "nullable": false,
                  "format": "duration",
                  "type": "string"
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "PaymentProductAggregationResponse": {
        "type": "object",
        "properties": {
          "aggregations": {
            "type": "array",
            "items": {
              "description": "An aggregation contains aggregated count of a term indicated by the key",
              "properties": {
                "key": {
                  "description": "The aggregated key.",
                  "type": "string"
                },
                "count": {
                  "description": "The aggregated count matching the key.",
                  "type": "integer"
                }
              }
            }
          }
        }
      },
      "MerchantPaymentProductsResponse": {
        "type": "object",
        "properties": {
          "merchantPaymentProducts": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "description": "A merchant payment product contains the payment product values specific to the merchant.",
              "type": "object",
              "properties": {
                "paymentProduct": {
                  "allOf": [
                    {
                      "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                      "type": "object",
                      "required": [
                        "id",
                        "programID",
                        "type",
                        "name",
                        "description",
                        "numPayments",
                        "paymentFrequency",
                        "minInterestRateBPS",
                        "maxInterestRateBPS",
                        "paymentMethodTypes",
                        "autopayRequired",
                        "requiredDownPaymentBPS",
                        "legalAgreements",
                        "policies",
                        "workflowIDs",
                        "createdAt"
                      ],
                      "properties": {
                        "id": {
                          "description": "Unique identifier for a payment product.",
                          "allOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                              "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                              "externalDocs": {
                                "description": "RFC4122",
                                "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                              }
                            }
                          ]
                        },
                        "programID": {
                          "description": "Unique identifier for a program.",
                          "allOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                              "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                              "externalDocs": {
                                "description": "RFC4122",
                                "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                              }
                            }
                          ]
                        },
                        "type": {
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "string",
                              "description": "The type of payment product",
                              "enum": [
                                "INSTALLMENTS",
                                "SPLITPAY",
                                "DEBT_CONSOLIDATION",
                                "PERSONAL_LOAN",
                                "HYBRID_LINE_OF_CREDIT",
                                "DEFERRED_INTEREST_INSTALLMENTS"
                              ],
                              "example": "INSTALLMENTS"
                            }
                          ]
                        },
                        "name": {
                          "description": "Name of payment product, human-readable",
                          "nullable": false,
                          "type": "string"
                        },
                        "description": {
                          "description": "Description of this payment product, human-readable",
                          "nullable": false,
                          "type": "string"
                        },
                        "numPayments": {
                          "description": "Number of expected payments",
                          "nullable": false,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "paymentFrequency": {
                          "description": "Frequency of expected payments expressed according to ISO 8601",
                          "nullable": false,
                          "format": "duration",
                          "type": "string"
                        },
                        "minInterestRateBPS": {
                          "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "integer",
                              "description": "A value which represents one-hundredth of one percent.",
                              "minimum": 0,
                              "example": 500,
                              "externalDocs": {
                                "description": "BasisPoint",
                                "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                              }
                            }
                          ]
                        },
                        "maxInterestRateBPS": {
                          "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "integer",
                              "description": "A value which represents one-hundredth of one percent.",
                              "minimum": 0,
                              "example": 500,
                              "externalDocs": {
                                "description": "BasisPoint",
                                "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                              }
                            }
                          ]
                        },
                        "paymentMethodTypes": {
                          "description": "Payment method types that this payment product will accept",
                          "nullable": false,
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "autopayRequired": {
                          "description": "Whether autopay is required for this payment product",
                          "nullable": false,
                          "type": "boolean"
                        },
                        "requiredDownPaymentBPS": {
                          "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "integer",
                              "description": "A value which represents one-hundredth of one percent.",
                              "minimum": 0,
                              "example": 500,
                              "externalDocs": {
                                "description": "BasisPoint",
                                "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                              }
                            }
                          ]
                        },
                        "legalAgreements": {
                          "description": "Legal agreements associated with this payment product",
                          "nullable": false,
                          "format": "application/json",
                          "type": "object"
                        },
                        "policies": {
                          "description": "Policies associated with this payment product",
                          "nullable": false,
                          "format": "application/json",
                          "type": "object"
                        },
                        "workflowIDs": {
                          "description": "Workflows associated with this payment product",
                          "nullable": false,
                          "format": "application/json",
                          "type": "object"
                        },
                        "createdAt": {
                          "description": "Time when this payment product was created",
                          "nullable": false,
                          "readOnly": true,
                          "allOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                              "example": "2020-12-31T15:10:55Z",
                              "externalDocs": {
                                "description": "RFC3339",
                                "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                              }
                            }
                          ]
                        },
                        "deletedAt": {
                          "description": "Time when this payment product was deleted",
                          "nullable": true,
                          "readOnly": true,
                          "allOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                              "example": "2020-12-31T15:10:55Z",
                              "externalDocs": {
                                "description": "RFC3339",
                                "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                              }
                            }
                          ]
                        },
                        "version": {
                          "description": "Payment Product version 1 or 2. Code will default to 1.",
                          "default": 1,
                          "type": "number"
                        },
                        "deferredPromoPeriod": {
                          "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                          "nullable": false,
                          "format": "duration",
                          "type": "string"
                        }
                      }
                    }
                  ]
                },
                "merchantValues": {
                  "description": "Merchant-payment product values contain values specific to a merchant-payment product relationship.",
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Unique identifier for a merchant payment product value.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantID": {
                      "description": "Unique identifier for a merchant.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "paymentProductID": {
                      "description": "Unique identifier for a payment product.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "discountRateBPS": {
                      "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "transactionFee": {
                      "description": "The transaction fee.",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "minCartSize": {
                      "description": "The minimum cart size.",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "maxCartSize": {
                      "description": "The maximum cart size.",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "pendingTxExpiration": {
                      "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "authorizedTxExpiration": {
                      "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "allowPartialSettlement": {
                      "description": "Whether or partially settled transactions are allowed.",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "partialSettlementTxExpiration": {
                      "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "creditScoreThreshold": {
                      "description": "minimum credit score a customer needs to see the payment product",
                      "type": "number",
                      "nullable": true
                    },
                    "downPaymentTransactionFee": {
                      "description": "down payment transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "preauthAmount": {
                      "description": "The preauth amount",
                      "nullable": true,
                      "type": "integer"
                    },
                    "overflowDiscountRateBPS": {
                      "description": "overflow discount rate",
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "policies": {
                      "description": "Policies associated with the merchant's payment product",
                      "nullable": false,
                      "format": "application/json",
                      "type": "object"
                    },
                    "createdAt": {
                      "description": "Time when the merchant's payment product was created",
                      "nullable": false,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "deletedAt": {
                      "description": "Time when the merchant's payment product was deleted",
                      "nullable": true,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      },
      "MerchantPaymentProductsEnrollmentResponse": {
        "description": "A list of merchant payment product enrollments",
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "description": "A merchant payment product contains the payment product values specific to the merchant.",
              "type": "object",
              "properties": {
                "paymentProduct": {
                  "allOf": [
                    {
                      "description": "A payment product contains the details of a financing option under a program that a merchant has opted into.",
                      "type": "object",
                      "required": [
                        "id",
                        "programID",
                        "type",
                        "name",
                        "description",
                        "numPayments",
                        "paymentFrequency",
                        "minInterestRateBPS",
                        "maxInterestRateBPS",
                        "paymentMethodTypes",
                        "autopayRequired",
                        "requiredDownPaymentBPS",
                        "legalAgreements",
                        "policies",
                        "workflowIDs",
                        "createdAt"
                      ],
                      "properties": {
                        "id": {
                          "description": "Unique identifier for a payment product.",
                          "allOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                              "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                              "externalDocs": {
                                "description": "RFC4122",
                                "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                              }
                            }
                          ]
                        },
                        "programID": {
                          "description": "Unique identifier for a program.",
                          "allOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                              "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                              "externalDocs": {
                                "description": "RFC4122",
                                "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                              }
                            }
                          ]
                        },
                        "type": {
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "string",
                              "description": "The type of payment product",
                              "enum": [
                                "INSTALLMENTS",
                                "SPLITPAY",
                                "DEBT_CONSOLIDATION",
                                "PERSONAL_LOAN",
                                "HYBRID_LINE_OF_CREDIT",
                                "DEFERRED_INTEREST_INSTALLMENTS"
                              ],
                              "example": "INSTALLMENTS"
                            }
                          ]
                        },
                        "name": {
                          "description": "Name of payment product, human-readable",
                          "nullable": false,
                          "type": "string"
                        },
                        "description": {
                          "description": "Description of this payment product, human-readable",
                          "nullable": false,
                          "type": "string"
                        },
                        "numPayments": {
                          "description": "Number of expected payments",
                          "nullable": false,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "paymentFrequency": {
                          "description": "Frequency of expected payments expressed according to ISO 8601",
                          "nullable": false,
                          "format": "duration",
                          "type": "string"
                        },
                        "minInterestRateBPS": {
                          "description": "Minimum interest rate associated with this product expressed in basis points. (e.g. 0.99% -> 99)",
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "integer",
                              "description": "A value which represents one-hundredth of one percent.",
                              "minimum": 0,
                              "example": 500,
                              "externalDocs": {
                                "description": "BasisPoint",
                                "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                              }
                            }
                          ]
                        },
                        "maxInterestRateBPS": {
                          "description": "Maximum interest rate associated with this product expressed in basis points. (e.g. 24.99% -> 2499)",
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "integer",
                              "description": "A value which represents one-hundredth of one percent.",
                              "minimum": 0,
                              "example": 500,
                              "externalDocs": {
                                "description": "BasisPoint",
                                "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                              }
                            }
                          ]
                        },
                        "paymentMethodTypes": {
                          "description": "Payment method types that this payment product will accept",
                          "nullable": false,
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "autopayRequired": {
                          "description": "Whether autopay is required for this payment product",
                          "nullable": false,
                          "type": "boolean"
                        },
                        "requiredDownPaymentBPS": {
                          "description": "The amount of down payment collected by this payment product expressed in basis points. (e.g. 50% -> 5000)",
                          "nullable": false,
                          "allOf": [
                            {
                              "type": "integer",
                              "description": "A value which represents one-hundredth of one percent.",
                              "minimum": 0,
                              "example": 500,
                              "externalDocs": {
                                "description": "BasisPoint",
                                "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                              }
                            }
                          ]
                        },
                        "legalAgreements": {
                          "description": "Legal agreements associated with this payment product",
                          "nullable": false,
                          "format": "application/json",
                          "type": "object"
                        },
                        "policies": {
                          "description": "Policies associated with this payment product",
                          "nullable": false,
                          "format": "application/json",
                          "type": "object"
                        },
                        "workflowIDs": {
                          "description": "Workflows associated with this payment product",
                          "nullable": false,
                          "format": "application/json",
                          "type": "object"
                        },
                        "createdAt": {
                          "description": "Time when this payment product was created",
                          "nullable": false,
                          "readOnly": true,
                          "allOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                              "example": "2020-12-31T15:10:55Z",
                              "externalDocs": {
                                "description": "RFC3339",
                                "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                              }
                            }
                          ]
                        },
                        "deletedAt": {
                          "description": "Time when this payment product was deleted",
                          "nullable": true,
                          "readOnly": true,
                          "allOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                              "example": "2020-12-31T15:10:55Z",
                              "externalDocs": {
                                "description": "RFC3339",
                                "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                              }
                            }
                          ]
                        },
                        "version": {
                          "description": "Payment Product version 1 or 2. Code will default to 1.",
                          "default": 1,
                          "type": "number"
                        },
                        "deferredPromoPeriod": {
                          "description": "The deferred interest promotional period expressed according to ISO 8601. Must not exceed 50% of the loan term (numPayments * paymentFrequency). Only applicable when type is DEFERRED_INTEREST_INSTALLMENTS.",
                          "nullable": false,
                          "format": "duration",
                          "type": "string"
                        }
                      }
                    }
                  ]
                },
                "merchantValues": {
                  "description": "Merchant-payment product values contain values specific to a merchant-payment product relationship.",
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Unique identifier for a merchant payment product value.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantID": {
                      "description": "Unique identifier for a merchant.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "paymentProductID": {
                      "description": "Unique identifier for a payment product.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "discountRateBPS": {
                      "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
                      "nullable": false,
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "transactionFee": {
                      "description": "The transaction fee.",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "minCartSize": {
                      "description": "The minimum cart size.",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "maxCartSize": {
                      "description": "The maximum cart size.",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "pendingTxExpiration": {
                      "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "authorizedTxExpiration": {
                      "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "allowPartialSettlement": {
                      "description": "Whether or partially settled transactions are allowed.",
                      "nullable": false,
                      "type": "boolean"
                    },
                    "partialSettlementTxExpiration": {
                      "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
                      "format": "duration",
                      "nullable": false,
                      "type": "string"
                    },
                    "creditScoreThreshold": {
                      "description": "minimum credit score a customer needs to see the payment product",
                      "type": "number",
                      "nullable": true
                    },
                    "downPaymentTransactionFee": {
                      "description": "down payment transaction fee",
                      "nullable": false,
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "preauthAmount": {
                      "description": "The preauth amount",
                      "nullable": true,
                      "type": "integer"
                    },
                    "overflowDiscountRateBPS": {
                      "description": "overflow discount rate",
                      "allOf": [
                        {
                          "type": "integer",
                          "description": "A value which represents one-hundredth of one percent.",
                          "minimum": 0,
                          "example": 500,
                          "externalDocs": {
                            "description": "BasisPoint",
                            "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                          }
                        }
                      ]
                    },
                    "policies": {
                      "description": "Policies associated with the merchant's payment product",
                      "nullable": false,
                      "format": "application/json",
                      "type": "object"
                    },
                    "createdAt": {
                      "description": "Time when the merchant's payment product was created",
                      "nullable": false,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "deletedAt": {
                      "description": "Time when the merchant's payment product was deleted",
                      "nullable": true,
                      "readOnly": true,
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "MerchantPaymentProductsEnrollmentSummary": {
        "description": "A summary of merchant payment product enrollments",
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "programID": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for a program.",
                  "example": "ba338f7e-2636-4920-bf5d-a34612ae9f28"
                },
                "programName": {
                  "type": "string",
                  "description": "Name of program, human-readable",
                  "example": "SplitPay"
                },
                "paymentProducts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "paymentProductID": {
                        "type": "string",
                        "format": "uuid",
                        "description": "Unique identifier for a payment product.",
                        "example": "ba338f7e-2636-4920-bf5d-a34612ae9f28"
                      },
                      "paymentProductName": {
                        "type": "string",
                        "description": "Name of payment product, human-readable",
                        "example": "12 Month - 0% APR"
                      },
                      "enrolledMerchants": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "List of merchant IDs that are enrolled in this payment product",
                        "example": [
                          "ba338f7e-2636-4920-bf5d-a34612ae9f29",
                          "da338f7e-2636-4920-bf5d-a34612ae9f27"
                        ]
                      },
                      "hasDiscrepancy": {
                        "type": "boolean",
                        "description": "Whether there is a discrepancy in some field between enrollments",
                        "example": false
                      }
                    }
                  }
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "ExperienceKey": {
        "description": "An experience key provides convenient access to a unique set of identifiers that are used together.",
        "type": "object",
        "properties": {
          "id": {
            "description": "Experience ID (UUID)",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "merchantID": {
            "description": "Unique identifier for a merchant.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "appID": {
            "description": "Associated appID used by auth.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "externalID": {
            "description": "External ID: An example of an external id is the merchant id in the ADS system",
            "nullable": true,
            "type": "string"
          },
          "locationID": {
            "description": "A unique identifier for an in-store location.",
            "nullable": true,
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "locationShortCode": {
            "description": "A compact string uniquely associated with a locationID.",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "description": "Time when this experience was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when this experience was deleted",
            "nullable": true,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "updatedAt": {
            "description": "Time when this experience was updated",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "ExperienceKeys": {
        "description": "An object containing an array of experience keys",
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "description": "An experience key provides convenient access to a unique set of identifiers that are used together.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Experience ID (UUID)",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "appID": {
                  "description": "Associated appID used by auth.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "externalID": {
                  "description": "External ID: An example of an external id is the merchant id in the ADS system",
                  "nullable": true,
                  "type": "string"
                },
                "locationID": {
                  "description": "A unique identifier for an in-store location.",
                  "nullable": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "locationShortCode": {
                  "description": "A compact string uniquely associated with a locationID.",
                  "nullable": true,
                  "type": "string"
                },
                "createdAt": {
                  "description": "Time when this experience was created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time when this experience was deleted",
                  "nullable": true,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "updatedAt": {
                  "description": "Time when this experience was updated",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "ExperienceError": {
        "type": "object",
        "description": "Default error model for errors related to experience keys",
        "allOf": [
          {
            "required": [
              "code",
              "domain",
              "message"
            ],
            "type": "object",
            "properties": {
              "code": {
                "type": "integer",
                "description": "The underlying http status code",
                "format": "int32",
                "example": 500
              },
              "message": {
                "type": "string",
                "description": "A simple message in english describing the error and can be returned to the consumer",
                "example": "Age cannot be less than 18"
              },
              "domain": {
                "type": "string",
                "description": "The domain where the error is originating from as defined by the service",
                "example": "Payments"
              },
              "metadata": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Any additional details to be conveyed as determined by the service. If present, will return map of key value pairs",
                "example": {
                  "propertyName": "propertyName is required"
                }
              }
            }
          }
        ],
        "properties": {
          "reason": {
            "type": "string",
            "description": "Program creating error reason codes",
            "enum": [
              "Unauthorized",
              "Request_Validation",
              "Not_Found",
              "Internal_Server_Failure",
              "Dependency_Unavailable"
            ]
          }
        }
      },
      "ExperienceErrorReason": {
        "type": "string",
        "description": "Program creating error reason codes",
        "enum": [
          "Unauthorized",
          "Request_Validation",
          "Not_Found",
          "Internal_Server_Failure",
          "Dependency_Unavailable"
        ]
      },
      "MerchantExperience": {
        "description": "A merchant experience provides convenient access to a unique set of identifiers that are used together.",
        "type": "object",
        "properties": {
          "id": {
            "description": "Experience ID (UUID)",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "merchantID": {
            "description": "Unique identifier for a merchant.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "appID": {
            "description": "Associated appID used by auth.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "externalID": {
            "description": "External ID: An example of an external id is the merchant id in the ADS system",
            "nullable": true,
            "type": "string"
          },
          "locationID": {
            "description": "A unique identifier for an in-store location.",
            "nullable": true,
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "locationShortCode": {
            "description": "A compact string uniquely associated with a locationID.",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "description": "Time when this experience was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when this experience was deleted",
            "nullable": true,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "updatedAt": {
            "description": "Time when this experience was updated",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "MerchantProgramParticipation": {
        "description": "Merchant program participation contain information from a merchant that is tied to a program the merchant participates in.",
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for a set of merchant program participation.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "merchantID": {
            "description": "Unique identifier for a merchant.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "defaultOTPMethod": {
            "description": "Default One Time Password (OTP) delivery method.",
            "enum": [
              "EMAIL",
              "SMS"
            ],
            "nullable": false,
            "type": "string"
          },
          "applicationExpiration": {
            "description": "application expiration",
            "nullable": true,
            "type": "string"
          },
          "allowRescission": {
            "description": "if allow the rescission",
            "nullable": true,
            "type": "boolean"
          },
          "defaultCartAmount": {
            "description": "Default cart amount",
            "nullable": false,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "capabilities": {
            "nullable": false,
            "allOf": [
              {
                "type": "object",
                "properties": {
                  "downPayment": {
                    "type": "object",
                    "properties": {
                      "installments": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "installments"
                    ]
                  }
                }
              }
            ]
          },
          "virtualCard": {
            "description": "Virtual card JSON data",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "tofProcessors": {
            "description": "Top of Funnel.",
            "type": "string",
            "nullable": false
          },
          "createdAt": {
            "description": "Time these values were created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time these values were deleted",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "PaginatedMerchantProgramParticipation": {
        "description": "Array of merchant program participation values, along with pagination metadata",
        "type": "object",
        "properties": {
          "items": {
            "description": "Array of MerchantProgramParticipation",
            "type": "array",
            "items": {
              "description": "Merchant program participation contain information from a merchant that is tied to a program the merchant participates in.",
              "type": "object",
              "properties": {
                "id": {
                  "description": "Unique identifier for a set of merchant program participation.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program.",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "defaultOTPMethod": {
                  "description": "Default One Time Password (OTP) delivery method.",
                  "enum": [
                    "EMAIL",
                    "SMS"
                  ],
                  "nullable": false,
                  "type": "string"
                },
                "applicationExpiration": {
                  "description": "application expiration",
                  "nullable": true,
                  "type": "string"
                },
                "allowRescission": {
                  "description": "if allow the rescission",
                  "nullable": true,
                  "type": "boolean"
                },
                "defaultCartAmount": {
                  "description": "Default cart amount",
                  "nullable": false,
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "capabilities": {
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "downPayment": {
                          "type": "object",
                          "properties": {
                            "installments": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "installments"
                          ]
                        }
                      }
                    }
                  ]
                },
                "virtualCard": {
                  "description": "Virtual card JSON data",
                  "nullable": false,
                  "format": "application/json",
                  "type": "object"
                },
                "tofProcessors": {
                  "description": "Top of Funnel.",
                  "type": "string",
                  "nullable": false
                },
                "createdAt": {
                  "description": "Time these values were created",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "deletedAt": {
                  "description": "Time these values were deleted",
                  "nullable": false,
                  "readOnly": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      },
      "PaymentProductEnrollment": {
        "description": "Payment Product Enrollment Model",
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for a payment product enrollment",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "merchantID": {
            "description": "Unique identifier for a merchant",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "paymentProductID": {
            "description": "Unique identifier for a payment product",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "discountRateBPS": {
            "description": "The discount rate expressed in basis points. (e.g. 50% -> 5000)",
            "nullable": false,
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "transactionFee": {
            "description": "The transaction fee",
            "nullable": false,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "minCartSize": {
            "description": "The minimum cart size",
            "nullable": false,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "maxCartSize": {
            "description": "The maximum cart size",
            "nullable": false,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "pendingTxExpiration": {
            "description": "The expiration time for pending transactions. (Must be in ISO8601 format)",
            "format": "duration",
            "nullable": false,
            "type": "string"
          },
          "authorizedTxExpiration": {
            "description": "The expiration time for authorized transactions. (Must be in ISO8601 format)",
            "format": "duration",
            "nullable": false,
            "type": "string"
          },
          "allowPartialSettlement": {
            "description": "Whether or partially settled transactions are allowed",
            "nullable": false,
            "type": "boolean"
          },
          "partialSettlementTxExpiration": {
            "description": "The expiration time for partially-settled transactions. (Must be in ISO8601 format)",
            "format": "duration",
            "nullable": false,
            "type": "string"
          },
          "creditScoreThreshold": {
            "description": "minimum credit score a customer needs to see the payment product enrollment",
            "type": "number",
            "nullable": true
          },
          "downPaymentTransactionFee": {
            "description": "down payment transaction fee",
            "nullable": false,
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "preauthAmount": {
            "description": "The preauth amount",
            "nullable": true,
            "type": "integer"
          },
          "downPaymentDiscountRateBPS": {
            "description": "overflow discount rate",
            "allOf": [
              {
                "type": "integer",
                "description": "A value which represents one-hundredth of one percent.",
                "minimum": 0,
                "example": 500,
                "externalDocs": {
                  "description": "BasisPoint",
                  "url": "https://www.investopedia.com/terms/b/basispoint.asp"
                }
              }
            ]
          },
          "policies": {
            "description": "Policies associated with the merchant's payment product enrollment",
            "nullable": false,
            "format": "application/json",
            "type": "object"
          },
          "promotional": {
            "description": "Used for legal compliance to show different or \"promotional\" language to the buyer",
            "nullable": false,
            "type": "boolean"
          },
          "createdAt": {
            "description": "Time when the payment product enrollment was created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "startAt": {
            "description": "Time when the payment product enrollment becomes active",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "endAt": {
            "description": "Time when the payment product enrollment becomes lapsed",
            "nullable": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time when the payment product enrollment was deleted",
            "nullable": true,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "PartnerProgramParticipation": {
        "description": "Partner program participation contains information from a partner that is tied to a program the partner participates in.",
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for partner program participation.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "partnerID": {
            "description": "Unique identifier for a partner.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "createdAt": {
            "description": "Time these values were created",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "deletedAt": {
            "description": "Time these values were deleted",
            "nullable": false,
            "readOnly": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "CreatePartnerParticipation": {
        "description": "creates a partner participation",
        "type": "object",
        "required": [
          "partnerID",
          "programID"
        ],
        "properties": {
          "partnerID": {
            "description": "Unique identifier for a partner.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program.",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          }
        }
      },
      "PaymentProductConfigurationPublic": {
        "description": "Public response model for a payment product enrollment, with potentially sensitive fields removed",
        "type": "object",
        "properties": {
          "enrollmentID": {
            "description": "Unique identifier for a payment product enrollment",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "paymentProductID": {
            "description": "Unique identifier for the payment product",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "merchantID": {
            "description": "Unique identifier for a merchant (from the enrollment)",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "programID": {
            "description": "Unique identifier for a program",
            "allOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                "externalDocs": {
                  "description": "RFC4122",
                  "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                }
              }
            ]
          },
          "paymentProductName": {
            "description": "Human-friendly name of the payment product",
            "type": "string"
          },
          "paymentProductType": {
            "description": "Type of the payment product",
            "type": "string"
          },
          "paymentFrequency": {
            "description": "Payment frequency for the product",
            "type": "string"
          },
          "numPayments": {
            "description": "Number of scheduled payments for the product",
            "type": "integer",
            "format": "int32"
          },
          "startAt": {
            "description": "Time when the payment product enrollment becomes active",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "endAt": {
            "description": "Time when the payment product enrollment becomes lapsed",
            "nullable": true,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          },
          "defaultCartAmount": {
            "description": "Default cart amount for participation",
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "minCartSize": {
            "description": "Minimum cart size for this enrollment",
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "maxCartSize": {
            "description": "Maximum cart size for this enrollment",
            "allOf": [
              {
                "required": [
                  "currency",
                  "value"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "description": "The three letter currency code as defined in ISO 4217.",
                    "example": "USD",
                    "minLength": 3,
                    "maxLength": 3,
                    "externalDocs": {
                      "description": "ISO 4217",
                      "url": "https://en.wikipedia.org/wiki/ISO_4217"
                    }
                  },
                  "value": {
                    "type": "integer",
                    "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                    "format": "int64",
                    "example": 100
                  }
                },
                "description": "Represents a monetary amount in the specified currency",
                "example": {
                  "currency": "USD",
                  "value": 50000
                }
              }
            ]
          },
          "minInterestRateBPS": {
            "description": "Minimum interest rate in basis points (from enrollment)",
            "type": "integer",
            "format": "int32"
          },
          "maxInterestRateBPS": {
            "description": "Maximum interest rate in basis points (from enrollment)",
            "type": "integer",
            "format": "int32"
          },
          "enrollmentState": {
            "description": "active or scheduled",
            "type": "string",
            "enum": [
              "ACTIVE",
              "SCHEDULED"
            ]
          },
          "enrollmentCreatedAt": {
            "description": "Created at time",
            "nullable": false,
            "allOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                "example": "2020-12-31T15:10:55Z",
                "externalDocs": {
                  "description": "RFC3339",
                  "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                }
              }
            ]
          }
        }
      },
      "PaymentProductConfigurationListResponsePublic": {
        "description": "Public response model for a list of payment product enrollments, with potentially sensitive fields removed",
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "description": "Public response model for a payment product enrollment, with potentially sensitive fields removed",
              "type": "object",
              "properties": {
                "enrollmentID": {
                  "description": "Unique identifier for a payment product enrollment",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "paymentProductID": {
                  "description": "Unique identifier for the payment product",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "merchantID": {
                  "description": "Unique identifier for a merchant (from the enrollment)",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "programID": {
                  "description": "Unique identifier for a program",
                  "allOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                      "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                      "externalDocs": {
                        "description": "RFC4122",
                        "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                      }
                    }
                  ]
                },
                "paymentProductName": {
                  "description": "Human-friendly name of the payment product",
                  "type": "string"
                },
                "paymentProductType": {
                  "description": "Type of the payment product",
                  "type": "string"
                },
                "paymentFrequency": {
                  "description": "Payment frequency for the product",
                  "type": "string"
                },
                "numPayments": {
                  "description": "Number of scheduled payments for the product",
                  "type": "integer",
                  "format": "int32"
                },
                "startAt": {
                  "description": "Time when the payment product enrollment becomes active",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "endAt": {
                  "description": "Time when the payment product enrollment becomes lapsed",
                  "nullable": true,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                },
                "defaultCartAmount": {
                  "description": "Default cart amount for participation",
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "minCartSize": {
                  "description": "Minimum cart size for this enrollment",
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "maxCartSize": {
                  "description": "Maximum cart size for this enrollment",
                  "allOf": [
                    {
                      "required": [
                        "currency",
                        "value"
                      ],
                      "properties": {
                        "currency": {
                          "type": "string",
                          "description": "The three letter currency code as defined in ISO 4217.",
                          "example": "USD",
                          "minLength": 3,
                          "maxLength": 3,
                          "externalDocs": {
                            "description": "ISO 4217",
                            "url": "https://en.wikipedia.org/wiki/ISO_4217"
                          }
                        },
                        "value": {
                          "type": "integer",
                          "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                          "format": "int64",
                          "example": 100
                        }
                      },
                      "description": "Represents a monetary amount in the specified currency",
                      "example": {
                        "currency": "USD",
                        "value": 50000
                      }
                    }
                  ]
                },
                "minInterestRateBPS": {
                  "description": "Minimum interest rate in basis points (from enrollment)",
                  "type": "integer",
                  "format": "int32"
                },
                "maxInterestRateBPS": {
                  "description": "Maximum interest rate in basis points (from enrollment)",
                  "type": "integer",
                  "format": "int32"
                },
                "enrollmentState": {
                  "description": "active or scheduled",
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "SCHEDULED"
                  ]
                },
                "enrollmentCreatedAt": {
                  "description": "Created at time",
                  "nullable": false,
                  "allOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    }
                  ]
                }
              }
            }
          },
          "pagination": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 10
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "total": {
                "type": "integer",
                "maximum": 200,
                "minimum": 0
              }
            }
          }
        }
      }
    },
    "parameters": {
      "limitQuery": {
        "in": "query",
        "name": "limit",
        "description": "The maximum number of records that will be returned in a result set.",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200,
          "default": 10
        },
        "example": 50
      },
      "offsetQuery": {
        "in": "query",
        "name": "offset",
        "description": "The number of records to skip before starting to collect the result set. Used in conjunction with limit query parameter for pagination support",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "example": 20
      },
      "showArchived": {
        "in": "query",
        "name": "showArchived",
        "description": "Indicates that any archived records if available will be returned as part of the results",
        "required": false,
        "allowEmptyValue": true,
        "schema": {
          "type": "boolean",
          "default": false
        }
      },
      "sort": {
        "in": "query",
        "name": "sort",
        "description": "Sort response records. Default sort is createdAt.desc. Allowed sorts createdAt, deletedAt. Direction asc or desc.",
        "required": false,
        "schema": {
          "type": "string",
          "example": "createdAt.asc"
        }
      },
      "partnerId": {
        "in": "query",
        "name": "partnerID.eq",
        "description": "filter by partner id.",
        "required": false,
        "schema": {
          "type": "string",
          "example": "ccfda9c7-e7e4-49d9-966b-7ed73791ff0b"
        }
      },
      "merchantId": {
        "in": "query",
        "name": "merchantID.eq",
        "description": "filter by merchant id.",
        "required": false,
        "schema": {
          "type": "string",
          "example": "ccfda9c7-e7e4-49d9-966b-7ed73791ff0b"
        }
      },
      "programId": {
        "in": "query",
        "name": "programID.eq",
        "description": "filter by program id.",
        "required": false,
        "schema": {
          "type": "string",
          "example": "ccfda9c7-e7e4-49d9-966b-7ed73791ff0b"
        }
      },
      "v2Header": {
        "description": "API version",
        "in": "header",
        "name": "X-API-VERSION",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "v2"
      },
      "shouldRemoveEnrollments": {
        "in": "query",
        "name": "shouldRemoveEnrollments",
        "description": "If true, all merchant enrollments will be ended for the merchant.",
        "required": false,
        "schema": {
          "type": "boolean",
          "default": false
        }
      }
    }
  }
}