{
  "openapi": "3.0.1",
  "info": {
    "title": "IOLPay Payment API (Public)",
    "description": "Client-facing IOLPay Payment API for merchant integrations. Authenticate using X-ApiKey or JWT Bearer as documented per endpoint.",
    "contact": {
      "name": "iOLPay Support",
      "email": "support@iolpay.com"
    },
    "version": "1.1"
  },
  "paths": {
    "/payment-api/v1.1/bin-promo-code-rules/validate": {
      "post": {
        "tags": [
          "Bin Promo Code Rules"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateBinPromoCodeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateBinPromoCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateBinPromoCodeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateBinPromoCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateBinPromoCodeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateBinPromoCodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateBinPromoCodeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/disputes": {
      "get": {
        "tags": [
          "Disputes"
        ],
        "parameters": [
          {
            "name": "transactionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisputeEntity"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisputeEntity"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisputeEntity"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/disputes/{disputeId}/status-history": {
      "get": {
        "tags": [
          "Disputes"
        ],
        "parameters": [
          {
            "name": "disputeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisputeStatusHistoryEntity"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisputeStatusHistoryEntity"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DisputeStatusHistoryEntity"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/exchange-rates": {
      "get": {
        "tags": [
          "Exchange Rates"
        ],
        "parameters": [
          {
            "name": "currencyFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateListModelV1"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateListModelV1"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeRateListModelV1"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/exchange-rates/merchant": {
      "get": {
        "tags": [
          "Exchange Rates"
        ],
        "parameters": [
          {
            "name": "currencyFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantExchangeRateListModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantExchangeRateListModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantExchangeRateListModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/lpm/{encryptedPubId}/allowed": {
      "get": {
        "tags": [
          "Lpm"
        ],
        "parameters": [
          {
            "name": "encryptedPubId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "countryIso",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllowedLpmListModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllowedLpmListModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllowedLpmListModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/lpm": {
      "patch": {
        "tags": [
          "Lpm"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedLpmPaymentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedLpmPaymentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedLpmPaymentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedLpmPaymentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedLpmPaymentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedLpmPaymentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedLpmPaymentResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/order/{transactionId}": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrderPaymentLinkModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrderPaymentLinkModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrderPaymentLinkModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/order/orderStatus/{transactionId}": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/order": {
      "put": {
        "tags": [
          "Order"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPutModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPutModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPutModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPutModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/order/updateReferenceNo": {
      "put": {
        "tags": [
          "Order"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderReferenceNoPutModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderReferenceNoPutModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderReferenceNoPutModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderReferenceNoPutModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/order/{transactionId}/cancel/{statusDetail}": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusDetail",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/OrderStatusDetail"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ORDER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_CANCELLED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_PAID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_SCHEDULED_PAYMENT_LIST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_STATUS_CANNOT_BE_UPDATED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_UNAVAILABLE_TO_UPDATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "SCHEDULED_PAYMENT_DATE_IN_PAST": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "STATUS_OF_NEW_SCHEDULED_PAYMENT_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_IS_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "NO_UPCOMING_SCHEDULED_PAYMENTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "USER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_REFUNDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "ORDER_IS_VOIDED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/{transactionId}": {
      "get": {
        "tags": [
          "Payment"
        ],
        "parameters": [
          {
            "name": "transactionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transactionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentListModelProceedPaymentErrorsResultModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentListModelProceedPaymentErrorsResultModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentListModelProceedPaymentErrorsResultModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/Payment": {
      "get": {
        "tags": [
          "Payment"
        ],
        "parameters": [
          {
            "name": "PaymentStatus",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaymentStatus"
            }
          },
          {
            "name": "CreatedFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "CreatedTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "MerchantId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TransactionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "ExternalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Currency",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CustomerEmail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ExternalChargeId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SaveOldInternalDetails",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentListModelProceedPaymentErrorsResultModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentListModelProceedPaymentErrorsResultModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentListModelProceedPaymentErrorsResultModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentIntentResponseDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentIntentResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentIntentResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IntentPaymentErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntentPaymentErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntentPaymentErrorsErrorResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/pay-with-wallet-item": {
      "post": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentWithWalletItemRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentWithWalletItemRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentWithWalletItemRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentIntentWithWalletItemRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/proceed-with-wallet-item": {
      "patch": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentWithWalletItemRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentWithWalletItemRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentWithWalletItemRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProceedPaymentWithWalletItemRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProceedPaymentErrorsErrorResult"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/pay-in-list": {
      "get": {
        "tags": [
          "Payment"
        ],
        "parameters": [
          {
            "name": "paymentMethodExternalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pubKey",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "paymentProviderType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaymentProviderType"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentPayInList"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentPayInList"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentPayInList"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "CUSTOM": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_SERVICE_UNAVAILABLE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PUB_KEY_EXPIRED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PUB_KEY_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_AMOUNT": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_PAYMENT_METHOD": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CUSTOMER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "TRANSACTION_ALREADY_EXISTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_COUNTRY_DOEST_NOT_MATCH": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_DONE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_DECLINED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_INTENT_PROVIDER_ERROR": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_BRAND_IS_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_SUPPORTED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_LINK_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_DOES_NOT_MATCH_THE_ACCEPTED_CARD_DETAILS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_CARD_EXPIRATION_DATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_CARD_FOR_PROMOTION": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_DISPUTED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_CANCEL_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CAPTURE_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PARTIAL_AUTH_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_BOOKING_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_BOOKING_ERROR": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_CANCELED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTHENTICATION_INITIATED_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "CUSTOM": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_SERVICE_UNAVAILABLE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PUB_KEY_EXPIRED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PUB_KEY_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_AMOUNT": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_PAYMENT_METHOD": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CUSTOMER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "TRANSACTION_ALREADY_EXISTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_COUNTRY_DOEST_NOT_MATCH": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_DONE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_DECLINED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_INTENT_PROVIDER_ERROR": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_BRAND_IS_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_SUPPORTED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_LINK_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_DOES_NOT_MATCH_THE_ACCEPTED_CARD_DETAILS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_CARD_EXPIRATION_DATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_CARD_FOR_PROMOTION": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_DISPUTED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_CANCEL_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CAPTURE_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PARTIAL_AUTH_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_BOOKING_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_BOOKING_ERROR": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_CANCELED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTHENTICATION_INITIATED_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "CUSTOM": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "MERCHANT_SERVICE_UNAVAILABLE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PUB_KEY_EXPIRED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PUB_KEY_INVALID": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_AMOUNT": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_PAYMENT_METHOD": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CUSTOMER_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "TRANSACTION_ALREADY_EXISTS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_COUNTRY_DOEST_NOT_MATCH": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_HEADER_IS_MISSING": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_DONE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_DECLINED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_INTENT_PROVIDER_ERROR": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_BRAND_IS_NOT_ALLOWED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CURRENCY_NOT_SUPPORTED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_LINK_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CARD_DOES_NOT_MATCH_THE_ACCEPTED_CARD_DETAILS": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_CARD_EXPIRATION_DATE": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "INVALID_CARD_FOR_PROMOTION": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_DISPUTED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTH_CANCEL_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "CAPTURE_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PARTIAL_AUTH_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_BOOKING_NOT_FOUND": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_BOOKING_ERROR": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "PAYMENT_ALREADY_CANCELED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "AUTHENTICATION_INITIATED_FAILED": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/captures": {
      "post": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/authorizations": {
      "post": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/Payment/authorizations/void": {
      "post": {
        "tags": [
          "Payment"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizeCreateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthStatus"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/payment-info/{encryptedPubId}": {
      "get": {
        "tags": [
          "Payment Info"
        ],
        "parameters": [
          {
            "name": "encryptedPubId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoErrorsErrorResult"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoResponseDtoPaymentInfoErrorsResultModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoResponseDtoPaymentInfoErrorsResultModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoResponseDtoPaymentInfoErrorsResultModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoErrorsErrorResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoErrorsErrorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentInfoErrorsErrorResult"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/payment-methods": {
      "get": {
        "tags": [
          "Payment Methods"
        ],
        "parameters": [
          {
            "name": "CustomerEmail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentMethodResponseDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentMethodResponseDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentMethodResponseDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "503": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/pms-posting-history/{orderId}": {
      "get": {
        "tags": [
          "Pms Posting History"
        ],
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderGetModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/refunds": {
      "post": {
        "tags": [
          "Refunds"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCreateModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCreateModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCreateModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCreateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RefundStatus"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefundStatus"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefundStatus"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "get": {
        "tags": [
          "Refunds"
        ],
        "parameters": [
          {
            "name": "Limit",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "MerchantId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RefundListModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefundListModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefundListModel"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/payment-api/v1.1/wallet-items": {
      "get": {
        "tags": [
          "Wallet Items"
        ],
        "parameters": [
          {
            "name": "CustomerId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/wallet-items/{id}": {
      "delete": {
        "tags": [
          "Wallet Items"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/wallet-items/public": {
      "get": {
        "tags": [
          "Wallet Items"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/payment-api/v1.1/wallet-items/public/{id}": {
      "delete": {
        "tags": [
          "Wallet Items"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletItemBo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountTargetSource": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "AllowedPaymentProvider": {
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "publicKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthStatus": {
        "enum": [
          "Pending",
          "Succeeded",
          "Failed"
        ],
        "type": "string"
      },
      "AuthorizeCreateModel": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "BookingSourceType": {
        "enum": [
          "None",
          "Ows",
          "Cendyn",
          "Oracle"
        ],
        "type": "string"
      },
      "BrandProductMappingEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "brandProductCode": {
            "type": "string",
            "nullable": true
          },
          "premium": {
            "type": "boolean"
          },
          "cardTypeId": {
            "$ref": "#/components/schemas/CardType"
          },
          "bin": {
            "type": "string",
            "nullable": true
          },
          "funding": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CardBrandEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "isLpm": {
            "type": "boolean"
          },
          "isPayLaterSupported": {
            "type": "boolean"
          },
          "isAuthorize": {
            "type": "boolean"
          },
          "isCapture": {
            "type": "boolean"
          },
          "paymentMethodType": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "externalMerchantId": {
            "type": "string",
            "nullable": true
          },
          "maxLimitAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "disallowedCurrencies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "isPartialAuth": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CardBrandEnum": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25
        ],
        "type": "integer",
        "format": "int32"
      },
      "CardType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "CountryDTO": {
        "type": "object",
        "properties": {
          "iso": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CurrencyDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "iso": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "decimals": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CustomerEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "payerTitle": {
            "type": "string",
            "nullable": true
          },
          "payerName": {
            "type": "string",
            "nullable": true
          },
          "payerEmail": {
            "type": "string",
            "nullable": true
          },
          "uniquePayerEmail": {
            "type": "string",
            "nullable": true
          },
          "payerPhone": {
            "type": "string",
            "nullable": true
          },
          "payerAddress": {
            "type": "string",
            "nullable": true
          },
          "payerCity": {
            "type": "string",
            "nullable": true
          },
          "payerCountryIso": {
            "type": "string",
            "nullable": true
          },
          "payerPostCode": {
            "type": "string",
            "nullable": true
          },
          "signature": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DisputeEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "externalChargeId": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "disputeAmount": {
            "type": "number",
            "format": "double"
          },
          "disputeCurrencyIso": {
            "type": "string",
            "nullable": true
          },
          "merchantAmount": {
            "type": "number",
            "format": "double"
          },
          "merchantCurrencyIso": {
            "type": "string",
            "nullable": true
          },
          "disputeAmountUsd": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/DisputeStatus"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "externalPaymentIntentId": {
            "type": "string",
            "nullable": true
          },
          "feeValue": {
            "type": "number",
            "format": "double"
          },
          "feeCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "isInternal": {
            "type": "boolean"
          },
          "additionalNotes": {
            "type": "string",
            "nullable": true
          },
          "responseDeadline": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "evidenceApprovalStatus": {
            "$ref": "#/components/schemas/DisputeEvidenceApprovalStatus"
          },
          "paymentIntent": {
            "$ref": "#/components/schemas/PaymentIntentEntity"
          },
          "evidence": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DisputeEvidenceEntity"
            },
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DisputeEvidenceApprovalStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisputeEvidenceCategory": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisputeEvidenceEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "fileId": {
            "type": "integer",
            "format": "int64"
          },
          "externalFileId": {
            "type": "string",
            "nullable": true
          },
          "disputeId": {
            "type": "integer",
            "format": "int64"
          },
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "$ref": "#/components/schemas/DisputeEvidenceCategory"
          },
          "status": {
            "$ref": "#/components/schemas/DisputeEvidenceStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dispute": {
            "$ref": "#/components/schemas/DisputeEntity"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DisputeEvidenceStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "DisputeStatus": {
        "enum": [
          "NeedsResponse",
          "UnderReview",
          "ChargeRefunded",
          "Won",
          "Lost",
          "Cancelled",
          "Expired",
          "WarningClosed",
          "Accepted",
          "ArbitrationSentToScheme",
          "EvidenceAcknowledgedByScheme",
          "EvidenceSubmitted",
          "Resolved",
          "EvidenceRequired",
          "ArbitrationEvidenceSubmitted",
          "ArbitrationWon",
          "ArbitrationLost"
        ],
        "type": "string"
      },
      "DisputeStatusHistoryEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "disputeId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/DisputeStatus"
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateListModelV1": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeRateModelV1"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "currencyFrom": {
            "type": "string",
            "description": "Currency ISO code, sample: 'EUR'",
            "nullable": true
          },
          "currencyTo": {
            "type": "string",
            "description": "Currency ISO code, sample: 'EUR'",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "currencyToDecimals": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ExchangeRateModelV1": {
        "type": "object",
        "properties": {
          "feePercAmount": {
            "type": "number",
            "format": "double"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "currencyFrom": {
            "type": "string",
            "description": "Currency ISO code, sample: 'EUR'",
            "nullable": true
          },
          "currencyTo": {
            "type": "string",
            "description": "Currency ISO code, sample: 'EUR'",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "currencyToDecimals": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "FeeDetailsEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "variableAmountCost": {
            "type": "number",
            "format": "double"
          },
          "fixedAmountCost": {
            "type": "number",
            "format": "double"
          },
          "iolFee": {
            "type": "number",
            "format": "double"
          },
          "totalPayableFee": {
            "type": "number",
            "format": "double"
          },
          "fxFeesAmount": {
            "type": "number",
            "format": "double"
          },
          "dmOrInFeesAmount": {
            "type": "number",
            "format": "double"
          },
          "brandId": {
            "type": "integer",
            "format": "int32"
          },
          "feeCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "percAmount": {
            "type": "number",
            "format": "double"
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "rateNumber": {
            "type": "number",
            "format": "double"
          },
          "cardTypeId": {
            "$ref": "#/components/schemas/CardType"
          },
          "merchantPricingType": {
            "$ref": "#/components/schemas/MerchantPricingType"
          },
          "feeId": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "variableAmountCostUSD": {
            "type": "number",
            "format": "double"
          },
          "fixedAmountCostUSD": {
            "type": "number",
            "format": "double"
          },
          "iolpayfeeId": {
            "type": "integer",
            "format": "int64"
          },
          "refundId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "disputeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "oldIolpayfeeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "fee": {
            "$ref": "#/components/schemas/FeesV2Entity"
          },
          "feeOld": {
            "$ref": "#/components/schemas/FeeEntity"
          },
          "internalPayoutDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternalPayoutDetailsEntity"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FeeEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "merchantId": {
            "type": "integer",
            "format": "int32"
          },
          "feeType": {
            "$ref": "#/components/schemas/FeeType"
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "brandId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "brand": {
            "$ref": "#/components/schemas/CardBrandEntity"
          },
          "percAmount": {
            "type": "number",
            "format": "double"
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "transactionTypeId": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "cardTypeId": {
            "$ref": "#/components/schemas/CardType"
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          },
          "feeTempId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "FeeType": {
        "enum": [
          "DM",
          "IN",
          "FX",
          "APM",
          "RF",
          "FX_NSC",
          "AC",
          "Monthly",
          "Dispute",
          "Remittance",
          "PayoutFXC",
          "PayoutFXFee"
        ],
        "type": "string"
      },
      "FeesV2Entity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "merchantGroupId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "merchantId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/FeeType"
          },
          "currencies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "percAmount": {
            "type": "number",
            "format": "double"
          },
          "fixedAmount": {
            "type": "number",
            "format": "double"
          },
          "brands": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CardBrandEnum"
            },
            "nullable": true
          },
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "cardTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CardType"
            },
            "nullable": true
          },
          "transactionTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionType"
            },
            "nullable": true
          },
          "negative": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "isGlobal": {
            "type": "boolean"
          },
          "isIcPlus": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAllowedLpmListModel": {
        "type": "object",
        "properties": {
          "googlePay": {
            "$ref": "#/components/schemas/GetAllowedLpmListModelItem"
          },
          "applePay": {
            "$ref": "#/components/schemas/GetAllowedLpmListModelItem"
          },
          "allowedLpms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAllowedLpmListModelItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAllowedLpmListModelItem": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "currencyToPay": {
            "type": "string",
            "nullable": true
          },
          "amountToPay": {
            "type": "number",
            "format": "double"
          },
          "warningMessage": {
            "type": "string",
            "nullable": true
          },
          "isPayLaterSupported": {
            "type": "boolean"
          },
          "externalMerchantId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOrderPaymentLinkModel": {
        "type": "object",
        "properties": {
          "encryptedPubKey": {
            "type": "string",
            "nullable": true
          },
          "paymentLink": {
            "type": "string",
            "nullable": true
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntentPaymentErrorsErrorResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "object",
            "properties": {
              "INVALID_AMOUNT": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AMOUNT_SMALLER_THAN_REQUIRED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_SERVICE_UNAVAILABLE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "TRANSACTION_ALREADY_EXISTS": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTH_HEADER_IS_MISSING": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "LPM_IS_INVALID": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "USER_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_WALLET_ITEM": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false,
            "nullable": true
          },
          "hasErrors": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InternalPayoutDetailsEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "merchantId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "paymentIntentCreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "refundId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "feeDetailsId": {
            "type": "integer",
            "format": "int64"
          },
          "exchangeRate": {
            "type": "number",
            "format": "double"
          },
          "totalFees": {
            "type": "number",
            "format": "double"
          },
          "netPayout": {
            "type": "number",
            "format": "double"
          },
          "payoutId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "merchantPayoutId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "treasuryPayoutId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "disputeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "isMonthlyFee": {
            "type": "boolean",
            "nullable": true
          },
          "initialAmount": {
            "type": "number",
            "format": "double"
          },
          "initialCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "fxRate": {
            "type": "number",
            "format": "double"
          },
          "merchantPayout": {
            "$ref": "#/components/schemas/MerchantPayoutEntity"
          }
        },
        "additionalProperties": false
      },
      "MerchantBookingPaymentModeEnum": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "MerchantEmailConfigurationDo": {
        "type": "object",
        "properties": {
          "emailTo": {
            "type": "string",
            "nullable": true
          },
          "emailFrom": {
            "type": "string",
            "nullable": true
          },
          "emailCC": {
            "type": "string",
            "nullable": true
          },
          "emailBCC": {
            "type": "string",
            "nullable": true
          },
          "emailSubject": {
            "type": "string",
            "nullable": true
          },
          "emailLogo": {
            "type": "string",
            "nullable": true
          },
          "emailBodyImage": {
            "type": "string",
            "nullable": true
          },
          "hotelCheckinTime": {
            "type": "string",
            "nullable": true
          },
          "hotelCheckoutTime": {
            "type": "string",
            "nullable": true
          },
          "extraText": {
            "type": "string",
            "nullable": true
          },
          "sendEmailToCustomer": {
            "type": "boolean",
            "nullable": true
          },
          "useOrderHotelName": {
            "type": "boolean",
            "nullable": true
          },
          "upcomingPaymentDates": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "senderName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MerchantEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "pubKey": {
            "type": "string",
            "nullable": true
          },
          "applyVariableFeeRefund": {
            "type": "boolean",
            "nullable": true
          },
          "secretKey": {
            "type": "string",
            "nullable": true
          },
          "webHook": {
            "type": "string",
            "nullable": true
          },
          "payLaterWebHook": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "style": {
            "type": "string",
            "nullable": true
          },
          "isConvertAllowed": {
            "type": "boolean"
          },
          "payLaterExchangeRateConfig": {
            "$ref": "#/components/schemas/PayLaterExchangeRateConfig"
          },
          "expiryDateCheck": {
            "type": "boolean"
          },
          "isForceAuthorization": {
            "type": "boolean"
          },
          "pricing": {
            "$ref": "#/components/schemas/MerchantPricingType"
          },
          "payoutFrequencyDays": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "payoutDays": {
            "type": "integer",
            "format": "int32"
          },
          "lastPayoutDate": {
            "type": "string",
            "format": "date-time"
          },
          "payoutFrequencyType": {
            "$ref": "#/components/schemas/PayoutFrequencyType"
          },
          "internalWebhook": {
            "type": "string",
            "nullable": true
          },
          "webhookSecretKey": {
            "type": "string",
            "nullable": true
          },
          "emailConfigurations": {
            "type": "string",
            "nullable": true
          },
          "owsConsumerCardPaymentMode": {
            "$ref": "#/components/schemas/MerchantBookingPaymentModeEnum"
          },
          "linkExpiryHrs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/PaymentLinkVersion"
          },
          "styles": {
            "$ref": "#/components/schemas/MerchantStylesDo"
          },
          "emailConfiguration": {
            "$ref": "#/components/schemas/MerchantEmailConfigurationDo"
          },
          "webSite": {
            "type": "string",
            "nullable": true
          },
          "termsAndConditions": {
            "type": "string",
            "nullable": true
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "statementDescriptor": {
            "type": "string",
            "nullable": true
          },
          "forceUserAuthentication": {
            "type": "boolean"
          },
          "externalWebhookCall": {
            "type": "boolean"
          },
          "vat": {
            "type": "number",
            "format": "double"
          },
          "JsonStyle": {
            "nullable": true
          },
          "payoutThresholdUsd": {
            "type": "integer",
            "format": "int32"
          },
          "useProxyForMerchantWebhook": {
            "type": "boolean",
            "nullable": true
          },
          "sendOnlySuccessfulForMerchantWebhook": {
            "type": "boolean",
            "nullable": true
          },
          "showPayNow": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "merchantGroupId": {
            "type": "integer",
            "format": "int64"
          },
          "isActive": {
            "type": "boolean"
          },
          "activationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/MerchantStatus"
          },
          "businessName": {
            "type": "string",
            "nullable": true
          },
          "merchantGroup": {
            "$ref": "#/components/schemas/MerchantGroupEntity"
          },
          "primaryCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "percPrimaryPayout": {
            "type": "number",
            "format": "double"
          },
          "threedsAuthorizationRequired": {
            "type": "boolean"
          },
          "bookingSourceType": {
            "$ref": "#/components/schemas/BookingSourceType"
          },
          "dynamicsLegalEntityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "erpGlCode": {
            "type": "string",
            "nullable": true
          },
          "autoPayoutPayment": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "MerchantExchangeRateListModel": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeRateModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MerchantGroupEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/MerchantGroupStatus"
          },
          "submissionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pricing": {
            "$ref": "#/components/schemas/MerchantPricingType"
          },
          "primaryCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "percPrimaryPayout": {
            "type": "number",
            "format": "double"
          },
          "payoutFrequencyType": {
            "$ref": "#/components/schemas/PayoutFrequencyType"
          },
          "owsConsumerCardPaymentMode": {
            "$ref": "#/components/schemas/MerchantBookingPaymentModeEnum"
          },
          "vat": {
            "type": "number",
            "format": "double"
          },
          "forceUserAuthentication": {
            "type": "boolean"
          },
          "isForceAuthorization": {
            "type": "boolean"
          },
          "bookingSourceType": {
            "$ref": "#/components/schemas/BookingSourceType"
          },
          "merchants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MerchantEntity"
            },
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MerchantGroupStatus": {
        "enum": [
          "Created",
          "Pending",
          "InReview",
          "SentForResubmission",
          "Approved",
          "Rejected",
          "Deleted",
          "Expired",
          "ContractSigned",
          "Active"
        ],
        "type": "string"
      },
      "MerchantPayoutEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "merchantId": {
            "type": "integer",
            "format": "int32"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "deliveryDate": {
            "type": "string",
            "format": "date-time"
          },
          "vat": {
            "type": "number",
            "format": "double"
          },
          "monthlyFees": {
            "type": "number",
            "format": "double"
          },
          "remittanceFees": {
            "type": "number",
            "format": "double"
          },
          "remittanceId": {
            "type": "integer",
            "format": "int32"
          },
          "fxFees": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "transactionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "completedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "metadata": {
            "type": "string",
            "nullable": true
          },
          "retryCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "MerchantPricingType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "MerchantStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "MerchantStylesDo": {
        "type": "object",
        "properties": {
          "textFont": {
            "type": "string",
            "nullable": true
          },
          "textFontTC": {
            "type": "string",
            "nullable": true
          },
          "textContinueButton": {
            "type": "string",
            "nullable": true
          },
          "textColor": {
            "type": "string",
            "nullable": true
          },
          "background": {
            "type": "string",
            "nullable": true
          },
          "backgroundPicture": {
            "type": "string",
            "nullable": true
          },
          "continueButtonColor": {
            "type": "string",
            "nullable": true
          },
          "backButtonColor": {
            "type": "string",
            "nullable": true
          },
          "hideCardBrandBanner": {
            "type": "boolean",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderCreatedUserDetailGetModel": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "merchantId": {
            "type": "integer",
            "format": "int64"
          },
          "merchantName": {
            "type": "string",
            "nullable": true
          },
          "userApiKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "publicId": {
            "type": "string",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "merchantCountry": {
            "type": "string",
            "nullable": true
          },
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "orderDate": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "serviceDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/PaymentMode"
          },
          "statementSuffix": {
            "type": "string",
            "nullable": true
          },
          "imageLink": {
            "type": "string",
            "nullable": true
          },
          "submitLabel": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "merchantId": {
            "type": "integer",
            "format": "int32"
          },
          "statusId": {
            "$ref": "#/components/schemas/OrderStatus"
          },
          "statusDetailId": {
            "$ref": "#/components/schemas/OrderStatusDetail"
          },
          "travelerId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "promoCode": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "$ref": "#/components/schemas/BookingSourceType"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItemEntity"
            },
            "nullable": true
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledPaymentEntity"
            },
            "nullable": true
          },
          "paymentIntents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentIntentEntity"
            },
            "nullable": true
          },
          "hotelDetail": {
            "$ref": "#/components/schemas/OrderHotelDetailsEntity"
          },
          "transactionType": {
            "$ref": "#/components/schemas/TransactionTypeEntity"
          },
          "merchant": {
            "$ref": "#/components/schemas/MerchantEntity"
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerEntity"
          },
          "traveler": {
            "$ref": "#/components/schemas/TravelerEntity"
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "cancelledAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isCancelled": {
            "type": "boolean"
          },
          "transactionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "webhookUrl": {
            "type": "string",
            "nullable": true
          },
          "pmsPosting": {
            "type": "boolean"
          },
          "pmsPosted": {
            "type": "boolean"
          },
          "pmsPostedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pmsPostingProcessed": {
            "type": "boolean"
          },
          "pmsRefundPosted": {
            "type": "boolean",
            "nullable": true
          },
          "pmsRefundPostingProcessed": {
            "type": "boolean",
            "nullable": true
          },
          "createUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "updateUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "applyAutoConvert": {
            "type": "boolean"
          },
          "isVcc": {
            "type": "boolean",
            "nullable": true
          },
          "showPayNow": {
            "type": "boolean"
          },
          "createdUserName": {
            "type": "string",
            "nullable": true
          },
          "updatedUserName": {
            "type": "string",
            "nullable": true
          },
          "oldCreateUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "oldUpdateUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderGetModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "statusId": {
            "$ref": "#/components/schemas/OrderStatus"
          },
          "sourceType": {
            "$ref": "#/components/schemas/BookingSourceType"
          },
          "payerDetails": {
            "$ref": "#/components/schemas/OrderPayerDetailsItemGetModel"
          },
          "travelerDetails": {
            "$ref": "#/components/schemas/OrderTravelerDetailsItemGetModel"
          },
          "paymentDetails": {
            "$ref": "#/components/schemas/OrderPaymentDetailsItemGetModel"
          },
          "hotelDetails": {
            "$ref": "#/components/schemas/OrderHotelItemGetModel"
          },
          "createdUserDetail": {
            "$ref": "#/components/schemas/OrderCreatedUserDetailGetModel"
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "webhookUrl": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "nullable": true
          },
          "merchantGroupId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "OrderHotelDetailsDto": {
        "type": "object",
        "properties": {
          "hotelName": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time"
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time"
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "ratePlanDescription": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderHotelDetailsEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "hotelName": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time"
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time"
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "ratePlanDescription": {
            "type": "string",
            "nullable": true
          },
          "bookingSourceMappingId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderHotelDetailsPaymentInfoDto": {
        "type": "object",
        "properties": {
          "hotelName": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time"
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time"
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "ratePlanDescription": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderHotelItemGetModel": {
        "type": "object",
        "properties": {
          "hotelName": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time"
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time"
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "ratePlanDescription": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderItemEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "order": {
            "$ref": "#/components/schemas/OrderEntity"
          },
          "itemRef": {
            "type": "string",
            "nullable": true
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "tax": {
            "type": "number",
            "format": "double"
          },
          "amountAfterTax": {
            "type": "number",
            "format": "double"
          },
          "pmsReferenceNo": {
            "type": "string",
            "nullable": true
          },
          "crsReferenceNo": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "transactionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pmsPosted": {
            "type": "boolean"
          },
          "pmsPostedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pmsPostingProcessed": {
            "type": "boolean"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledPaymentEntity"
            },
            "nullable": true
          },
          "presignedId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "OrderItemPaymentInfoDto": {
        "type": "object",
        "properties": {
          "itemRef": {
            "type": "string",
            "nullable": true
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "transactionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderLineItemGetModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "itemRef": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "tax": {
            "type": "number",
            "format": "double"
          },
          "amountAfterTax": {
            "type": "number",
            "format": "double"
          },
          "pmsReferenceNo": {
            "type": "string",
            "nullable": true
          },
          "crsReferenceNo": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "transactionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pmsPosted": {
            "type": "boolean"
          },
          "pmsPostedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pmsPostingProcessed": {
            "type": "boolean"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderLineItemModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "itemRef": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "tax": {
            "type": "number",
            "format": "double"
          },
          "amountAfterTax": {
            "type": "number",
            "format": "double"
          },
          "pmsReferenceNo": {
            "type": "string",
            "nullable": true
          },
          "crsReferenceNo": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "transactionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPayerDetailsItemGetModel": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "payerTitle": {
            "type": "string",
            "nullable": true
          },
          "payerName": {
            "type": "string",
            "nullable": true
          },
          "payerEmail": {
            "type": "string",
            "nullable": true
          },
          "payerCountry": {
            "type": "string",
            "nullable": true
          },
          "payerPhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentDetailsItemGetModel": {
        "type": "object",
        "properties": {
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "orderDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/OrderStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "serviceDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/PaymentMode"
          },
          "statementSuffix": {
            "type": "string",
            "nullable": true
          },
          "imageLink": {
            "type": "string",
            "nullable": true
          },
          "submitLabel": {
            "type": "string",
            "nullable": true
          },
          "orderFor": {
            "type": "string",
            "nullable": true
          },
          "isVcc": {
            "type": "boolean"
          },
          "pmsPosting": {
            "type": "boolean"
          },
          "pmsPosted": {
            "type": "boolean"
          },
          "pmsPostedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pmsPostingProcessed": {
            "type": "boolean"
          },
          "pmsRefundPostingProcessed": {
            "type": "boolean"
          },
          "pmsRefundPosted": {
            "type": "boolean"
          },
          "merchantId": {
            "type": "integer",
            "format": "int32"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledPaymentItemGetModel"
            },
            "nullable": true
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderLineItemGetModel"
            },
            "nullable": true
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderPaymentItemGetModel"
            },
            "nullable": true
          },
          "paymentLinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderPaymentLinkItemGetModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentDetailsItemModel": {
        "type": "object",
        "properties": {
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "orderDate": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/PaymentMode"
          },
          "statementSuffix": {
            "type": "string",
            "nullable": true
          },
          "imageLink": {
            "type": "string",
            "nullable": true
          },
          "submitLabel": {
            "type": "string",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledPaymentItemModel"
            },
            "nullable": true
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderLineItemModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentFailDetailsItemGetModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "networkStatus": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "riskLevel": {
            "type": "string",
            "nullable": true
          },
          "sellerMessage": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/OrderPaymentMethodItemGetModel"
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentFeeItemGetModel": {
        "type": "object",
        "properties": {
          "feeType": {
            "$ref": "#/components/schemas/FeeType"
          },
          "fixedValue": {
            "type": "number",
            "format": "double"
          },
          "variableValue": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentItemGetModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "scheduledPaymentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "netAmount": {
            "type": "number",
            "format": "double"
          },
          "paymentCurrencyIso": {
            "type": "string",
            "nullable": true
          },
          "paymentAmount": {
            "type": "number",
            "format": "double"
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "feePercAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "paymentProcessedDate": {
            "type": "string",
            "format": "date-time"
          },
          "payoutAvailableDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "varianceAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "autoConverted": {
            "type": "boolean",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/PaymentIntentType"
          },
          "isDirect": {
            "type": "boolean"
          },
          "authCode": {
            "type": "string",
            "nullable": true
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/OrderPaymentMethodItemGetModel"
          },
          "fees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderPaymentFeeItemGetModel"
            },
            "nullable": true
          },
          "failures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderPaymentFailDetailsItemGetModel"
            },
            "nullable": true
          },
          "refunds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderPaymentRefundItemGetModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentLinkItemGetModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentLink": {
            "type": "string",
            "nullable": true
          },
          "paymentLinkKey": {
            "type": "string",
            "nullable": true
          },
          "encryptedPubKey": {
            "type": "string",
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "createDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentMethodItemGetModel": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "brandProductCode": {
            "type": "string",
            "nullable": true
          },
          "issueCountry": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "last4": {
            "type": "string",
            "nullable": true
          },
          "expMonth": {
            "type": "integer",
            "format": "int64"
          },
          "expYear": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "OrderPaymentRefundItemGetModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/RefundStatus"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "requestedAmount": {
            "type": "number",
            "format": "double"
          },
          "requestedCurrency": {
            "type": "string",
            "nullable": true
          },
          "usAmountRequested": {
            "type": "number",
            "format": "double"
          },
          "usAmountRefunded": {
            "type": "number",
            "format": "double"
          },
          "createUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "createdUserName": {
            "type": "string",
            "nullable": true
          },
          "scheduledPaymentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "orderItemId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderPutModel": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "paymentDetails": {
            "$ref": "#/components/schemas/OrderPaymentDetailsItemModel"
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderReferenceNoPutLineItemModel": {
        "type": "object",
        "properties": {
          "itemRef": {
            "type": "string",
            "nullable": true
          },
          "pmsLocator": {
            "type": "string",
            "nullable": true
          },
          "crsLocator": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderReferenceNoPutModel": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "paymentDetails": {
            "$ref": "#/components/schemas/OrderReferenceNoPutPaymentDetailsItemModel"
          }
        },
        "additionalProperties": false
      },
      "OrderReferenceNoPutPaymentDetailsItemModel": {
        "type": "object",
        "properties": {
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderReferenceNoPutLineItemModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderStatus": {
        "enum": [
          "FuturePayment",
          "PartiallyPaid",
          "Paid",
          "PartiallyRefunded",
          "Refunded",
          "Cancelled",
          "CancelledWithPayments",
          "CancelledAndRefunded",
          "PendingPayment",
          "UserActionRequired",
          "LinkExpired",
          "VCCPayment",
          "Tokenized",
          "Disputed",
          "Voided"
        ],
        "type": "string"
      },
      "OrderStatusDetail": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderTravelerDetailsItemGetModel": {
        "type": "object",
        "properties": {
          "travelerName": {
            "type": "string",
            "nullable": true
          },
          "travelerEmail": {
            "type": "string",
            "nullable": true
          },
          "travelerAddress": {
            "type": "string",
            "nullable": true
          },
          "travelerCity": {
            "type": "string",
            "nullable": true
          },
          "travelerTitle": {
            "type": "string",
            "nullable": true
          },
          "travelerPhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PayLaterExchangeRateConfig": {
        "enum": [
          "None",
          "ExchangeRateOfCardSetupDay",
          "ExchangeRateOfPaymentDay"
        ],
        "type": "string"
      },
      "PaymentExchangeRateItemModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "currencyFrom": {
            "type": "string",
            "nullable": true
          },
          "currencyTo": {
            "type": "string",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "PaymentFailureEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "networkStatus": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "riskLevel": {
            "type": "string",
            "nullable": true
          },
          "sellerMessage": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/PaymentMethodEntity"
          }
        },
        "additionalProperties": false
      },
      "PaymentInfoErrorsErrorResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "object",
            "properties": {
              "CUSTOM": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_SERVICE_UNAVAILABLE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "ROUTING_IS_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_IS_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false,
            "nullable": true
          },
          "hasErrors": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PaymentInfoResponseDto": {
        "type": "object",
        "properties": {
          "merchantName": {
            "type": "string",
            "nullable": true
          },
          "merchantLogoBase64": {
            "type": "string",
            "nullable": true
          },
          "merchantPubKey": {
            "type": "string",
            "nullable": true
          },
          "paymentAccountPubKey": {
            "type": "string",
            "nullable": true
          },
          "termsAndConditionsHTML": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "imageLink": {
            "type": "string",
            "nullable": true
          },
          "submitLabel": {
            "type": "string",
            "nullable": true
          },
          "payerName": {
            "type": "string",
            "nullable": true
          },
          "payerEmail": {
            "type": "string",
            "nullable": true
          },
          "uniquePayerEmail": {
            "type": "string",
            "nullable": true
          },
          "payerPhone": {
            "type": "string",
            "nullable": true
          },
          "payerAddress": {
            "type": "string",
            "nullable": true
          },
          "payerCity": {
            "type": "string",
            "nullable": true
          },
          "payerPostCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/PaymentIntentType"
          },
          "isConvertAllowed": {
            "type": "boolean"
          },
          "payLaterExchangeRateConfig": {
            "$ref": "#/components/schemas/PayLaterExchangeRateConfig"
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentIntentAmount": {
            "type": "number",
            "format": "double"
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "showCountryDropdown": {
            "type": "boolean"
          },
          "isPaymentByCardAllowed": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "paymentAllowed": {
            "type": "boolean"
          },
          "paymentMessage": {
            "type": "string",
            "nullable": true
          },
          "hotelDetails": {
            "$ref": "#/components/schemas/OrderHotelDetailsPaymentInfoDto"
          },
          "styles": {
            "$ref": "#/components/schemas/MerchantStylesDo"
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledPaymentDTO"
            },
            "nullable": true
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItemPaymentInfoDto"
            },
            "nullable": true
          },
          "disallowedCardBrands": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "JsonStyle": {
            "type": "string",
            "nullable": true
          },
          "showSaveCard": {
            "type": "boolean"
          },
          "currencyDecimals": {
            "type": "integer",
            "format": "int32"
          },
          "showPayNow": {
            "type": "boolean"
          },
          "confirmation3dsLink": {
            "type": "string",
            "nullable": true
          },
          "paymentProcessedDate": {
            "type": "string",
            "nullable": true
          },
          "paymentCardLast4": {
            "type": "string",
            "nullable": true
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          },
          "isCardBrandBannerVisible": {
            "type": "boolean",
            "readOnly": true
          },
          "providerType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "allowedPaymentProviders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AllowedPaymentProvider"
            },
            "nullable": true
          },
          "metadata3ds": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentInfoResponseDtoPaymentInfoErrorsResultModel": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/PaymentInfoResponseDto"
          },
          "errors": {
            "type": "object",
            "properties": {
              "CUSTOM": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_SERVICE_UNAVAILABLE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "ROUTING_IS_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_IS_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false,
            "nullable": true
          },
          "hasErrors": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentAcceptedCardDetails": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "issuer": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tier": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "funding": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentDetailsRequest": {
        "required": [
          "amount",
          "currency",
          "mode",
          "orderDate",
          "referenceNo"
        ],
        "type": "object",
        "properties": {
          "referenceNo": {
            "minLength": 1,
            "type": "string"
          },
          "currency": {
            "minLength": 1,
            "type": "string"
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "currency"
          },
          "orderDate": {
            "type": "string",
            "format": "date"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "description": {
            "maxLength": 1000,
            "type": "string",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/PaymentMode"
          },
          "statementSuffix": {
            "type": "string",
            "nullable": true
          },
          "imageLink": {
            "type": "string",
            "nullable": true
          },
          "submitLabel": {
            "type": "string",
            "nullable": true
          },
          "transactionTypeId": {
            "type": "string",
            "nullable": true
          },
          "pmsPosting": {
            "type": "boolean"
          },
          "paymentToken": {
            "type": "string",
            "nullable": true
          },
          "promoCode": {
            "type": "string",
            "nullable": true
          },
          "paymentLinkExpiryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "presignedPaymentMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentMethodType"
            },
            "nullable": true
          },
          "hotelDetails": {
            "$ref": "#/components/schemas/OrderHotelDetailsDto"
          },
          "subscription": {
            "$ref": "#/components/schemas/PaymentIntentSubscription"
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentIntentPaymentSchedule"
            },
            "nullable": true
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentIntentLineItemsRequest"
            },
            "nullable": true
          },
          "acceptedCardDetails": {
            "$ref": "#/components/schemas/PaymentIntentAcceptedCardDetails"
          },
          "payNowIsShown": {
            "type": "boolean",
            "nullable": true
          },
          "bookingSourceMappingId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "sourceType": {
            "$ref": "#/components/schemas/BookingSourceType"
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "feePercAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "customerExternalId": {
            "type": "string",
            "nullable": true
          },
          "customerEmail": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "merchantId": {
            "type": "integer",
            "format": "int32"
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "paymentCurrencyIso": {
            "type": "string",
            "nullable": true
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentAmount": {
            "type": "number",
            "format": "double"
          },
          "paymentMethodExternalId": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "type": {
            "$ref": "#/components/schemas/PaymentIntentType"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "externalTransactionId": {
            "type": "string",
            "nullable": true
          },
          "externalChargeId": {
            "type": "string",
            "nullable": true
          },
          "ip": {
            "type": "string",
            "nullable": true
          },
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "paymentProcessedDate": {
            "type": "string",
            "format": "date-time"
          },
          "payoutStatus": {
            "type": "integer",
            "format": "int32"
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          },
          "providerClientRelationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "providerDetailsId": {
            "type": "integer",
            "format": "int32"
          },
          "isDomestic": {
            "type": "boolean"
          },
          "autoConverted": {
            "type": "boolean",
            "nullable": true
          },
          "usAmount": {
            "type": "number",
            "format": "double"
          },
          "usAmountPaid": {
            "type": "number",
            "format": "double"
          },
          "varianceAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "confirmation3dsLink": {
            "type": "string",
            "nullable": true
          },
          "metadata3ds": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/PaymentLinkVersion"
          },
          "authCode": {
            "type": "string",
            "nullable": true
          },
          "sessionId": {
            "type": "string",
            "nullable": true
          },
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "startTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "presignedPaymentMethods": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "order": {
            "$ref": "#/components/schemas/OrderEntity"
          },
          "providerClientRelation": {
            "$ref": "#/components/schemas/ProviderClientRelationEntity"
          },
          "providerDetails": {
            "$ref": "#/components/schemas/ProviderDetailsEntity"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/PaymentMethodEntity"
          },
          "internalPayoutDetails": {
            "$ref": "#/components/schemas/InternalPayoutDetailsEntity"
          },
          "failures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentFailureEntity"
            },
            "nullable": true
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerEntity"
          },
          "refunds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefundEntity"
            },
            "nullable": true
          },
          "schedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledPaymentEntity"
            },
            "nullable": true
          },
          "feeDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FeeDetailsEntity"
            },
            "nullable": true
          },
          "calculatedAmount": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "calculatedCurrencyIso": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isExistVariance": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentLineItemsRequest": {
        "required": [
          "amount",
          "currency",
          "itemRef",
          "productCode"
        ],
        "type": "object",
        "properties": {
          "itemRef": {
            "minLength": 1,
            "type": "string"
          },
          "currency": {
            "minLength": 1,
            "type": "string"
          },
          "amount": {
            "type": "number",
            "format": "currency"
          },
          "description": {
            "maxLength": 1000,
            "type": "string",
            "nullable": true
          },
          "productCode": {
            "minLength": 1,
            "type": "string"
          },
          "tax": {
            "type": "number",
            "format": "currency",
            "nullable": true
          },
          "amountAfterTax": {
            "type": "number",
            "format": "currency",
            "nullable": true
          },
          "pmsLocator": {
            "type": "string",
            "nullable": true
          },
          "crsLocator": {
            "type": "string",
            "nullable": true
          },
          "mealType": {
            "type": "string",
            "nullable": true
          },
          "roomType": {
            "type": "string",
            "nullable": true
          },
          "ratePlanCode": {
            "type": "string",
            "nullable": true
          },
          "transactionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "checkInDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkOutDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentIntentPaymentSchedule"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentPayerDetailsRequest": {
        "required": [
          "payerCountry",
          "payerEmail",
          "payerName"
        ],
        "type": "object",
        "properties": {
          "payerTitle": {
            "type": "string",
            "nullable": true
          },
          "payerName": {
            "minLength": 1,
            "type": "string"
          },
          "payerEmail": {
            "minLength": 1,
            "type": "string"
          },
          "payerAddress": {
            "type": "string",
            "nullable": true
          },
          "payerCity": {
            "type": "string",
            "nullable": true
          },
          "payerCountry": {
            "minLength": 1,
            "type": "string"
          },
          "payerPostCode": {
            "type": "string",
            "nullable": true
          },
          "payerPhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentPaymentSchedule": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentRequestDto": {
        "required": [
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string"
          },
          "payerDetails": {
            "$ref": "#/components/schemas/PaymentIntentPayerDetailsRequest"
          },
          "travelerDetails": {
            "$ref": "#/components/schemas/PaymentIntentTravelerDetailsRequest"
          },
          "paymentDetails": {
            "$ref": "#/components/schemas/PaymentIntentDetailsRequest"
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "webhookUrl": {
            "type": "string",
            "nullable": true
          },
          "emailRequired": {
            "type": "boolean",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/PaymentLinkVersion"
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentResponseDto": {
        "type": "object",
        "properties": {
          "encryptedPubKey": {
            "type": "string",
            "nullable": true
          },
          "paymentLinkKey": {
            "type": "string",
            "nullable": true
          },
          "paymentLink": {
            "type": "string",
            "nullable": true
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "paymentLinkExpiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentSubscription": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/SubscriptionType"
          },
          "to": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentTravelerDetailsRequest": {
        "type": "object",
        "properties": {
          "travelerName": {
            "type": "string",
            "nullable": true
          },
          "travelerEmail": {
            "type": "string",
            "nullable": true
          },
          "travelerAddress": {
            "type": "string",
            "nullable": true
          },
          "travelerCity": {
            "type": "string",
            "nullable": true
          },
          "travelerTitle": {
            "type": "string",
            "nullable": true
          },
          "travelerPhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentIntentType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "PaymentIntentWithWalletItemRequestDto": {
        "required": [
          "transactionId",
          "walletItemToken"
        ],
        "type": "object",
        "properties": {
          "walletItemToken": {
            "minLength": 1,
            "type": "string"
          },
          "transactionId": {
            "minLength": 1,
            "type": "string"
          },
          "payerDetails": {
            "$ref": "#/components/schemas/PaymentIntentPayerDetailsRequest"
          },
          "travelerDetails": {
            "$ref": "#/components/schemas/PaymentIntentTravelerDetailsRequest"
          },
          "paymentDetails": {
            "$ref": "#/components/schemas/PaymentIntentDetailsRequest"
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "returnUrlSuccess": {
            "type": "string",
            "nullable": true
          },
          "returnUrlCancel": {
            "type": "string",
            "nullable": true
          },
          "webhookUrl": {
            "type": "string",
            "nullable": true
          },
          "emailRequired": {
            "type": "boolean",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/PaymentLinkVersion"
          }
        },
        "additionalProperties": false
      },
      "PaymentItemModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "customerEmail": {
            "type": "string",
            "nullable": true
          },
          "merchantId": {
            "type": "integer",
            "format": "int32"
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "ip": {
            "type": "string",
            "nullable": true
          },
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "paymentProcessedDate": {
            "type": "string",
            "format": "date-time"
          },
          "merchantName": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "order": {
            "$ref": "#/components/schemas/PaymentOrderItemModel"
          },
          "exchangeRate": {
            "$ref": "#/components/schemas/PaymentExchangeRateItemModel"
          }
        },
        "additionalProperties": false
      },
      "PaymentLinkVersion": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "PaymentListModel": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentItemModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentListModelProceedPaymentErrorsResultModel": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/PaymentListModel"
          },
          "errors": {
            "type": "object",
            "properties": {
              "CUSTOM": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_SERVICE_UNAVAILABLE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PUB_KEY_EXPIRED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PUB_KEY_INVALID": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_AMOUNT": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_PAYMENT_METHOD": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CUSTOMER_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "TRANSACTION_ALREADY_EXISTS": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_COUNTRY_DOEST_NOT_MATCH": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTH_HEADER_IS_MISSING": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_ALREADY_DONE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_DECLINED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_INTENT_PROVIDER_ERROR": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_BRAND_IS_NOT_ALLOWED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CURRENCY_NOT_SUPPORTED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_LINK_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_DOES_NOT_MATCH_THE_ACCEPTED_CARD_DETAILS": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_CARD_EXPIRATION_DATE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_CARD_FOR_PROMOTION": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_ALREADY_DISPUTED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTH_CANCEL_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CAPTURE_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PARTIAL_AUTH_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_BOOKING_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_BOOKING_ERROR": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_ALREADY_CANCELED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTHENTICATION_INITIATED_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false,
            "nullable": true
          },
          "hasErrors": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodBo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "customerExternalId": {
            "type": "string",
            "nullable": true
          },
          "providerClientRelationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paymentProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paymentProviderType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "externalAccountId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodType": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "cardId": {
            "type": "integer",
            "format": "int64"
          },
          "card": {
            "$ref": "#/components/schemas/PaymentMethodCardBo"
          },
          "parentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "expiresOn": {
            "type": "string",
            "format": "date-time"
          },
          "internalPaymentMethodCard": {
            "$ref": "#/components/schemas/PaymentMethodCard"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCard": {
        "type": "object",
        "properties": {
          "cardNumber": {
            "type": "string",
            "nullable": true
          },
          "cardHolderName": {
            "type": "string",
            "nullable": true
          },
          "cvc": {
            "type": "string",
            "nullable": true
          },
          "expirationMonth": {
            "type": "integer",
            "format": "int32"
          },
          "expirationYear": {
            "type": "integer",
            "format": "int32"
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "internalToken": {
            "type": "string",
            "nullable": true
          },
          "externalToken": {
            "type": "string",
            "nullable": true
          },
          "cardType": {
            "type": "integer",
            "format": "int32"
          },
          "useBinChecking": {
            "type": "boolean"
          },
          "guestCardHolderName": {
            "type": "string",
            "nullable": true
          },
          "ipAddress": {
            "type": "string",
            "nullable": true
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCardBo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "brandProduct": {
            "type": "string",
            "nullable": true
          },
          "brandId": {
            "type": "integer",
            "format": "int32"
          },
          "typeId": {
            "type": "integer",
            "format": "int32"
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expMonth": {
            "type": "integer",
            "format": "int64"
          },
          "expYear": {
            "type": "integer",
            "format": "int64"
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "funding": {
            "type": "string",
            "nullable": true
          },
          "iin": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "last4": {
            "type": "string",
            "nullable": true
          },
          "threeSecureUsageSupported": {
            "type": "boolean"
          },
          "cardHolderName": {
            "type": "string",
            "nullable": true
          },
          "isVcc": {
            "type": "boolean"
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "brandFullName": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "guestCardHolderName": {
            "type": "string",
            "nullable": true
          },
          "internalToken": {
            "type": "string",
            "nullable": true
          },
          "externalToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCardEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "brandId": {
            "type": "integer",
            "format": "int32"
          },
          "typeId": {
            "type": "integer",
            "format": "int32"
          },
          "brandProduct": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expMonth": {
            "type": "integer",
            "format": "int64"
          },
          "expYear": {
            "type": "integer",
            "format": "int64"
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "funding": {
            "type": "string",
            "nullable": true
          },
          "iin": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "last4": {
            "type": "string",
            "nullable": true
          },
          "threeSecureUsageSupported": {
            "type": "boolean"
          },
          "cardHolderName": {
            "type": "string",
            "nullable": true
          },
          "isVcc": {
            "type": "boolean"
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "internalToken": {
            "type": "string",
            "nullable": true
          },
          "externalToken": {
            "type": "string",
            "nullable": true
          },
          "guestCardHolderName": {
            "type": "string",
            "nullable": true
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/PaymentMethodEntity"
          },
          "brandProductMapping": {
            "$ref": "#/components/schemas/BrandProductMappingEntity"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCardResponseDto": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "string",
            "nullable": true
          },
          "brandProduct": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expMonth": {
            "type": "integer",
            "format": "int64"
          },
          "expYear": {
            "type": "integer",
            "format": "int64"
          },
          "fingerprint": {
            "type": "string",
            "nullable": true
          },
          "funding": {
            "type": "string",
            "nullable": true
          },
          "iin": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "last4": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "providerClientRelationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paymentProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paymentProviderType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "paymentMethodType": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "externalAccountId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "cardId": {
            "type": "integer",
            "format": "int64"
          },
          "parentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "card": {
            "$ref": "#/components/schemas/PaymentMethodCardEntity"
          },
          "paymentProvider": {
            "$ref": "#/components/schemas/PaymentProviderEntity"
          },
          "paymentIntents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentIntentEntity"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "card": {
            "$ref": "#/components/schemas/PaymentMethodCardResponseDto"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodType": {
        "enum": [
          "Card",
          "EvyPay",
          "AliPay",
          "WeChatPay",
          "Giropay",
          "GooglePay",
          "ApplePay",
          "Tamara",
          "Przelewy24",
          "Ideal",
          "Sofort",
          "Bancontact",
          "Multibanco",
          "Eps",
          "AliPayCN",
          "PostFinance",
          "Paypal"
        ],
        "type": "string"
      },
      "PaymentMode": {
        "enum": [
          "Payment",
          "PayLater",
          "Token",
          "Terminal",
          "Authorize"
        ],
        "type": "string"
      },
      "PaymentOrderItemModel": {
        "type": "object",
        "properties": {
          "publicId": {
            "type": "string",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "referenceNo": {
            "type": "string",
            "nullable": true
          },
          "currencyIso": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "orderDate": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "serviceDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mode": {
            "$ref": "#/components/schemas/PaymentMode"
          },
          "statementSuffix": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "PaymentPayInList": {
        "type": "object",
        "properties": {
          "currencyToPayIn": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "$ref": "#/components/schemas/CountryDTO"
          },
          "currencyList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyDTO"
            },
            "nullable": true
          },
          "warningMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentProviderEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "isEnablePay3ds": {
            "type": "boolean"
          },
          "isVoid": {
            "type": "boolean"
          },
          "isAuthorize": {
            "type": "boolean"
          },
          "isEnableAuthorize3ds": {
            "type": "boolean"
          },
          "isAuthorizeVoid": {
            "type": "boolean"
          },
          "isCapture": {
            "type": "boolean"
          },
          "isIncrement": {
            "type": "boolean"
          },
          "isRefund": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PaymentProviderType": {
        "enum": [
          "Stripe",
          "CitiBank",
          "Checkout",
          "EvyPay",
          "Mpgs",
          "PayGate"
        ],
        "type": "string"
      },
      "PaymentStatus": {
        "enum": [
          "RequiresPaymentMethod",
          "RequiresConfirmation",
          "RequiresAction",
          "Processing",
          "RequiresCapture",
          "Canceled",
          "Succeeded",
          "Scheduled",
          "PartialRefund",
          "Refund",
          "DisputedNeedsResponse",
          "DisputedUnderReview",
          "DisputedChargeRefunded",
          "DisputedWon",
          "DisputedLost",
          "DisputedCanceled",
          "DisputedExpired",
          "DisputedWarningClosed",
          "DisputedAccepted",
          "DisputedArbitrationSentToScheme",
          "DisputedEvidenceAcknowledgedByScheme",
          "DisputedEvidenceSubmitted",
          "DisputedResolved",
          "Voided",
          "DisputedEvidenceRequired",
          "DisputedArbitrationEvidenceSubmitted",
          "DisputedArbitrationWon",
          "DisputedArbitrationLost"
        ],
        "type": "string"
      },
      "PayoutFrequencyType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "ProceedLpmPaymentRequest": {
        "type": "object",
        "properties": {
          "pubKey": {
            "type": "string",
            "nullable": true
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          },
          "brandCode": {
            "type": "string",
            "nullable": true
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "capture": {
            "type": "boolean"
          },
          "isPaymentContext": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProceedLpmPaymentResponse": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          },
          "accountPublicKey": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "string",
            "nullable": true
          },
          "paymentContextId": {
            "type": "string",
            "nullable": true
          },
          "amountId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "referenceId": {
            "type": "string",
            "nullable": true
          },
          "processingChannelId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProceedPaymentCardItemRequestDto": {
        "required": [
          "cardNumber",
          "expirationMonth",
          "expirationYear"
        ],
        "type": "object",
        "properties": {
          "cardNumber": {
            "minLength": 1,
            "type": "string"
          },
          "cardHolderName": {
            "type": "string",
            "nullable": true
          },
          "cvc": {
            "type": "string",
            "nullable": true
          },
          "expirationMonth": {
            "type": "integer",
            "format": "int32"
          },
          "expirationYear": {
            "type": "integer",
            "format": "int32"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProceedPaymentErrorsErrorResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "object",
            "properties": {
              "CUSTOM": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "MERCHANT_SERVICE_UNAVAILABLE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PUB_KEY_EXPIRED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PUB_KEY_INVALID": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_AMOUNT": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_PAYMENT_METHOD": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CUSTOMER_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "TRANSACTION_ALREADY_EXISTS": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_COUNTRY_DOEST_NOT_MATCH": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTH_HEADER_IS_MISSING": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_ALREADY_DONE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_DECLINED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_INTENT_PROVIDER_ERROR": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_BRAND_IS_NOT_ALLOWED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CURRENCY_NOT_SUPPORTED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_LINK_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CARD_DOES_NOT_MATCH_THE_ACCEPTED_CARD_DETAILS": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_CARD_EXPIRATION_DATE": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "INVALID_CARD_FOR_PROMOTION": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_ALREADY_DISPUTED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTH_CANCEL_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "CAPTURE_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PARTIAL_AUTH_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_BOOKING_NOT_FOUND": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_BOOKING_ERROR": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "PAYMENT_ALREADY_CANCELED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "AUTHENTICATION_INITIATED_FAILED": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false,
            "nullable": true
          },
          "hasErrors": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ProceedPaymentRequestDto": {
        "required": [
          "pubKey"
        ],
        "type": "object",
        "properties": {
          "pubKey": {
            "minLength": 1,
            "type": "string"
          },
          "paymentMethodId": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodType": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "saveCard": {
            "type": "boolean"
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "card": {
            "$ref": "#/components/schemas/ProceedPaymentCardItemRequestDto"
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProceedPaymentScheduledPaymentDto"
            },
            "nullable": true
          },
          "isFullOrderAmountPaid": {
            "type": "boolean"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "cardDesciption": {
            "type": "string",
            "nullable": true
          },
          "forceAuth": {
            "type": "boolean",
            "nullable": true
          },
          "paymentProviderType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "useZeroAmount": {
            "type": "boolean",
            "nullable": true
          },
          "recurringPayment": {
            "type": "boolean",
            "nullable": true
          },
          "tokenData": {
            "type": "string",
            "nullable": true
          },
          "userAgent": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProceedPaymentResponseDto": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "paymentType": {
            "$ref": "#/components/schemas/PaymentIntentType"
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodExternalId": {
            "type": "string",
            "nullable": true
          },
          "accountPublicKey": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "confirmation3dsDevelopmentLink": {
            "type": "string",
            "nullable": true
          },
          "metadata3ds": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProceedPaymentScheduledPaymentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "currencyToPay": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProceedPaymentWithWalletItemRequestDto": {
        "required": [
          "pubKey",
          "walletItemToken"
        ],
        "type": "object",
        "properties": {
          "walletItemToken": {
            "minLength": 1,
            "type": "string"
          },
          "pubKey": {
            "minLength": 1,
            "type": "string"
          },
          "paymentMethodId": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodType": {
            "$ref": "#/components/schemas/PaymentMethodType"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "saveCard": {
            "type": "boolean"
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "card": {
            "$ref": "#/components/schemas/ProceedPaymentCardItemRequestDto"
          },
          "paymentSchedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProceedPaymentScheduledPaymentDto"
            },
            "nullable": true
          },
          "isFullOrderAmountPaid": {
            "type": "boolean"
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "cardDesciption": {
            "type": "string",
            "nullable": true
          },
          "forceAuth": {
            "type": "boolean",
            "nullable": true
          },
          "paymentProviderType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "useZeroAmount": {
            "type": "boolean",
            "nullable": true
          },
          "recurringPayment": {
            "type": "boolean",
            "nullable": true
          },
          "tokenData": {
            "type": "string",
            "nullable": true
          },
          "userAgent": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProviderClientRelationEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "paymentProviderId": {
            "type": "integer",
            "format": "int32"
          },
          "merchantId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "iban": {
            "type": "string",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "publicKey": {
            "type": "string",
            "nullable": true
          },
          "accountName": {
            "type": "string",
            "nullable": true
          },
          "accountCountry": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "isGlobal": {
            "type": "boolean"
          },
          "payoutDays": {
            "type": "integer",
            "format": "int32"
          },
          "weekendDays": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "settlementCurrencies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "paymentProvider": {
            "$ref": "#/components/schemas/PaymentProviderEntity"
          },
          "privateKey": {
            "type": "string",
            "nullable": true
          },
          "defaultSettlementCurrency": {
            "type": "string",
            "nullable": true
          },
          "dynamicsLegalEntityId": {
            "type": "integer",
            "format": "int32"
          },
          "entityId": {
            "type": "string",
            "nullable": true
          },
          "mccCode": {
            "type": "string",
            "nullable": true
          },
          "isDirect": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "branch": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "updatedBy": {
            "type": "string",
            "nullable": true
          },
          "isSubscribed": {
            "type": "boolean"
          },
          "targetSource": {
            "$ref": "#/components/schemas/AccountTargetSource"
          },
          "otherCurrencies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "balanceSync": {
            "type": "boolean"
          },
          "walletPush": {
            "type": "boolean"
          },
          "dynamicsPush": {
            "type": "boolean"
          },
          "webhookSecret": {
            "type": "string",
            "nullable": true
          },
          "autoCapture": {
            "type": "boolean"
          },
          "threeDsEnabled": {
            "type": "boolean"
          },
          "payLaterEnabled": {
            "type": "boolean"
          },
          "metadata": {
            "type": "string",
            "nullable": true
          },
          "getPaymentProviderType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          }
        },
        "additionalProperties": false
      },
      "ProviderDetailsEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "issueCountry": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "providerClientRelationId": {
            "type": "integer",
            "format": "int32"
          },
          "brandId": {
            "type": "integer",
            "format": "int32"
          },
          "providerClientRelation": {
            "$ref": "#/components/schemas/ProviderClientRelationEntity"
          },
          "getPaymentProviderType": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "adjacentProviderClientRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderClientRelationEntity"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefundCreateModel": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "scheduledPaymentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "orderItemId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "paymentProvider": {
            "$ref": "#/components/schemas/PaymentProviderType"
          },
          "saveOldInternalDetails": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RefundEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/RefundStatus"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "requestedAmount": {
            "type": "number",
            "format": "double"
          },
          "requestedCurrency": {
            "type": "string",
            "nullable": true
          },
          "usAmountRequested": {
            "type": "number",
            "format": "double"
          },
          "usAmountRefunded": {
            "type": "number",
            "format": "double"
          },
          "createUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "createdUserName": {
            "type": "string",
            "nullable": true
          },
          "scheduledPaymentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "orderItemId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "paymentIntent": {
            "$ref": "#/components/schemas/PaymentIntentEntity"
          },
          "order": {
            "$ref": "#/components/schemas/OrderEntity"
          },
          "oldCreateUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefundItemModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64"
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/RefundStatus"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "requestedAmount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "RefundListModel": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefundItemModel"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "RefundStatus": {
        "enum": [
          "Pending",
          "Succeeded",
          "Failed",
          "Canceled"
        ],
        "type": "string"
      },
      "ScheduledPaymentDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "amountInOrderCurrency": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currencyToPay": {
            "type": "string",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/ScheduledPaymentStatus"
          }
        },
        "additionalProperties": false
      },
      "ScheduledPaymentEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "integer",
            "format": "int64"
          },
          "setupIntentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "paymentIntentId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "amountInOrderCurrency": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currencyToPay": {
            "type": "string",
            "nullable": true
          },
          "amountInCurrencyToPay": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "feeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "feePercAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/ScheduledPaymentStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "orderItemId": {
            "type": "integer",
            "format": "int64"
          },
          "providerDetailsId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "autoConverted": {
            "type": "boolean"
          },
          "providerDetails": {
            "$ref": "#/components/schemas/ProviderDetailsEntity"
          },
          "order": {
            "$ref": "#/components/schemas/OrderEntity"
          }
        },
        "additionalProperties": false
      },
      "ScheduledPaymentItemGetModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "amountInOrderCurrency": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currencyToPay": {
            "type": "string",
            "nullable": true
          },
          "amountInCurrencyToPay": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ScheduledPaymentStatus"
          },
          "orderItemId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ScheduledPaymentItemModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time"
          },
          "amountInOrderCurrency": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currencyToPay": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ScheduledPaymentStatus"
          }
        },
        "additionalProperties": false
      },
      "ScheduledPaymentStatus": {
        "enum": [
          "Pending",
          "Paid",
          "Failed",
          "Cancelled",
          "Refunded"
        ],
        "type": "string"
      },
      "SubscriptionType": {
        "enum": [
          "Monthly",
          "Yearly"
        ],
        "type": "string"
      },
      "TransactionType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "TransactionTypeEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "transactionType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TravelerEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "travelerName": {
            "type": "string",
            "nullable": true
          },
          "travelerEmail": {
            "type": "string",
            "nullable": true
          },
          "travelerAddress": {
            "type": "string",
            "nullable": true
          },
          "travelerCity": {
            "type": "string",
            "nullable": true
          },
          "travelerTitle": {
            "type": "string",
            "nullable": true
          },
          "travelerPhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateBinPromoCodeRequest": {
        "type": "object",
        "properties": {
          "merchantId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "promoCode": {
            "type": "string",
            "nullable": true
          },
          "bin": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateBinPromoCodeResponse": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "brand": {
            "$ref": "#/components/schemas/CardBrandEnum"
          },
          "brandProductCode": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "iin": {
            "type": "string",
            "nullable": true
          },
          "bin6Digits": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "isVcc": {
            "type": "boolean"
          },
          "cardType": {
            "$ref": "#/components/schemas/CardType"
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "cardCurrency": {
            "type": "string",
            "nullable": true
          },
          "checkInDateFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkInDateTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WalletItemBo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "iolpayToken": {
            "type": "string",
            "nullable": true
          },
          "cardToken": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/PaymentMethodBo"
          },
          "customerId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "JWT Bearer token for portal and admin access.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "Merchant API key. Use pubKey only for public access, or pubKey:secretKey for merchant access.",
        "name": "X-ApiKey",
        "in": "header"
      }
    }
  }
}