{
  "openapi": "3.0.4",
  "info": {
    "title": "CardManagement API",
    "description": "API for manage CardManagement (v1.162.0)",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://p2.flowe.com/p2-api/cardmanagement/v1",
      "description": "v1-cardmanagement"
    }
  ],
  "paths": {
    "/accounts/{id}": {
      "get": {
        "tags": [
          "Account"
        ],
        "description": "Get a single accounr using its id",
        "operationId": "GetAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Single account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "description": "Updates an existing account",
        "operationId": "UpdateAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request for update account",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAccountRequest"
                  }
                ],
                "description": "Request for update an account"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAccountRequest"
                  }
                ],
                "description": "Request for update an account"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAccountRequest"
                  }
                ],
                "description": "Request for update an account"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAccountRequest"
                  }
                ],
                "description": "Request for update an account"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Account"
        ],
        "description": "Delete an existing account",
        "operationId": "DeleteAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reasonCode",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "IssuerRequestGeneral",
                "UserRequest",
                "PermanentBlockChargeOff",
                "IssuerRequestBureauInquiry",
                "IssuerRequestCustomerDeceased",
                "IssuerRequestStornoFromCollectionStraight",
                "IssuerRequestStornoFromCollectionDepo",
                "IssuerRequestStornoFromCollectionDepoPaid",
                "IssuerRequestHandoverToAttorney",
                "IssuerRequestLegalAction",
                "IssuerRequestAmlKyc"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/accounts/search": {
      "post": {
        "tags": [
          "Account"
        ],
        "description": "Search one or more accounts using filter criteria",
        "operationId": "SearchAccounts",
        "parameters": [
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "requestBody": {
          "description": "Request with search criteria",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchAccountsRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchAccountsRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchAccountsRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchAccountsRequest"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "List of accounts",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/accounts/{id}/cards": {
      "get": {
        "tags": [
          "Account"
        ],
        "description": "Get list of cards available on a single account",
        "operationId": "GetAccountCards",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of cards",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Account"
        ],
        "description": "Create a new card for a specified account",
        "operationId": "CreateCard",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Card details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCardRequest"
                  }
                ],
                "description": "Request for create a card"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCardRequest"
                  }
                ],
                "description": "Request for create a card"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCardRequest"
                  }
                ],
                "description": "Request for create a card"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCardRequest"
                  }
                ],
                "description": "Request for create a card"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Card details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/accounts/{id}/lock": {
      "put": {
        "tags": [
          "Account"
        ],
        "description": "Lock a specified account",
        "operationId": "LockAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "lockType",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "TemporaryBlockForDelinquency",
                "TemporaryBlockOnIssuerRequest",
                "TemporaryBlockForDepo",
                "TemporaryBlockForAmlKyc",
                "IssuerRequestGeneral",
                "UserRequest",
                "PermanentBlockChargeOff",
                "IssuerRequestBureauInquiry",
                "IssuerRequestCustomerDeceased",
                "IssuerRequestStornoFromCollectionStraight",
                "IssuerRequestStornoFromCollectionDepo",
                "IssuerRequestStornoFromCollectionDepoPaid",
                "IssuerRequestHandoverToAttorney",
                "IssuerRequestLegalAction",
                "IssuerRequestAmlKyc"
              ],
              "type": "string"
            }
          },
          {
            "name": "level",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "CardHolder",
                "AccountHolder",
                "Admin"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/accounts/{id}/unlock": {
      "put": {
        "tags": [
          "Account"
        ],
        "description": "Unlock a specified account",
        "operationId": "UnlockAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "level",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "CardHolder",
                "AccountHolder",
                "Admin"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/accounts/{id}/block": {
      "put": {
        "tags": [
          "Account"
        ],
        "description": "Block a specified account",
        "operationId": "BlockAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "accountBlockRequestReasonCode",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "IssuerRequestGeneral",
                "UserRequest",
                "IssuerRequestBureauInquiry",
                "IssuerRequestCustomerDeceased",
                "IssuerRequestStornoFromCollectionStraight",
                "IssuerRequestStornoFromCollectionDepo",
                "IssuerRequestStornoFromCollectionDepoPaid",
                "IssuerRequestHandoverToAttorney",
                "IssuerRequestLegalAction",
                "IssuerRequestAmlKyc"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/accounts/enum-types": {
      "get": {
        "tags": [
          "Account"
        ],
        "description": "Get account enum Types",
        "operationId": "GetAccountEnumTypes",
        "responses": {
          "200": {
            "description": "list of enum types and values",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/addresses/{id}": {
      "get": {
        "tags": [
          "Addresses"
        ],
        "description": "Get a single Address using its id",
        "operationId": "GetAddress",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of Address",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Single Address",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Addresses"
        ],
        "description": "Updates an existing Address",
        "operationId": "UpdateAddress",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of Address",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request for update Address",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAddressRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAddressRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAddressRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateAddressRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated Address",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Addresses"
        ],
        "description": "Delete an existing account",
        "operationId": "DeleteAddress",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of account",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/affiliates/oobauthentication/push": {
      "post": {
        "tags": [
          "Affiliates"
        ],
        "description": "Push the result (success or failure) of an OOB (Out-of-Band) \r\nauthentication that was previously raised on affiliate using \r\ndevice id and transaction data",
        "operationId": "PushOobAuthentication",
        "requestBody": {
          "description": "Request with result of raised authentication",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOobAuthenticationRequest"
                  }
                ],
                "description": "Request used to capture an OOB (Out-of-Band) authentication\r\npreviously raised on a remote device that belong to card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "authenticated": true,
                "authMethod": "07"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOobAuthenticationRequest"
                  }
                ],
                "description": "Request used to capture an OOB (Out-of-Band) authentication\r\npreviously raised on a remote device that belong to card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "authenticated": true,
                "authMethod": "07"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOobAuthenticationRequest"
                  }
                ],
                "description": "Request used to capture an OOB (Out-of-Band) authentication\r\npreviously raised on a remote device that belong to card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "authenticated": true,
                "authMethod": "07"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOobAuthenticationRequest"
                  }
                ],
                "description": "Request used to capture an OOB (Out-of-Band) authentication\r\npreviously raised on a remote device that belong to card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "authenticated": true,
                "authMethod": "07"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Confirmation of push"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/{cardId}": {
      "get": {
        "tags": [
          "Cards"
        ],
        "description": "Get a single card using its identifier",
        "operationId": "GetCard",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Single card",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Cards"
        ],
        "description": "Updates an existing card",
        "operationId": "UpdateCard",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request for update card",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCardRequest"
                  }
                ],
                "description": "Request used for updating a card"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCardRequest"
                  }
                ],
                "description": "Request used for updating a card"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCardRequest"
                  }
                ],
                "description": "Request used for updating a card"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCardRequest"
                  }
                ],
                "description": "Request used for updating a card"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated card",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Cards"
        ],
        "description": "Delete an existing card",
        "operationId": "DeleteCard",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reasonCode",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "IssuerRequestGeneral",
                "IssuerRequestFraud",
                "IssuerRequestLegal",
                "IssuerRequestIncorrectOpening",
                "UserRequest",
                "IssuerRequestCustomerDeceased"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/{cardId}/limits": {
      "get": {
        "tags": [
          "Cards"
        ],
        "description": "Gets limits for card",
        "operationId": "GetCardLimits",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CardLimit"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CardLimit"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Cards"
        ],
        "description": "Overrides current card limits.",
        "operationId": "OverrideCardLimits",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Array of CardLimit to set",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OverrideCardLimitsRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OverrideCardLimitsRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OverrideCardLimitsRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OverrideCardLimitsRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CardLimit"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CardLimit"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/{id}/lock": {
      "put": {
        "tags": [
          "Cards"
        ],
        "description": "Lock a specified card",
        "operationId": "LockCard",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "lockType",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "ClientRequestedLock",
                "LostCard",
                "StolenCard",
                "IssuerRequestGeneral",
                "IssuerRequestFraud",
                "IssuerRequestLegal"
              ],
              "type": "string"
            }
          },
          {
            "name": "level",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "Client",
                "Admin"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "card details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/{id}/unlock": {
      "put": {
        "tags": [
          "Cards"
        ],
        "description": "Unlock a specified card",
        "operationId": "UnlockCard",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "level",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "Client",
                "Admin"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNoteRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "card details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/{id}/block": {
      "put": {
        "tags": [
          "Cards"
        ],
        "description": "Block a specified card",
        "operationId": "BlockCard",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reasonCode",
            "in": "query",
            "required": true,
            "schema": {
              "enum": [
                "LostCard",
                "StolenCard",
                "IssuerRequestGeneral",
                "IssuerRequestFraud",
                "IssuerRequestLegal",
                "IssuerRequestIncorrectOpening",
                "CardDamagedOrNotWorking",
                "UserRequest",
                "IssuerRequestCustomerDeceased",
                "ProductDoesNotRenew"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "card details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/pin": {
      "post": {
        "tags": [
          "Cards"
        ],
        "description": "Get Card Pin",
        "operationId": "RetrievePin",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "RSA-encrypted card information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardRsaResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardRsaResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/changepin": {
      "post": {
        "tags": [
          "Cards"
        ],
        "description": "Change Card Pin",
        "operationId": "ChangeCardPin",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardChangePinRequest"
                  }
                ],
                "description": "Represents the request payload for updating a card's PIN code."
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardChangePinRequest"
                  }
                ],
                "description": "Represents the request payload for updating a card's PIN code."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardChangePinRequest"
                  }
                ],
                "description": "Represents the request payload for updating a card's PIN code."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardChangePinRequest"
                  }
                ],
                "description": "Represents the request payload for updating a card's PIN code."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/carddata": {
      "post": {
        "tags": [
          "Cards"
        ],
        "description": "Get Card Pin",
        "operationId": "RetrieveCardData",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTokenRequest"
                  }
                ],
                "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "RSA-encrypted card information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardRsaResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardRsaResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/{id}/plastic": {
      "post": {
        "tags": [
          "Cards"
        ],
        "description": "CreatePlastic",
        "operationId": "CreatePlastic",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/cards/enum-types": {
      "get": {
        "tags": [
          "Cards"
        ],
        "description": "Get card enum Types",
        "operationId": "GetCardEnumTypes",
        "responses": {
          "200": {
            "description": "list of enum types and values",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/transactions/{cardId}": {
      "get": {
        "tags": [
          "CardTransactions"
        ],
        "description": "Gets paginated transactions associated to a single card using its identifier and date range filters",
        "operationId": "GetCardTransactions",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "From date range filter (last 90 days by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "To date range filter (utc now by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of Transactions per page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Zero-based page number",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated card transactions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTransactionResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTransactionResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/transactions/{cardId}/count": {
      "get": {
        "tags": [
          "CardTransactions"
        ],
        "description": "Gets count of transactions associated to a single card using its identifier and date range filters",
        "operationId": "CountCardTransactions",
        "parameters": [
          {
            "name": "cardId",
            "in": "path",
            "description": "Identifier of card",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "From date range filter (last 90 days by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "To date range filter (utc now by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Card transactions count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Get list of clearing bookmarks available in scope",
        "operationId": "GetClearingBookmarks",
        "parameters": [
          {
            "name": "fromDate",
            "in": "query",
            "description": "From date",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "To date filter",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of bookmarks",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearingBookmarkResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearingBookmarkResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/{bookmarkId}/incomings": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Get list of incoming clearings for a specific bookmark",
        "operationId": "GetIncomingClearings",
        "parameters": [
          {
            "name": "bookmarkId",
            "in": "path",
            "description": "Bookmark identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of incoming clearings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncomingClearingResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IncomingClearingResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/{bookmarkId}/incomings/{incomingClearingId}": {
      "delete": {
        "tags": [
          "Clearings"
        ],
        "description": "Delete an incoming clearing and its file",
        "operationId": "DeleteIncomingClearing",
        "parameters": [
          {
            "name": "bookmarkId",
            "in": "path",
            "description": "Bookmark identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incomingClearingId",
            "in": "path",
            "description": "Incoming clearing identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Entity and file deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingClearingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingClearingResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Bookmark or incoming clearing was not found"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/{bookmarkId}/outgoings": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Get list of outgoing clearings for a specific bookmark",
        "operationId": "GetOutgoingClearings",
        "parameters": [
          {
            "name": "bookmarkId",
            "in": "path",
            "description": "Bookmark identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of outgoing clearings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutgoingClearingResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutgoingClearingResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/{bookmarkId}/outgoings/{outgoingClearingId}": {
      "delete": {
        "tags": [
          "Clearings"
        ],
        "description": "Delete an outgoing clearing and its file",
        "operationId": "DeleteOutgoingClearing",
        "parameters": [
          {
            "name": "bookmarkId",
            "in": "path",
            "description": "Bookmark identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "outgoingClearingId",
            "in": "path",
            "description": "Outgoing clearing identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Entity and file deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingClearingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingClearingResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Bookmark or outgoing clearing was not found"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/upload": {
      "post": {
        "tags": [
          "Clearings"
        ],
        "description": "Uploads clearing files to be processed",
        "operationId": "UploadClearingFiles",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "files"
                ],
                "type": "object",
                "properties": {
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "File to upload and elaborate"
                  }
                }
              },
              "encoding": {
                "files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Upload completed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearingFileUploadResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearingFileUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid files uploaded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/{bookmarkId}/incomings/{incomingClearingId}/download": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Gets an input source file for a specific clearings",
        "operationId": "DownloadIncomingClearingFile",
        "parameters": [
          {
            "name": "bookmarkId",
            "in": "path",
            "description": "Bookmark identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incomingClearingId",
            "in": "path",
            "description": "Incoming clearing identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File is downloaded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Bookmark or incoming clearing was not found"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/{bookmarkId}/outgoings/{outgoingClearingId}/download": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Downloads an outgoing clearing file for a specific clearings",
        "operationId": "DownloadOutgoingClearingFile",
        "parameters": [
          {
            "name": "bookmarkId",
            "in": "path",
            "description": "Clearing Bookmark identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "outgoingClearingId",
            "in": "path",
            "description": "Outgoing clearing identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File is downloaded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Bookmark or outgoing clearing was not found"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/flow-modes": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Return the list of clearing flow modes",
        "operationId": "GetClearingFlowModes",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/issuers": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Return the list of configured issuers",
        "operationId": "GetIssuers",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/clearings/issuers/{issuerKey}": {
      "get": {
        "tags": [
          "Clearings"
        ],
        "description": "Return the list of affiliates on specific issuer",
        "operationId": "GetAffiliatesByIssuer",
        "parameters": [
          {
            "name": "issuerKey",
            "in": "path",
            "description": "Issuer key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/communication-channels/{id}": {
      "get": {
        "tags": [
          "CommunicationChannels"
        ],
        "description": "Get a single Communication Channel using its id",
        "operationId": "GetCommunicationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of Communication Channel",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Single Communication Channel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationChannelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationChannelResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "CommunicationChannels"
        ],
        "description": "Updates an existing Communication Channel",
        "operationId": "UpdateCommunicationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of Communication Channel",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request for update Communication Channel",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCommunicationChannelRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCommunicationChannelRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCommunicationChannelRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCommunicationChannelRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated Communication Channel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationChannelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationChannelResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "CommunicationChannels"
        ],
        "description": "Delete an existing Communication Channel",
        "operationId": "DeleteCommunicationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of Communication Channel",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers": {
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get list of customers available in scope",
        "operationId": "GetCustomers",
        "parameters": [
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of customers",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Customers"
        ],
        "description": "Creates a new customer",
        "operationId": "CreateCustomer",
        "requestBody": {
          "description": "Request for create customer",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCustomerRequest"
                  }
                ],
                "description": "Request used for create a card customer"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCustomerRequest"
                  }
                ],
                "description": "Request used for create a card customer"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCustomerRequest"
                  }
                ],
                "description": "Request used for create a card customer"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCustomerRequest"
                  }
                ],
                "description": "Request used for create a card customer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Created customer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/search": {
      "post": {
        "tags": [
          "Customers"
        ],
        "description": "Search one or more customers using filter criteria",
        "operationId": "SearchCustomers",
        "parameters": [
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "requestBody": {
          "description": "Request with search criteria",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchCustomersRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchCustomersRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchCustomersRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SearchCustomersRequest"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "List of customers",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/{id}": {
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get a single customers using its id",
        "operationId": "GetCustomer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Single customer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Customers"
        ],
        "description": "Updates an existing customer",
        "operationId": "UpdateCustomer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request for update customer",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCustomerRequest"
                  }
                ],
                "description": "Request used for update a card customer"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCustomerRequest"
                  }
                ],
                "description": "Request used for update a card customer"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCustomerRequest"
                  }
                ],
                "description": "Request used for update a card customer"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateCustomerRequest"
                  }
                ],
                "description": "Request used for update a card customer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated customer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Customers"
        ],
        "description": "Deòlete a single customers using its id",
        "operationId": "DeleteCustomer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reasonCode",
            "in": "query",
            "schema": {
              "enum": [
                "IssuerRequestGeneral",
                "IssuerRequestFraud",
                "IssuerRequestLegal",
                "IssuerRequestIncorrectOpening",
                "UserRequest",
                "IssuerRequestCustomerDeceased"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Customer deleted"
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/{id}/accounts": {
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get list of accounts available on a single customer",
        "operationId": "GetCustomerAccounts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of accounts",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Customers"
        ],
        "description": "Create a new account for a specified customer",
        "operationId": "CreateCustomerAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Account details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAccountRequest"
                  }
                ],
                "description": "Request for create an account"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAccountRequest"
                  }
                ],
                "description": "Request for create an account"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAccountRequest"
                  }
                ],
                "description": "Request for create an account"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAccountRequest"
                  }
                ],
                "description": "Request for create an account"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Account details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/{id}/cards": {
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get list of cards available on a single customer",
        "operationId": "GetCustomerCards",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Number of page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of cards",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/{id}/addresses": {
      "post": {
        "tags": [
          "Customers"
        ],
        "description": "Create a new account for a specified customer",
        "operationId": "CreateAddress",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Account details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAddressRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAddressRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAddressRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateAddressRequest"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Account details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddressResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get all addresses for a specified customer",
        "operationId": "GetCustomerAdresses",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddressResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AddressResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/{id}/communication-channels": {
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get all Communication Channel for a specified customer",
        "operationId": "GetCustomerCommunicationChannels",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Communication Channels details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationChannelResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommunicationChannelResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Customers"
        ],
        "description": "Create a new Communication Channel for a specified customer",
        "operationId": "CreateCommunicationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Communication Channel details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCommunicationChannelRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCommunicationChannelRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCommunicationChannelRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateCommunicationChannelRequest"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Communication Channel details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationChannelResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunicationChannelResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/customers/enum-types": {
      "get": {
        "tags": [
          "Customers"
        ],
        "description": "Get customer enum Types",
        "operationId": "GetCustomerEnumTypes",
        "responses": {
          "200": {
            "description": "list of enum types and values",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/diagnostics/info": {
      "get": {
        "tags": [
          "Diagnostics"
        ],
        "description": "Get current platform diagnostics data",
        "operationId": "GetDiagnosticsInfo",
        "responses": {
          "200": {
            "description": "Diagnostics data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiagnosticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiagnosticsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/diagnostics/cuj": {
      "get": {
        "tags": [
          "Diagnostics"
        ],
        "description": "Get Critical User Journey Definitions",
        "operationId": "GetCujDefinitions",
        "responses": {
          "200": {
            "description": "CUJ data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CujDefinition"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CujDefinition"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/o2i/authorization": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Push a \"transaction authorization\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "RequirementPushOnlineToIssuerAuthorization",
        "requestBody": {
          "description": "Input request for \"authorization\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAuthorizationToAffiliateRequest"
                  }
                ],
                "description": "Request used to forward to an affiliate endpoint \r\na transaction \"authorize\" on O2I process"
              },
              "example": {
                "financialReference": "778866554433",
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAuthorizationToAffiliateRequest"
                  }
                ],
                "description": "Request used to forward to an affiliate endpoint \r\na transaction \"authorize\" on O2I process"
              },
              "example": {
                "financialReference": "778866554433",
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAuthorizationToAffiliateRequest"
                  }
                ],
                "description": "Request used to forward to an affiliate endpoint \r\na transaction \"authorize\" on O2I process"
              },
              "example": {
                "financialReference": "778866554433",
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAuthorizationToAffiliateRequest"
                  }
                ],
                "description": "Request used to forward to an affiliate endpoint \r\na transaction \"authorize\" on O2I process"
              },
              "example": {
                "financialReference": "778866554433",
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerAuthorizationToAffiliateResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerAuthorizationToAffiliateResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/o2i/reversal": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Push a request for \"reversal\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "RequirementPushOnlineToIssuerReversal",
        "requestBody": {
          "description": "Input request for \"reversal\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request for push an \"reversal\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "109E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "16713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request for push an \"reversal\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "109E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "16713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request for push an \"reversal\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "109E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "16713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request for push an \"reversal\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "109E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "16713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerReversalResponse"
                },
                "example": {
                  "transactionId": "109E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerReversalResponse"
                },
                "example": {
                  "transactionId": "109E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/o2i/advice": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Push a request for \"advice\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "RequirementPushOnlineToIssuerAdvice",
        "requestBody": {
          "description": "Input request for \"advice\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request for push an \"advice\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "209E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "26713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request for push an \"advice\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "209E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "26713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request for push an \"advice\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "209E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "26713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request for push an \"advice\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "209E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "26713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerAdviceResponse"
                },
                "example": {
                  "transactionId": "209E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerAdviceResponse"
                },
                "example": {
                  "transactionId": "209E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/o2i/inquiry": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Push a request for \"inquiry\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "RequirementPushOnlineToIssuerInquiry",
        "requestBody": {
          "description": "Input request for \"inquiry\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request for push an \"inquiry\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "36713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request for push an \"inquiry\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "36713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request for push an \"inquiry\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "36713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request for push an \"inquiry\" O2I to affiliate endpoint"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "36713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerInquiryResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushOnlineToIssuerInquiryResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/3ds/risklevel": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Calculate level of risk of a specific card transaction \r\nthat is provided an input. Risk level in the response \r\nshould be one of the following:\r\n- \"low\": transaction is approved in friction-less mode \r\nwithout involving the card holder in the process,\r\n- \"medium\": the cardholder is to be challenged using an \r\na SCA (Strong Customer Authentication) method (ex. OTP, push \r\nnotification, SMS or something else),\r\n- \"high\": transaction is declined automatically and will \r\nnot be reached into the \"online-to-issuer\" endpoint,\r\n- \"undecided\": risk level is calculated automatically\r\nby the ACS (Access Control Server)",
        "operationId": "RequirementGetTransactionRiskLevel",
        "requestBody": {
          "description": "Input transaction for risk calculation",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetTransactionRiskLevelToAffiliateRequest"
                  }
                ],
                "description": "Request used for get risk level of specific transaction"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 2,
                "purchaseCurrency": "978",
                "acquirerMerchantId": "002455005",
                "messageCategory": "01",
                "merchantFraudRate": 1,
                "threeRiIndicator": "11",
                "whitelistStatus": null
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetTransactionRiskLevelToAffiliateRequest"
                  }
                ],
                "description": "Request used for get risk level of specific transaction"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 2,
                "purchaseCurrency": "978",
                "acquirerMerchantId": "002455005",
                "messageCategory": "01",
                "merchantFraudRate": 1,
                "threeRiIndicator": "11",
                "whitelistStatus": null
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetTransactionRiskLevelToAffiliateRequest"
                  }
                ],
                "description": "Request used for get risk level of specific transaction"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 2,
                "purchaseCurrency": "978",
                "acquirerMerchantId": "002455005",
                "messageCategory": "01",
                "merchantFraudRate": 1,
                "threeRiIndicator": "11",
                "whitelistStatus": null
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetTransactionRiskLevelToAffiliateRequest"
                  }
                ],
                "description": "Request used for get risk level of specific transaction"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 2,
                "purchaseCurrency": "978",
                "acquirerMerchantId": "002455005",
                "messageCategory": "01",
                "merchantFraudRate": 1,
                "threeRiIndicator": "11",
                "whitelistStatus": null
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculated risk level",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionRiskLevelToAffiliateResponse"
                },
                "example": {
                  "riskLevel": "medium",
                  "whitelistStatus": "N"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionRiskLevelToAffiliateResponse"
                },
                "example": {
                  "riskLevel": "medium",
                  "whitelistStatus": "N"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/3ds/authdevices": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Get list of all available devices that can be used for \r\nchallenge authentication. Devices belongs to the card holder \r\nassociated with provided card PAN Token, and are limited to\r\nthe authentication method specified on the request.\r\nATTENTION: this endpoint should ALWAYS return ONE single device, \r\ndue to the fact that ACS (Access Control Server) is able to challenge \r\nthe card holder only on ONE device at a time.",
        "operationId": "RequirementGetAuthenticationDevices",
        "requestBody": {
          "description": "Input request for authentication devices availability",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetAuthenticationDevicesToAffiliateRequest"
                  }
                ],
                "description": "Request used get the list of devices of the card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetAuthenticationDevicesToAffiliateRequest"
                  }
                ],
                "description": "Request used get the list of devices of the card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetAuthenticationDevicesToAffiliateRequest"
                  }
                ],
                "description": "Request used get the list of devices of the card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetAuthenticationDevicesToAffiliateRequest"
                  }
                ],
                "description": "Request used get the list of devices of the card holder"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Array of devices available authentication method on card holder",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetAuthenticationDevicesToAffiliateResponse"
                  }
                },
                "example": [
                  {
                    "deviceId": "9c3f663a-4366-48d1-b68c-a86b656f0530",
                    "displayVal": "Google Pixel 8 Pro"
                  }
                ]
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetAuthenticationDevicesToAffiliateResponse"
                  }
                },
                "example": [
                  {
                    "deviceId": "9c3f663a-4366-48d1-b68c-a86b656f0530",
                    "displayVal": "Google Pixel 8 Pro"
                  }
                ]
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/3ds/oobauthentication": {
      "post": {
        "tags": [
          "Documentations"
        ],
        "description": "Raise a request for generate an OOB (Out-of-Band) authentication, \r\nfor a single transaction, to a specific device (usually a push notification).",
        "operationId": "RequirementRaiseOobAuthentication",
        "requestBody": {
          "description": "Input request for push authentication on device",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RaiseOobAuthenticationToAffiliateRequest"
                  }
                ],
                "description": "Request used for raise an OOB authentication to remote device"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "978",
                  "purchaseDate": "20260806111902",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "01"
                }
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RaiseOobAuthenticationToAffiliateRequest"
                  }
                ],
                "description": "Request used for raise an OOB authentication to remote device"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "978",
                  "purchaseDate": "20260806111902",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "01"
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RaiseOobAuthenticationToAffiliateRequest"
                  }
                ],
                "description": "Request used for raise an OOB authentication to remote device"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "978",
                  "purchaseDate": "20260806111902",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "01"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/RaiseOobAuthenticationToAffiliateRequest"
                  }
                ],
                "description": "Request used for raise an OOB authentication to remote device"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.2.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "978",
                  "purchaseDate": "20260806111902",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "01"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns status of push action (0 = failed, 1 = success)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RaiseOobAuthenticationToAffiliateResponse"
                },
                "example": {
                  "status": 1,
                  "oobAppUrl": "myapp://authorize?tid=8a880dc"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RaiseOobAuthenticationToAffiliateResponse"
                },
                "example": {
                  "status": 1,
                  "oobAppUrl": "myapp://authorize?tid=8a880dc"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/clearings/multischeme/row": {
      "get": {
        "tags": [
          "Documentations"
        ],
        "description": "This endpoint is only used to expose the structure of records (rows) contained in \r\na \"Clearing Multischeme\" outgoing file. This file will be received by the Affiliate \r\nfrom P2 Platform and should be used to execute settlement phase on the affiliate Core Banking System.",
        "operationId": "RequirementGetOutgoingClearingMultischemeRecords",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutgoingClearingMultischemeRecord"
                  }
                },
                "example": [
                  {
                    "affiliateKey": "ACMEAFFILIATE",
                    "trxId": null,
                    "trxType": null,
                    "trxDateTime": "0001-01-01T00:00:00",
                    "trxCurrency": null,
                    "interchangeDeduction": 0.0,
                    "feeDeduction": 0.0,
                    "transactionId": "CB61CC46BCA34F2EAB009249BA9ABEC4",
                    "transactionSource": "CHG",
                    "cardSettlementSchema": "4",
                    "originalTransactionId": null,
                    "originalTransactionDate": null,
                    "originalTransactionAmount": 0.0,
                    "settlementDate": "2025-11-10",
                    "customerId": "DE484F23A29640BB80ADACE080AD5FF6",
                    "accountId": "91D61E33805D4F28AAF408DAE80F1A9F",
                    "cardId": "C1B2E3F4-5678-90AB-CDEF-1234567890AB",
                    "panToken": "5000000000000000000",
                    "billedAmount": 15.67,
                    "billedCurrency": null,
                    "feeAmount": 0.25,
                    "merchantId": "002455005",
                    "merchantName": "Acme Inc.",
                    "merchantCity": "Milan",
                    "merchantCountry": "ITA",
                    "merchantClassificationCode": "5411",
                    "transactionTypeCode": "0",
                    "transactionChannel": "I",
                    "matchingDesignator": "M",
                    "financialFlowFlag": "D",
                    "processingTimestamp": "2025-11-07T14:00:00",
                    "authorizationTimestamp": "2025-11-07T13:44:56",
                    "clearingId": null,
                    "sendingInstitutionIdentification": null,
                    "reversalIndicator": null,
                    "originalTransactionCurrency": null,
                    "terminalId": null,
                    "entryMode": null
                  },
                  {
                    "affiliateKey": "ACMEAFFILIATE",
                    "trxId": null,
                    "trxType": null,
                    "trxDateTime": "0001-01-01T00:00:00",
                    "trxCurrency": null,
                    "interchangeDeduction": 0.0,
                    "feeDeduction": 0.0,
                    "transactionId": "AB61CC46BCA34F2EAB009249BA9ABEC4",
                    "transactionSource": "CHG",
                    "cardSettlementSchema": "4",
                    "originalTransactionId": "223D596D102145D7A5D14997F0FDED1C",
                    "originalTransactionDate": "2025-11-09",
                    "originalTransactionAmount": 0.0,
                    "settlementDate": "2025-11-10",
                    "customerId": "CC484F23A29640BB80ADACE080AD5FF6",
                    "accountId": "89D61E33805D4F28AAF408DAE80F1A9F",
                    "cardId": "0DB2E3F4-5678-90AB-CDEF-1234567890AB",
                    "panToken": "9780000000000000000",
                    "billedAmount": 7.44,
                    "billedCurrency": null,
                    "feeAmount": 0.12,
                    "merchantId": "002455005",
                    "merchantName": "Acme Inc.",
                    "merchantCity": "Milan",
                    "merchantCountry": "ITA",
                    "merchantClassificationCode": "5411",
                    "transactionTypeCode": "20",
                    "transactionChannel": "I",
                    "matchingDesignator": "M",
                    "financialFlowFlag": "R",
                    "processingTimestamp": "2025-11-07T14:00:00",
                    "authorizationTimestamp": "2025-11-07T11:06:06",
                    "clearingId": null,
                    "sendingInstitutionIdentification": null,
                    "reversalIndicator": null,
                    "originalTransactionCurrency": null,
                    "terminalId": null,
                    "entryMode": null
                  }
                ]
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutgoingClearingMultischemeRecord"
                  }
                },
                "example": [
                  {
                    "affiliateKey": "ACMEAFFILIATE",
                    "trxId": null,
                    "trxType": null,
                    "trxDateTime": "0001-01-01T00:00:00",
                    "trxCurrency": null,
                    "interchangeDeduction": 0.0,
                    "feeDeduction": 0.0,
                    "transactionId": "CB61CC46BCA34F2EAB009249BA9ABEC4",
                    "transactionSource": "CHG",
                    "cardSettlementSchema": "4",
                    "originalTransactionId": null,
                    "originalTransactionDate": null,
                    "originalTransactionAmount": 0.0,
                    "settlementDate": "2025-11-10",
                    "customerId": "DE484F23A29640BB80ADACE080AD5FF6",
                    "accountId": "91D61E33805D4F28AAF408DAE80F1A9F",
                    "cardId": "C1B2E3F4-5678-90AB-CDEF-1234567890AB",
                    "panToken": "5000000000000000000",
                    "billedAmount": 15.67,
                    "billedCurrency": null,
                    "feeAmount": 0.25,
                    "merchantId": "002455005",
                    "merchantName": "Acme Inc.",
                    "merchantCity": "Milan",
                    "merchantCountry": "ITA",
                    "merchantClassificationCode": "5411",
                    "transactionTypeCode": "0",
                    "transactionChannel": "I",
                    "matchingDesignator": "M",
                    "financialFlowFlag": "D",
                    "processingTimestamp": "2025-11-07T14:00:00",
                    "authorizationTimestamp": "2025-11-07T13:44:56",
                    "clearingId": null,
                    "sendingInstitutionIdentification": null,
                    "reversalIndicator": null,
                    "originalTransactionCurrency": null,
                    "terminalId": null,
                    "entryMode": null
                  },
                  {
                    "affiliateKey": "ACMEAFFILIATE",
                    "trxId": null,
                    "trxType": null,
                    "trxDateTime": "0001-01-01T00:00:00",
                    "trxCurrency": null,
                    "interchangeDeduction": 0.0,
                    "feeDeduction": 0.0,
                    "transactionId": "AB61CC46BCA34F2EAB009249BA9ABEC4",
                    "transactionSource": "CHG",
                    "cardSettlementSchema": "4",
                    "originalTransactionId": "223D596D102145D7A5D14997F0FDED1C",
                    "originalTransactionDate": "2025-11-09",
                    "originalTransactionAmount": 0.0,
                    "settlementDate": "2025-11-10",
                    "customerId": "CC484F23A29640BB80ADACE080AD5FF6",
                    "accountId": "89D61E33805D4F28AAF408DAE80F1A9F",
                    "cardId": "0DB2E3F4-5678-90AB-CDEF-1234567890AB",
                    "panToken": "9780000000000000000",
                    "billedAmount": 7.44,
                    "billedCurrency": null,
                    "feeAmount": 0.12,
                    "merchantId": "002455005",
                    "merchantName": "Acme Inc.",
                    "merchantCity": "Milan",
                    "merchantCountry": "ITA",
                    "merchantClassificationCode": "5411",
                    "transactionTypeCode": "20",
                    "transactionChannel": "I",
                    "matchingDesignator": "M",
                    "financialFlowFlag": "R",
                    "processingTimestamp": "2025-11-07T14:00:00",
                    "authorizationTimestamp": "2025-11-07T11:06:06",
                    "clearingId": null,
                    "sendingInstitutionIdentification": null,
                    "reversalIndicator": null,
                    "originalTransactionCurrency": null,
                    "terminalId": null,
                    "entryMode": null
                  }
                ]
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/clearings/multischeme/header": {
      "get": {
        "tags": [
          "Documentations"
        ],
        "description": "This endpoint is only used to expose the structure of the header contained in \r\na \"Clearing Multischeme\" outgoing file. This header should be used to verify that\r\nthe data defined in the rows are coherent and not data were lost during transfer",
        "operationId": "RequirementGetOutgoingClearingMultischemeHeader",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingClearingMultischemeHeader"
                },
                "example": {
                  "issuerKey": "ACMEISSUER",
                  "affiliateKey": "ACMEAFFILIATE",
                  "clearingDate": "2025-11-10",
                  "type": "CLEARINGMULTISCHEME",
                  "version": "1.0",
                  "fileName": "ACMEISSUER_20251110_CLEARINGMULTISCHEME_ACMEAFFILIATE.jsonl",
                  "declaredRecordsInFile": 1000
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingClearingMultischemeHeader"
                },
                "example": {
                  "issuerKey": "ACMEISSUER",
                  "affiliateKey": "ACMEAFFILIATE",
                  "clearingDate": "2025-11-10",
                  "type": "CLEARINGMULTISCHEME",
                  "version": "1.0",
                  "fileName": "ACMEISSUER_20251110_CLEARINGMULTISCHEME_ACMEAFFILIATE.jsonl",
                  "declaredRecordsInFile": 1000
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/clearings/feescheme/row": {
      "get": {
        "tags": [
          "Documentations"
        ],
        "description": "This endpoint is only used to expose the structure of records (rows) contained in \r\na \"Fee Multischeme\" outgoing file. This file will be received by the Affiliate \r\nfrom P2 Platform and should be used to execute settlement phase on the affiliate Core Banking System.",
        "operationId": "RequirementGetOutgoingFeeMultischemeRecords",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutgoingFeeMultischemeRecord"
                  }
                },
                "example": [
                  {
                    "affiliateKey": "ACMEAFFILIATE",
                    "trxCurrency": null,
                    "interchangeDeduction": 0.0,
                    "feeDeduction": 0.0,
                    "billedAmount": 15.67,
                    "billedCurrency": null,
                    "feeSource": "CHG",
                    "cardSettlementSchema": "4",
                    "financialFlowFlag": "D",
                    "reversalIndicator": "N",
                    "matchingDesignator": "M",
                    "settlementDate": "2025-11-10",
                    "customerId": "DE484F23A29640BB80ADACE080AD5FF6",
                    "accountId": "91D61E33805D4F28AAF408DAE80F1A9F",
                    "cardId": "C1B2E3F4-5678-90AB-CDEF-1234567890AB",
                    "panToken": "5000000000000000000",
                    "feeAmount": 0.25,
                    "feeCurrency": "EUR",
                    "processingTimestamp": "2025-11-07T14:00:00",
                    "feeType": "T00",
                    "feeCode": "C00",
                    "feeProfile": "P00",
                    "feeDescription": "something",
                    "feeDate": "2025-11-07",
                    "feeId": "7FAFE3E057A54F02A0A8FBB40B969DA5",
                    "reconciliationAmount": null,
                    "reconciliationCurrency": null,
                    "schemaProcessingDate": null,
                    "sendingInstitutionIdentificationCode": null,
                    "feeTariffCode": null,
                    "originalIdentifier": null
                  }
                ]
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutgoingFeeMultischemeRecord"
                  }
                },
                "example": [
                  {
                    "affiliateKey": "ACMEAFFILIATE",
                    "trxCurrency": null,
                    "interchangeDeduction": 0.0,
                    "feeDeduction": 0.0,
                    "billedAmount": 15.67,
                    "billedCurrency": null,
                    "feeSource": "CHG",
                    "cardSettlementSchema": "4",
                    "financialFlowFlag": "D",
                    "reversalIndicator": "N",
                    "matchingDesignator": "M",
                    "settlementDate": "2025-11-10",
                    "customerId": "DE484F23A29640BB80ADACE080AD5FF6",
                    "accountId": "91D61E33805D4F28AAF408DAE80F1A9F",
                    "cardId": "C1B2E3F4-5678-90AB-CDEF-1234567890AB",
                    "panToken": "5000000000000000000",
                    "feeAmount": 0.25,
                    "feeCurrency": "EUR",
                    "processingTimestamp": "2025-11-07T14:00:00",
                    "feeType": "T00",
                    "feeCode": "C00",
                    "feeProfile": "P00",
                    "feeDescription": "something",
                    "feeDate": "2025-11-07",
                    "feeId": "7FAFE3E057A54F02A0A8FBB40B969DA5",
                    "reconciliationAmount": null,
                    "reconciliationCurrency": null,
                    "schemaProcessingDate": null,
                    "sendingInstitutionIdentificationCode": null,
                    "feeTariffCode": null,
                    "originalIdentifier": null
                  }
                ]
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/documentations/clearings/feescheme/header": {
      "get": {
        "tags": [
          "Documentations"
        ],
        "description": "This endpoint is only used to expose the structure of the header contained in \r\na \"Fee Multischeme\" outgoing file. This header should be used to verify that\r\nthe data defined in the rows are coherent and not data were lost during transfer",
        "operationId": "RequirementGetOutgoingFeeMultischemeHeader",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingFeeMultischemeHeader"
                },
                "example": {
                  "issuerKey": "ACMEISSUER",
                  "affiliateKey": "ACMEAFFILIATE",
                  "clearingDate": "2025-11-10",
                  "type": "FEEMULTISCHEME",
                  "version": "1.0",
                  "fileName": "ACMEISSUER_20251110_FEEMULTISCHEME_ACMEAFFILIATE.jsonl",
                  "declaredRecordsInFile": 50
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutgoingFeeMultischemeHeader"
                },
                "example": {
                  "issuerKey": "ACMEISSUER",
                  "affiliateKey": "ACMEAFFILIATE",
                  "clearingDate": "2025-11-10",
                  "type": "FEEMULTISCHEME",
                  "version": "1.0",
                  "fileName": "ACMEISSUER_20251110_FEEMULTISCHEME_ACMEAFFILIATE.jsonl",
                  "declaredRecordsInFile": 50
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/forcing/queue-clearing-flow": {
      "post": {
        "tags": [
          "Forcing"
        ],
        "description": "Force queue of clearing flow",
        "operationId": "ForceQueueClearingFlow",
        "requestBody": {
          "description": "Request with parameter",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceQueueClearingFlowRequest"
                  }
                ],
                "description": "Request for force queue of clearing flow"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceQueueClearingFlowRequest"
                  }
                ],
                "description": "Request for force queue of clearing flow"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceQueueClearingFlowRequest"
                  }
                ],
                "description": "Request for force queue of clearing flow"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceQueueClearingFlowRequest"
                  }
                ],
                "description": "Request for force queue of clearing flow"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Force is completed with success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/forcing/cleanup-threedsecure-processes": {
      "post": {
        "tags": [
          "Forcing"
        ],
        "description": "Force cleanup of 3DS process records older than the configured\r\n(or provided) number of retention days",
        "operationId": "ForceCleanupThreeDSecureProcesses",
        "requestBody": {
          "description": "Request with parameter",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceCleanupThreeDSecureProcessesRequest"
                  }
                ],
                "description": "Request to force cleanup of old 3DS process records"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceCleanupThreeDSecureProcessesRequest"
                  }
                ],
                "description": "Request to force cleanup of old 3DS process records"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceCleanupThreeDSecureProcessesRequest"
                  }
                ],
                "description": "Request to force cleanup of old 3DS process records"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceCleanupThreeDSecureProcessesRequest"
                  }
                ],
                "description": "Request to force cleanup of old 3DS process records"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Force is completed with success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/forcing/outgoing-clearing-files-export": {
      "post": {
        "tags": [
          "Forcing"
        ],
        "description": "Force outgoing clearing files export",
        "operationId": "ForceOutgoingClearingFilesExport",
        "requestBody": {
          "description": "Request with parameter",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceOutgoingClearingFilesExportRequest"
                  }
                ],
                "description": "Request for forcing outgoing clearing files export"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceOutgoingClearingFilesExportRequest"
                  }
                ],
                "description": "Request for forcing outgoing clearing files export"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceOutgoingClearingFilesExportRequest"
                  }
                ],
                "description": "Request for forcing outgoing clearing files export"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ForceOutgoingClearingFilesExportRequest"
                  }
                ],
                "description": "Request for forcing outgoing clearing files export"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Force is completed with success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/o2i/authorization": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulate an incoming request (received by Card \r\nProcessor) during O2I process",
        "operationId": "SimulatePushOnlineToIssuerAuthorization",
        "requestBody": {
          "description": "Request with details",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAuthorizationRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"authorize\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAuthorizationRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"authorize\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAuthorizationRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"authorize\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAuthorizationRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"authorize\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": "112233",
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Simulation is completed with success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAuthorizationResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAuthorizationResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/o2i/reversal": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates Push a request for \"reversal\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "SimulatePushOnlineToIssuerReversal",
        "requestBody": {
          "description": "Input request for \"reversal\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Reversal\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Reversal\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Reversal\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerReversalRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Reversal\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerReversalResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerReversalResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/o2i/advice": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates Push a request for \"advice\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "SimulatePushOnlineToIssuerAdvice",
        "requestBody": {
          "description": "Input request for \"advice\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Advice\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Advice\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Advice\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAdviceRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Advice\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAdviceResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerAdviceResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/o2i/inquiry": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates Push a request for \"inquiry\" to online to issuer (O2I) affiliate endpoint",
        "operationId": "SimulatePushOnlineToIssuerInquiry",
        "requestBody": {
          "description": "Input request for \"inquiry\"",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Inquiry\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Inquiry\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Inquiry\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulatePushOnlineToIssuerInquiryRequest"
                  }
                ],
                "description": "Request used for simulate a transaction \"Inquiry\" on O2I process"
              },
              "example": {
                "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                "refTransactionId": "66713D814D064C55BF3BB9A66094D4DB",
                "transactionDateTime": "2027-02-20T00:00:00",
                "processDateTime": "2027-02-20T00:10:00",
                "transactionAmount": 23.50,
                "transactionCurrency": 978,
                "billingAmount": 23.50,
                "billingCurrency": 978,
                "terminalId": "XX012345",
                "mcc": 5499,
                "merchantId": "011223344",
                "merchantName": "Test merchant",
                "merchantStreet": "Test Street 1",
                "merchantCity": "Test",
                "merchantZip": "12345",
                "merchantCountry": 705,
                "cardToken": "9999990000000123456",
                "authorizationCode": null,
                "cardScheme": 1,
                "type": 0,
                "stan": "123456",
                "source": "P",
                "entryMode": 2,
                "authentication": 0,
                "authenticationProtocol": 1,
                "scaExemption": 0,
                "virtualCardNumberId": "9999990000000123456",
                "wallet": 3,
                "pin": 2,
                "responseCode": "OK"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns status of push action",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerInquiryResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimulatePushOnlineToIssuerInquiryResponse"
                },
                "example": {
                  "transactionId": "309E7559681849A6B6D478F20A3E10BC",
                  "responseCode": "OK",
                  "availableBalance": 999.60,
                  "accountCurrency": 978
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Card cannot be found using card token"
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/3ds/risklevel": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates invoke of calculation of level of risk on a specific \r\ncard transaction for a specific affiliate",
        "operationId": "SimulateGetTransactionRiskLevel",
        "requestBody": {
          "description": "Input transaction for risk calculation",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetTransactionRiskLevelRequest"
                  }
                ],
                "description": "Request for simulate calculation of risk level on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 100,
                "purchaseCurrency": "EUR",
                "acquirerMerchantId": "002455005",
                "messageCategory": "to be clarified during integration with ACS.",
                "merchantFraudRate": 13,
                "threeRiIndicator": "01",
                "whitelistStatus": "N"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetTransactionRiskLevelRequest"
                  }
                ],
                "description": "Request for simulate calculation of risk level on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 100,
                "purchaseCurrency": "EUR",
                "acquirerMerchantId": "002455005",
                "messageCategory": "to be clarified during integration with ACS.",
                "merchantFraudRate": 13,
                "threeRiIndicator": "01",
                "whitelistStatus": "N"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetTransactionRiskLevelRequest"
                  }
                ],
                "description": "Request for simulate calculation of risk level on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 100,
                "purchaseCurrency": "EUR",
                "acquirerMerchantId": "002455005",
                "messageCategory": "to be clarified during integration with ACS.",
                "merchantFraudRate": 13,
                "threeRiIndicator": "01",
                "whitelistStatus": "N"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetTransactionRiskLevelRequest"
                  }
                ],
                "description": "Request for simulate calculation of risk level on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "merchantName": "Acme Inc.",
                "purchaseAmount": "1534",
                "purchaseExponent": 100,
                "purchaseCurrency": "EUR",
                "acquirerMerchantId": "002455005",
                "messageCategory": "to be clarified during integration with ACS.",
                "merchantFraudRate": 13,
                "threeRiIndicator": "01",
                "whitelistStatus": "N"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculated risk level",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionRiskLevelResponse"
                },
                "example": {
                  "riskLevel": "medium",
                  "whitelistStatus": "N"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionRiskLevelResponse"
                },
                "example": {
                  "riskLevel": "medium",
                  "whitelistStatus": "N"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/3ds/authavailability": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates get list of all available devices that can be used for \r\nchallenge authentication. Devices belongs to the card holder \r\nassociated with provided card PAN Token, and are limited to\r\nthe authentication method specified on the request",
        "operationId": "SimulateGetAuthenticationDevices",
        "requestBody": {
          "description": "Input request for authentication devices availability",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetAuthenticationDevicesRequest"
                  }
                ],
                "description": "Request for simulate get of auth devices on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1C",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetAuthenticationDevicesRequest"
                  }
                ],
                "description": "Request for simulate get of auth devices on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1C",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetAuthenticationDevicesRequest"
                  }
                ],
                "description": "Request for simulate get of auth devices on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1C",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateGetAuthenticationDevicesRequest"
                  }
                ],
                "description": "Request for simulate get of auth devices on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1C",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "panToken": "5000000000000000000",
                "authenticationType": "OobPush"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Array of devices available authentication method on card holder",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAuthenticationDevicesResponse"
                },
                "example": [
                  {
                    "deviceId": "9c3f663a-4366-48d1-b68c-a86b656f0530",
                    "displayVal": "Google Pixel 8 Pro"
                  },
                  {
                    "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                    "displayVal": "Samsung S25 Pro"
                  }
                ]
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAuthenticationDevicesResponse"
                },
                "example": [
                  {
                    "deviceId": "9c3f663a-4366-48d1-b68c-a86b656f0530",
                    "displayVal": "Google Pixel 8 Pro"
                  },
                  {
                    "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                    "displayVal": "Samsung S25 Pro"
                  }
                ]
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/3ds/oobauthentication": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulate a request for generate an OOB (Out-of-Band) authentication, \r\nfor a single transaction, to a specific device (usually a push notification).",
        "operationId": "SimulateRaiseOobAuthentication",
        "requestBody": {
          "description": "Input request for push authentication on device",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateRaiseOobAuthenticationRequest"
                  }
                ],
                "description": "Request for simulate raise oob auth on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "EUR",
                  "purchaseDate": "20251107134456",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "to be clarified during integration with ACS."
                }
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateRaiseOobAuthenticationRequest"
                  }
                ],
                "description": "Request for simulate raise oob auth on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "EUR",
                  "purchaseDate": "20251107134456",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "to be clarified during integration with ACS."
                }
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateRaiseOobAuthenticationRequest"
                  }
                ],
                "description": "Request for simulate raise oob auth on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "EUR",
                  "purchaseDate": "20251107134456",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "to be clarified during integration with ACS."
                }
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateRaiseOobAuthenticationRequest"
                  }
                ],
                "description": "Request for simulate raise oob auth on affiliate"
              },
              "example": {
                "transactionId": "9A04DCEF96464934845BB0ADEE1EAA1B",
                "dsTransactionId": "5EBD8DD0F087407DB05A8038DCACB27A",
                "acsVersion": "2.1.0",
                "deviceId": "40586c1d-0149-4425-98e0-160e00796093",
                "merchantAppUrl": "https://my.app.com/",
                "transactionData": {
                  "merchantName": "Acme Inc.",
                  "purchaseAmount": "1534",
                  "purchaseExponent": "2",
                  "purchaseCurrency": "EUR",
                  "purchaseDate": "20251107134456",
                  "maskedPan": "563712******4501",
                  "acquirerMerchantId": "002455005",
                  "messageCategory": "to be clarified during integration with ACS."
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns status of push action (0 = failed, 1 = success)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RaiseOobAuthenticationResponse"
                },
                "example": {
                  "status": 1,
                  "oobAppUrl": "myapp://authorize?tid=8a880dc"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RaiseOobAuthenticationResponse"
                },
                "example": {
                  "status": 1,
                  "oobAppUrl": "myapp://authorize?tid=8a880dc"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/clr/outgoings/clearing-multischeme": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates a generation of an outgoing clearing multischeme file that can be used by \r\naffiliate to execute settlements of transaction on the target core banking account",
        "operationId": "SimulateOutgoingClearingMultischeme",
        "requestBody": {
          "description": "Input request with transactions to simulate",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingClearingMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing clearing file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "transactions": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "CHG",
                    "crdSettSch": "4",
                    "trxSrc": "P",
                    "authCde": "769755",
                    "matFla": "M",
                    "rejRes": "00",
                    "matAuthId": "A10B7DB264A8403D9F2C104703C418B0",
                    "clrId": "2041920",
                    "schTrxId": "306040407171206",
                    "rrn": "34567890876",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "412311",
                    "mid": "MID001",
                    "midName": "Esselunga",
                    "midCity": "Basiglio",
                    "midCou": "IT",
                    "tid": "TID001",
                    "mcc": "5999",
                    "entMod": "5",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "trxCde": "0",
                    "origTrxDt": "260506",
                    "origTrxAmt": 10.0,
                    "origTrxCur": "EUR",
                    "origTrxId": "B10B7DB264A8403D9F2C104703C418B0",
                    "billAmt": 10.0,
                    "billCur": "EUR",
                    "feeFfi": "D",
                    "icFeeAmt": 0.15,
                    "icFeeCur": "EUR",
                    "icFeeFfi": "C",
                    "schProcDt": "260506",
                    "procTs": "2026-05-06T10:00:00",
                    "trxTs": "2026-05-06T07:00:00",
                    "trxId": "A10B7DB264A8403D9F2C104703C418B0",
                    "settDt": null,
                    "recAmt": null,
                    "recCur": null
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingClearingMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing clearing file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "transactions": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "CHG",
                    "crdSettSch": "4",
                    "trxSrc": "P",
                    "authCde": "769755",
                    "matFla": "M",
                    "rejRes": "00",
                    "matAuthId": "A10B7DB264A8403D9F2C104703C418B0",
                    "clrId": "2041920",
                    "schTrxId": "306040407171206",
                    "rrn": "34567890876",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "412311",
                    "mid": "MID001",
                    "midName": "Esselunga",
                    "midCity": "Basiglio",
                    "midCou": "IT",
                    "tid": "TID001",
                    "mcc": "5999",
                    "entMod": "5",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "trxCde": "0",
                    "origTrxDt": "260506",
                    "origTrxAmt": 10.0,
                    "origTrxCur": "EUR",
                    "origTrxId": "B10B7DB264A8403D9F2C104703C418B0",
                    "billAmt": 10.0,
                    "billCur": "EUR",
                    "feeFfi": "D",
                    "icFeeAmt": 0.15,
                    "icFeeCur": "EUR",
                    "icFeeFfi": "C",
                    "schProcDt": "260506",
                    "procTs": "2026-05-06T10:00:00",
                    "trxTs": "2026-05-06T07:00:00",
                    "trxId": "A10B7DB264A8403D9F2C104703C418B0",
                    "settDt": null,
                    "recAmt": null,
                    "recCur": null
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingClearingMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing clearing file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "transactions": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "CHG",
                    "crdSettSch": "4",
                    "trxSrc": "P",
                    "authCde": "769755",
                    "matFla": "M",
                    "rejRes": "00",
                    "matAuthId": "A10B7DB264A8403D9F2C104703C418B0",
                    "clrId": "2041920",
                    "schTrxId": "306040407171206",
                    "rrn": "34567890876",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "412311",
                    "mid": "MID001",
                    "midName": "Esselunga",
                    "midCity": "Basiglio",
                    "midCou": "IT",
                    "tid": "TID001",
                    "mcc": "5999",
                    "entMod": "5",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "trxCde": "0",
                    "origTrxDt": "260506",
                    "origTrxAmt": 10.0,
                    "origTrxCur": "EUR",
                    "origTrxId": "B10B7DB264A8403D9F2C104703C418B0",
                    "billAmt": 10.0,
                    "billCur": "EUR",
                    "feeFfi": "D",
                    "icFeeAmt": 0.15,
                    "icFeeCur": "EUR",
                    "icFeeFfi": "C",
                    "schProcDt": "260506",
                    "procTs": "2026-05-06T10:00:00",
                    "trxTs": "2026-05-06T07:00:00",
                    "trxId": "A10B7DB264A8403D9F2C104703C418B0",
                    "settDt": null,
                    "recAmt": null,
                    "recCur": null
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingClearingMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing clearing file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "transactions": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "CHG",
                    "crdSettSch": "4",
                    "trxSrc": "P",
                    "authCde": "769755",
                    "matFla": "M",
                    "rejRes": "00",
                    "matAuthId": "A10B7DB264A8403D9F2C104703C418B0",
                    "clrId": "2041920",
                    "schTrxId": "306040407171206",
                    "rrn": "34567890876",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "412311",
                    "mid": "MID001",
                    "midName": "Esselunga",
                    "midCity": "Basiglio",
                    "midCou": "IT",
                    "tid": "TID001",
                    "mcc": "5999",
                    "entMod": "5",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "trxCde": "0",
                    "origTrxDt": "260506",
                    "origTrxAmt": 10.0,
                    "origTrxCur": "EUR",
                    "origTrxId": "B10B7DB264A8403D9F2C104703C418B0",
                    "billAmt": 10.0,
                    "billCur": "EUR",
                    "feeFfi": "D",
                    "icFeeAmt": 0.15,
                    "icFeeCur": "EUR",
                    "icFeeFfi": "C",
                    "schProcDt": "260506",
                    "procTs": "2026-05-06T10:00:00",
                    "trxTs": "2026-05-06T07:00:00",
                    "trxId": "A10B7DB264A8403D9F2C104703C418B0",
                    "settDt": null,
                    "recAmt": null,
                    "recCur": null
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns simulated file as binary"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/simulations/clr/outgoings/fee-multischeme": {
      "post": {
        "tags": [
          "Simulations"
        ],
        "description": "Simulates a generation of an outgoing fee multischeme file that can be used by \r\naffiliate to execute settlements of records on the target core banking account",
        "operationId": "SimulateOutgoingFeeMultischeme",
        "requestBody": {
          "description": "Input request with record to simulate",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingFeeMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing fee file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "records": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "BAT",
                    "crdSettSch": "4",
                    "feeType": "TRX_FEE",
                    "feeTarCde": "FLWE_F_2405_1",
                    "feeCde": "QUASI_CASH_FEE",
                    "feeProf": null,
                    "vcnTok": null,
                    "vcnReq": null,
                    "matFla": "M",
                    "rejRes": "00",
                    "schTrxId": "306040407171206",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "000000",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "feeDesc": "Quasi-cash purchase fee",
                    "feeAmt": 7.2,
                    "feeDt": "260314",
                    "feeCur": "EUR",
                    "recAmt": 0.10,
                    "recCur": "EUR",
                    "schProcDt": "250615",
                    "settDt": "250615",
                    "procTs": "2026-03-15T12:41:19Z",
                    "feeId": "4D0F94ABDA8266666666666666666600",
                    "origId": "5A6BAED8F055555555555555555555",
                    "cycId": null,
                    "cycNr": null,
                    "postTy": null,
                    "manRef": null,
                    "matDt": null
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingFeeMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing fee file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "records": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "BAT",
                    "crdSettSch": "4",
                    "feeType": "TRX_FEE",
                    "feeTarCde": "FLWE_F_2405_1",
                    "feeCde": "QUASI_CASH_FEE",
                    "feeProf": null,
                    "vcnTok": null,
                    "vcnReq": null,
                    "matFla": "M",
                    "rejRes": "00",
                    "schTrxId": "306040407171206",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "000000",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "feeDesc": "Quasi-cash purchase fee",
                    "feeAmt": 7.2,
                    "feeDt": "260314",
                    "feeCur": "EUR",
                    "recAmt": 0.10,
                    "recCur": "EUR",
                    "schProcDt": "250615",
                    "settDt": "250615",
                    "procTs": "2026-03-15T12:41:19Z",
                    "feeId": "4D0F94ABDA8266666666666666666600",
                    "origId": "5A6BAED8F055555555555555555555",
                    "cycId": null,
                    "cycNr": null,
                    "postTy": null,
                    "manRef": null,
                    "matDt": null
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingFeeMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing fee file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "records": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "BAT",
                    "crdSettSch": "4",
                    "feeType": "TRX_FEE",
                    "feeTarCde": "FLWE_F_2405_1",
                    "feeCde": "QUASI_CASH_FEE",
                    "feeProf": null,
                    "vcnTok": null,
                    "vcnReq": null,
                    "matFla": "M",
                    "rejRes": "00",
                    "schTrxId": "306040407171206",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "000000",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "feeDesc": "Quasi-cash purchase fee",
                    "feeAmt": 7.2,
                    "feeDt": "260314",
                    "feeCur": "EUR",
                    "recAmt": 0.10,
                    "recCur": "EUR",
                    "schProcDt": "250615",
                    "settDt": "250615",
                    "procTs": "2026-03-15T12:41:19Z",
                    "feeId": "4D0F94ABDA8266666666666666666600",
                    "origId": "5A6BAED8F055555555555555555555",
                    "cycId": null,
                    "cycNr": null,
                    "postTy": null,
                    "manRef": null,
                    "matDt": null
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SimulateOutgoingFeeMultischemeRequest"
                  }
                ],
                "description": "Request used for simulate the generation of one outgoing fee file"
              },
              "example": {
                "issuerKey": "FLWE",
                "clearingDate": "2026-05-06",
                "records": [
                  {
                    "cardId": "a10b7db2-64a8-403d-9f2c-104703c418b0",
                    "src": "BAT",
                    "crdSettSch": "4",
                    "feeType": "TRX_FEE",
                    "feeTarCde": "FLWE_F_2405_1",
                    "feeCde": "QUASI_CASH_FEE",
                    "feeProf": null,
                    "vcnTok": null,
                    "vcnReq": null,
                    "matFla": "M",
                    "rejRes": "00",
                    "schTrxId": "306040407171206",
                    "acqRef": "74123116040001384320660",
                    "fwdIssId": "000000",
                    "ffi": "D",
                    "revInd": "N",
                    "revOrigDt": "260506",
                    "feeDesc": "Quasi-cash purchase fee",
                    "feeAmt": 7.2,
                    "feeDt": "260314",
                    "feeCur": "EUR",
                    "recAmt": 0.10,
                    "recCur": "EUR",
                    "schProcDt": "250615",
                    "settDt": "250615",
                    "procTs": "2026-03-15T12:41:19Z",
                    "feeId": "4D0F94ABDA8266666666666666666600",
                    "origId": "5A6BAED8F055555555555555555555",
                    "cycId": null,
                    "cycNr": null,
                    "postTy": null,
                    "manRef": null,
                    "matDt": null
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns simulated file as binary"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/three-d-secure-processes": {
      "get": {
        "tags": [
          "ThreeDSecureProcesses"
        ],
        "description": "Gets paginated 3DS diagnostic process records filtered by card identifier and date range",
        "operationId": "GetThreeDSecureProcesses",
        "parameters": [
          {
            "name": "cardId",
            "in": "query",
            "description": "External card identifier (required)",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "Start of date range (last 90 days by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "End of date range (utc now by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Optional lifecycle status filter",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ThreeDSecureProcessStatus"
                }
              ]
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of items per page",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Zero-based page number",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated 3DS process records",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreeDSecureProcessResponsePaginatedDataResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreeDSecureProcessResponsePaginatedDataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/three-d-secure-processes/count": {
      "get": {
        "tags": [
          "ThreeDSecureProcesses"
        ],
        "description": "Returns the count of 3DS diagnostic process records for a card and date range",
        "operationId": "CountThreeDSecureProcesses",
        "parameters": [
          {
            "name": "cardId",
            "in": "query",
            "description": "External card identifier (required)",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "Start of date range (last 90 days by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "End of date range (utc now by default)",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Optional lifecycle status filter",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ThreeDSecureProcessStatus"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Record count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/three-d-secure-processes/{id}": {
      "get": {
        "tags": [
          "ThreeDSecureProcesses"
        ],
        "description": "Gets a single 3DS diagnostic process record by transaction identifier",
        "operationId": "GetThreeDSecureProcessById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Transaction identifier (primary key)",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Single 3DS process record",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreeDSecureProcessResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThreeDSecureProcessResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/token/carddata": {
      "post": {
        "tags": [
          "Token"
        ],
        "description": "Create Token to retrive CardData",
        "operationId": "CreateCardDataToken",
        "requestBody": {
          "description": "Request for create token",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/token/pin": {
      "post": {
        "tags": [
          "Token"
        ],
        "description": "Create Token to retrive Card Pin",
        "operationId": "CreatePinToken",
        "requestBody": {
          "description": "Request for create token",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateTokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/token/changepin": {
      "post": {
        "tags": [
          "Token"
        ],
        "description": "Create Token to change Card Pin",
        "operationId": "CreateChangePinToken",
        "requestBody": {
          "description": "Request for create token",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateChangePinTokenRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateChangePinTokenRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateChangePinTokenRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateChangePinTokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Provided data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountLockLevel": {
        "enum": [
          "CardHolder",
          "AccountHolder",
          "Admin"
        ],
        "type": "string"
      },
      "AccountProjection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountType"
              }
            ]
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "feeProfile": {
            "type": "string",
            "nullable": true
          },
          "accountProfile": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountStatus"
              }
            ]
          },
          "statusReasonCode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountStatusReasonCode"
              }
            ],
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Projection for card account"
      },
      "AccountResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "description": "Account identifier",
            "format": "uuid"
          },
          "customerId": {
            "type": "string",
            "description": "Customer id",
            "format": "uuid"
          },
          "accountNumber": {
            "type": "string",
            "description": "Account number",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountStatus"
              }
            ],
            "description": "Status of the account"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountType"
              }
            ],
            "description": "Type of created account"
          },
          "statusReasonCode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountStatusReasonCode"
              }
            ],
            "description": "Reason code of status",
            "nullable": true
          },
          "cardProcessorReference": {
            "type": "string",
            "description": "Account reference on Card Processor",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "description": "External reference",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Creation date/time",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Last update date/time",
            "format": "date-time"
          },
          "cardProcessorData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountProjection"
              }
            ],
            "description": "Projection for card account",
            "nullable": true
          },
          "lockLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountLockLevel"
              }
            ],
            "description": "Lock Level",
            "nullable": true
          },
          "blockedDate": {
            "type": "string",
            "description": "Blocked Date",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for single account of card customer"
      },
      "AccountResponsePaginatedDataResponse": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "limitCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountStatus": {
        "enum": [
          "ACTIVE",
          "LOCKED",
          "BLOCKED"
        ],
        "type": "string"
      },
      "AccountStatusReasonCode": {
        "enum": [
          "TemporaryBlockForDelinquency",
          "TemporaryBlockOnIssuerRequest",
          "TemporaryBlockForDepo",
          "TemporaryBlockForAmlKyc",
          "IssuerRequestGeneral",
          "UserRequest",
          "PermanentBlockChargeOff",
          "IssuerRequestBureauInquiry",
          "IssuerRequestCustomerDeceased",
          "IssuerRequestStornoFromCollectionStraight",
          "IssuerRequestStornoFromCollectionDepo",
          "IssuerRequestStornoFromCollectionDepoPaid",
          "IssuerRequestHandoverToAttorney",
          "IssuerRequestLegalAction",
          "IssuerRequestAmlKyc"
        ],
        "type": "string"
      },
      "AccountType": {
        "enum": [
          "CHARGE",
          "LOAN",
          "DEBIT",
          "PREPAID"
        ],
        "type": "string"
      },
      "AddressProjection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AddressType"
              }
            ]
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "line1": {
            "type": "string",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "nullable": true
          },
          "line3": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postOffice": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "province": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddressResponse": {
        "required": [
          "addressId",
          "city",
          "countryCode",
          "externalReference",
          "line1",
          "type",
          "zipCode"
        ],
        "type": "object",
        "properties": {
          "addressId": {
            "type": "string",
            "format": "uuid"
          },
          "cardProcessorReference": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AddressType"
              }
            ],
            "description": "Type of Address"
          },
          "countryCode": {
            "type": "string",
            "description": "CountryCode ISO 3166-1 alpha-3",
            "nullable": true
          },
          "line1": {
            "type": "string",
            "description": "Address line 1",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "description": "Address line 2",
            "nullable": true
          },
          "line3": {
            "type": "string",
            "description": "Address line 3",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Address City",
            "nullable": true
          },
          "postOffice": {
            "type": "string",
            "description": "Address post office",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "description": "Address zip code",
            "nullable": true
          },
          "province": {
            "type": "string",
            "description": "Address Province",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "description": "External Reference",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Creation date/time",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Last update date/time",
            "format": "date-time"
          },
          "cardProcessorData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AddressProjection"
              }
            ],
            "description": "Address data retrieved by Card Processor",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddressType": {
        "enum": [
          "PermanentResidence",
          "Work",
          "Other",
          "TemporaryResidence"
        ],
        "type": "string"
      },
      "CardChangePinRequest": {
        "required": [
          "cypher",
          "token"
        ],
        "type": "object",
        "properties": {
          "cypher": {
            "minLength": 1,
            "type": "string",
            "description": "RSA-encrypted ciphertext containing the new PIN value."
          },
          "token": {
            "minLength": 1,
            "type": "string",
            "description": "Valid Token for the request"
          }
        },
        "additionalProperties": false,
        "description": "Represents the request payload for updating a card's PIN code."
      },
      "CardLimit": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardLimitType"
              }
            ],
            "description": "Type of limit"
          },
          "limit": {
            "minimum": 0,
            "type": "number",
            "description": "Amount of limit (ex. 12.56)",
            "format": "double"
          },
          "isDisabled": {
            "type": "boolean",
            "description": "Limit is disabled"
          }
        },
        "additionalProperties": false,
        "description": "Limit for a single card"
      },
      "CardLimitType": {
        "enum": [
          "monthlyOverall",
          "dailyOverall",
          "dailyAtm",
          "dailyEcomm",
          "nonEUPayments"
        ],
        "type": "string"
      },
      "CardLockLevel": {
        "enum": [
          "Client",
          "Admin"
        ],
        "type": "string"
      },
      "CardNoteRequest": {
        "required": [
          "note"
        ],
        "type": "object",
        "properties": {
          "note": {
            "maxLength": 50,
            "type": "string",
            "description": "Note related with (required)"
          }
        },
        "additionalProperties": false
      },
      "CardProjection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "nameOnCard": {
            "type": "string",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "accountSourceId": {
            "type": "string",
            "nullable": true
          },
          "panToken": {
            "type": "string",
            "nullable": true
          },
          "maskedPan": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardStatus"
              }
            ]
          },
          "statusReasonCode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardStatusReasonCode"
              }
            ],
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "customerSourceId": {
            "type": "string",
            "nullable": true
          },
          "relationType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardRelationType"
              }
            ]
          },
          "lockLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardLockLevel"
              }
            ],
            "nullable": true
          },
          "membershipFeeEffectiveDate": {
            "type": "string",
            "nullable": true
          },
          "embossingData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EmbossingData"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CardRelationType": {
        "enum": [
          "Primary",
          "Business",
          "Supplementary"
        ],
        "type": "string"
      },
      "CardResponse": {
        "type": "object",
        "properties": {
          "cardId": {
            "type": "string",
            "description": "Card identifier",
            "format": "uuid"
          },
          "accountId": {
            "type": "string",
            "description": "Account identifier",
            "format": "uuid"
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier",
            "format": "uuid"
          },
          "barCode": {
            "type": "string",
            "description": "Barcode associated with card",
            "nullable": true
          },
          "financialReference": {
            "type": "string",
            "description": "Financial reference connected with card\r\n(can ben wallet identifier, or an account identifier)",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "Product code",
            "nullable": true
          },
          "panToken": {
            "type": "string",
            "description": "PAN token (card token?)",
            "nullable": true
          },
          "maskedPan": {
            "type": "string",
            "description": "Marked PAN",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardStatus"
              }
            ],
            "description": "Status of the account"
          },
          "statusReasonCode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardStatusReasonCode"
              }
            ],
            "description": "Reason code of status",
            "nullable": true
          },
          "lockLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardLockLevel"
              }
            ],
            "description": "Lock Level",
            "nullable": true
          },
          "expiryDate": {
            "type": "string",
            "description": "Expiry date",
            "format": "date"
          },
          "cardProcessorReference": {
            "type": "string",
            "description": "Account reference on Card Processor",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "description": "External reference",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Creation date/time",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Last update date/time",
            "format": "date-time"
          },
          "cardProcessorData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardProjection"
              }
            ],
            "description": "Account data retrieved by Card Processor",
            "nullable": true
          },
          "nameOnCard": {
            "type": "string",
            "description": "Customer name on the card",
            "nullable": true
          },
          "blockedDate": {
            "type": "string",
            "description": "Blocked Date",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for single account of card customer"
      },
      "CardResponsePaginatedDataResponse": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "limitCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CardResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CardRsaResponse": {
        "type": "object",
        "properties": {
          "cypher": {
            "type": "string",
            "description": "Encrypted data",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response containing RSA-encrypted card information."
      },
      "CardStatus": {
        "enum": [
          "Active",
          "Blocked",
          "TemporaryBlocked",
          "Replaced",
          "SoftDelete",
          "AccountBlocked",
          "InCreation"
        ],
        "type": "string"
      },
      "CardStatusReasonCode": {
        "enum": [
          "ClientRequestedLock",
          "LostCard",
          "StolenCard",
          "IssuerRequestGeneral",
          "IssuerRequestFraud",
          "IssuerRequestLegal",
          "IssuerRequestIncorrectOpening",
          "CardDamagedOrNotWorking",
          "UserRequest",
          "IssuerRequestCustomerDeceased",
          "ProductDoesNotRenew",
          "ProductChange",
          "Renewed",
          "IssuerRequestAmlKyc",
          "SpecialRenewal",
          "TemporaryAccountBlock",
          "PermanentAccountBlock"
        ],
        "type": "string"
      },
      "CardTokenRequest": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string",
            "description": "Valid Token for the request"
          }
        },
        "additionalProperties": false,
        "description": "Represents the request payload used to retrieve card information \r\nor perform operations using a temporary session token."
      },
      "CardTransactionResponse": {
        "required": [
          "accountId",
          "affiliateKey",
          "billingAmount",
          "billingCurrency",
          "cardId",
          "customerId",
          "feeAmount",
          "metadata",
          "status",
          "transactionDate",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier",
            "format": "uuid"
          },
          "affiliateKey": {
            "type": "string",
            "description": "Key of affiliate",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier on P2",
            "format": "uuid"
          },
          "accountId": {
            "type": "string",
            "description": "Account identifier on P2",
            "format": "uuid"
          },
          "cardId": {
            "type": "string",
            "description": "Card identifier on P2",
            "format": "uuid"
          },
          "billingAmount": {
            "type": "number",
            "description": "Billing amount",
            "format": "double",
            "nullable": true
          },
          "feeAmount": {
            "type": "number",
            "description": "Fees amount",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "string",
            "description": "Billing currency (ex. \"EUR\")",
            "nullable": true
          },
          "transactionDate": {
            "type": "string",
            "description": "Date/time of transaction",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Status of transaction",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Other properties associated to the Transaction",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for single card transaction"
      },
      "CardTransactionResponsePaginatedDataResponse": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "limitCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CardTransactionResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Citizen": {
        "required": [
          "firstName",
          "gender",
          "lastName"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "birthPlace": {
            "maxLength": 32,
            "type": "string",
            "nullable": true
          },
          "gender": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Gender"
              }
            ],
            "description": "Female, Male, Unspecified, Unknown"
          },
          "title": {
            "maxLength": 8,
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "description": "Default \"ita\"",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearingBookmarkResponse": {
        "required": [
          "attempts",
          "clearingBookmarkId",
          "clearingDate",
          "creationDate",
          "endDate",
          "feeCreditAmount",
          "feeCreditReversalAmount",
          "feedback",
          "feeDebitAmount",
          "feeDebitReversalAmount",
          "interchangeCreditAmount",
          "interchangeCreditReversalAmount",
          "interchangeDebitAmount",
          "interchangeDebitReversalAmount",
          "issuerKey",
          "lastUpdateDate",
          "startDate",
          "status"
        ],
        "type": "object",
        "properties": {
          "clearingBookmarkId": {
            "type": "string",
            "description": "Identifier",
            "format": "uuid"
          },
          "clearingDate": {
            "type": "string",
            "description": "Reference date",
            "format": "date"
          },
          "status": {
            "type": "string",
            "description": "Status of process (ex. \"Queued\", \r\n\"InProgress\", \"Completed\", \"Failed\")",
            "nullable": true
          },
          "feedback": {
            "type": "string",
            "description": "Feedback on process",
            "nullable": true
          },
          "attempts": {
            "type": "integer",
            "description": "Number of attempts of process",
            "format": "int32"
          },
          "creationDate": {
            "type": "string",
            "description": "Date/time of creation",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Date/time of last update",
            "format": "date-time"
          },
          "startDate": {
            "type": "string",
            "description": "Date/time of start of process",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "description": "Date/time of end of process",
            "format": "date-time",
            "nullable": true
          },
          "issuerKey": {
            "type": "string",
            "description": "Issuer key",
            "nullable": true
          },
          "interchangeDebitAmount": {
            "type": "number",
            "description": "Total amount of Debit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitReversalAmount": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditAmount": {
            "type": "number",
            "description": "Total amount Credit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditReversalAmount": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "feeDebitAmount": {
            "type": "number",
            "description": "Total amount Debit Fee",
            "format": "double",
            "nullable": true
          },
          "feeDebitReversalAmount": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Fee",
            "format": "double",
            "nullable": true
          },
          "feeCreditAmount": {
            "type": "number",
            "description": "Total amount Credit Fee",
            "format": "double",
            "nullable": true
          },
          "feeCreditReversalAmount": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Fee",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for clearing bookmark, that is the \r\nsummary of execution of a clearing process"
      },
      "ClearingBookmarkResponsePaginatedDataResponse": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "limitCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingBookmarkResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearingFileUploadResponse": {
        "required": [
          "error",
          "isBookmarkCreated",
          "success",
          "totalIncomingClearingCreated",
          "uploadedFileNames"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Result of the operation"
          },
          "uploadedFileNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Name of uploaded file",
            "nullable": true
          },
          "isBookmarkCreated": {
            "type": "boolean",
            "description": "Is a bookmark created"
          },
          "totalIncomingClearingCreated": {
            "type": "integer",
            "description": "Total incomig clearing created",
            "format": "int32"
          },
          "error": {
            "type": "string",
            "description": "Possible Error message",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "CLearing input file upload"
      },
      "CommunicationChannelProjection": {
        "type": "object",
        "properties": {
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationType"
              }
            ]
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationStatus"
              }
            ]
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "customerSourceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommunicationChannelResponse": {
        "type": "object",
        "properties": {
          "communicationChannelId": {
            "type": "string",
            "description": "entity id",
            "format": "uuid"
          },
          "value": {
            "type": "string",
            "description": "channel value",
            "nullable": true
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationStatus"
              }
            ],
            "description": "channel status"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationType"
              }
            ],
            "description": "channel type"
          },
          "externalReference": {
            "type": "string",
            "description": "External Reference",
            "nullable": true
          },
          "cardProcessorReference": {
            "type": "string",
            "description": "Unique reference release by card processor",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Date/time of creation of record",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Date/time of last update of record",
            "format": "date-time"
          },
          "cardProcessorData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationChannelProjection"
              }
            ],
            "description": "Communication Channel data retrieved by Card Processor",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for single communication channel of a customer"
      },
      "CommunicationStatus": {
        "enum": [
          "Inactive",
          "Active"
        ],
        "type": "string"
      },
      "CommunicationType": {
        "enum": [
          "EMail",
          "Mobile",
          "Phone"
        ],
        "type": "string"
      },
      "CreateAccountRequest": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "minLength": 1,
            "enum": [
              "CHARGE",
              "LOAN",
              "DEBIT",
              "PREPAID"
            ],
            "type": "string",
            "description": "Type of account"
          },
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "Reference on external system (optional)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for create an account"
      },
      "CreateAddressRequest": {
        "required": [
          "city",
          "countryCode",
          "externalReference",
          "line1",
          "type",
          "zipCode"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AddressType"
              }
            ],
            "description": "Type of Address"
          },
          "countryCode": {
            "minLength": 1,
            "type": "string",
            "description": "CountryCode ISO 3166-1 alpha-3"
          },
          "line1": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string",
            "description": "Address line 1"
          },
          "line2": {
            "maxLength": 128,
            "type": "string",
            "description": "Address line 2",
            "nullable": true
          },
          "line3": {
            "maxLength": 128,
            "type": "string",
            "description": "Address line 3",
            "nullable": true
          },
          "city": {
            "maxLength": 32,
            "minLength": 1,
            "type": "string",
            "description": "Address City"
          },
          "postOffice": {
            "maxLength": 32,
            "type": "string",
            "description": "Address post office",
            "nullable": true
          },
          "zipCode": {
            "maxLength": 8,
            "minLength": 1,
            "type": "string",
            "description": "Address zip code"
          },
          "province": {
            "maxLength": 30,
            "type": "string",
            "description": "Address Province",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "External Reference",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateCardRequest": {
        "required": [
          "cardHolderCustomerId",
          "nameOnCard",
          "relationType"
        ],
        "type": "object",
        "properties": {
          "cardHolderCustomerId": {
            "type": "string",
            "description": "Customer id of the cardholder.",
            "format": "uuid"
          },
          "nameOnCard": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Name on card  (ex. \"JOHN DOE\")"
          },
          "barCode": {
            "maxLength": 255,
            "type": "string",
            "description": "Barcode associated with card (optional)",
            "nullable": true
          },
          "financialReference": {
            "maxLength": 255,
            "type": "string",
            "description": "Financial reference connected with card\r\n(optional, can ben wallet identifier, \r\nor an account identifier)",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "Reference on external system (optional)",
            "nullable": true
          },
          "relationType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardRelationType"
              }
            ],
            "description": "Primary, Business, Supplementary"
          }
        },
        "additionalProperties": false,
        "description": "Request for create a card"
      },
      "CreateChangePinTokenRequest": {
        "required": [
          "cardId"
        ],
        "type": "object",
        "properties": {
          "cardId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateCommunicationChannelRequest": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "channel value",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationType"
              }
            ],
            "description": "channel type"
          },
          "externalReference": {
            "type": "string",
            "description": "External Reference",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateCustomerRequest": {
        "required": [
          "citizen",
          "code",
          "legalEntity",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerType"
              }
            ],
            "description": "Type of customer"
          },
          "code": {
            "maxLength": -1,
            "minLength": 3,
            "type": "string",
            "description": "Unique code of customer"
          },
          "citizen": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Citizen"
              }
            ],
            "description": "Citizen data (required only when Type \"Citizen\")"
          },
          "legalEntity": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LegalEntity"
              }
            ],
            "description": "LegalEntity data (required only when Type \"LegalEntity\")"
          },
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "External reference",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for create a card customer"
      },
      "CreateTokenRequest": {
        "required": [
          "cardId",
          "publicKey"
        ],
        "type": "object",
        "properties": {
          "cardId": {
            "type": "string",
            "format": "uuid"
          },
          "publicKey": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CujDefinition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "firstCheckpoint": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerCitizenProjection": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "birthPlace": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Gender"
              }
            ]
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerLegalEntityProjection": {
        "type": "object",
        "properties": {
          "longName": {
            "type": "string",
            "nullable": true
          },
          "shortName": {
            "type": "string",
            "nullable": true
          },
          "sector": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sector"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CustomerProjection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "sourceId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerType"
              }
            ]
          },
          "citizen": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerCitizenProjection"
              }
            ],
            "nullable": true
          },
          "legalEntity": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerLegalEntityProjection"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerResponse": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "description": "Customer identifier",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Name of customer (name/surname or company name)",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerType"
              }
            ],
            "description": "Type of customer (citizen, legal entity)"
          },
          "code": {
            "type": "string",
            "description": "Unique code of customer",
            "nullable": true
          },
          "cardProcessorReference": {
            "type": "string",
            "description": "Customer reference on Card Processor",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "description": "External reference",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Creation date/time",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Last update date/time",
            "format": "date-time"
          },
          "cardProcessorData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerProjection"
              }
            ],
            "description": "Customer data retrieved by Card Processor",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for card customer"
      },
      "CustomerResponsePaginatedDataResponse": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "limitCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomerType": {
        "enum": [
          "Citizen",
          "LegalEntity"
        ],
        "type": "string"
      },
      "DiagnosticsResponse": {
        "type": "object",
        "properties": {
          "applicationName": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          },
          "environment": {
            "type": "string",
            "nullable": true
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmbossingData": {
        "type": "object",
        "properties": {
          "isPlasticOrdered": {
            "type": "boolean"
          },
          "persoBureauHandoverDate": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorModel": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string",
            "nullable": true
          },
          "errorDescription": {
            "type": "string",
            "nullable": true
          },
          "errorProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "File": {
        "type": "object",
        "additionalProperties": false
      },
      "ForceCleanupThreeDSecureProcessesRequest": {
        "type": "object",
        "properties": {
          "retentionDays": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "integer",
            "description": "Number of days of retention (optional, if missing\r\nthe configured default value is used)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request to force cleanup of old 3DS process records"
      },
      "ForceOutgoingClearingFilesExportRequest": {
        "required": [
          "clearingBookmarkId"
        ],
        "type": "object",
        "properties": {
          "clearingBookmarkId": {
            "type": "string",
            "description": "Clearing bookmark identifier",
            "format": "uuid"
          },
          "issuerKey": {
            "type": "string",
            "description": "Expected issuer key",
            "nullable": true
          },
          "clearingDate": {
            "type": "string",
            "description": "Expected clearing date",
            "format": "date",
            "nullable": true
          },
          "affiliateKeys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional affiliate filter",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for forcing outgoing clearing files export"
      },
      "ForceQueueClearingFlowRequest": {
        "required": [
          "clearingDate",
          "issuerKey",
          "mode"
        ],
        "type": "object",
        "properties": {
          "clearingDate": {
            "type": "string",
            "description": "Date of the clearing (optional, if missing current day is used)",
            "format": "date",
            "nullable": true
          },
          "issuerKey": {
            "type": "string",
            "description": "Key of issuer for processing",
            "nullable": true
          },
          "mode": {
            "type": "string",
            "description": "Mode of processing",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for force queue of clearing flow"
      },
      "Gender": {
        "enum": [
          "Female",
          "Male",
          "Unspecified",
          "Unknown"
        ],
        "type": "string"
      },
      "GetAuthenticationDevicesResponse": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "description": "Identifier of specific device",
            "nullable": true
          },
          "displayVal": {
            "type": "string",
            "description": "Value displayed to the user on the ACS screens",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response used for get list of card holder devices \r\navailable on specified authentication method"
      },
      "GetAuthenticationDevicesToAffiliateRequest": {
        "required": [
          "acsVersion",
          "authenticationType",
          "panToken",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "dsTransactionId": {
            "type": "string",
            "description": "Transaction identifier for Directory Service (DS)",
            "nullable": true
          },
          "acsVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Access Control Server version"
          },
          "panToken": {
            "minLength": 1,
            "type": "string",
            "description": "PAN Token of the card associated with \r\nthe transaction (should be used to identify \r\nthe card holder and the list of his devices)"
          },
          "authenticationType": {
            "minLength": 1,
            "type": "string",
            "description": "Type of authentication requested\r\nValid values are \"OobPush\", \"SmsMac\", \"SmsMacPin\", \r\n\"MobileTokenQr\", \"HardwareTokenQr\", \"MobileTokenMac\" \r\nand \"HardwareTokenMac\""
          }
        },
        "additionalProperties": false,
        "description": "Request used get the list of devices of the card holder"
      },
      "GetAuthenticationDevicesToAffiliateResponse": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "description": "Identifier of specific device",
            "nullable": true
          },
          "displayVal": {
            "type": "string",
            "description": "Value displayed to the user on the ACS screens",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response used for get list of card holder devices \r\navailable on specified authentication method \r\nfrom affiliate endpoint"
      },
      "GetTransactionRiskLevelResponse": {
        "type": "object",
        "properties": {
          "riskLevel": {
            "type": "string",
            "description": "The risk level assessed for the transaction. \r\nValues accepted: \"low\", \"medium\", \"high\", \"undecided\"",
            "nullable": true
          },
          "whitelistStatus": {
            "type": "string",
            "description": "ACS provided codes that determines the whitelist status. \r\nIf none of the provided options was used, affiliate should \r\nsend a null value. Possible values:\r\n\"Y\": 3DS Requestor is whitelisted by cardholder,\r\n\"N\": 3DS Requestor is not whitelisted by cardholder,\r\n\"E\": Not eligible as determined by issuer,\r\n\"P\": Pending confirmation by cardholder,\r\n\"R\": Cardholder rejected,\r\n\"U\": Whitelist status unknown, unavailable, or does not apply",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response with calculated risk level for input transaction"
      },
      "GetTransactionRiskLevelToAffiliateRequest": {
        "required": [
          "acquirerMerchantId",
          "acsVersion",
          "merchantFraudRate",
          "merchantName",
          "panToken",
          "purchaseAmount",
          "purchaseCurrency",
          "purchaseExponent",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "dsTransactionId": {
            "type": "string",
            "description": "Transaction identifier for Directory Service (DS)",
            "nullable": true
          },
          "acsVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Access Control Server version"
          },
          "panToken": {
            "minLength": 1,
            "type": "string",
            "description": "PAN Token of the card associated with \r\nthe transaction (should be used to identify \r\nthe card holder and the list of his devices)"
          },
          "merchantName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the merchant assigned by acquirer"
          },
          "purchaseAmount": {
            "minLength": 1,
            "type": "string",
            "description": "Purchase amount in minor units of currency with all \r\npunctuation removed (ex. 15.34€ => \"1534\"). This value \r\nshould be used in conjunction with \"PurchaseExponent\" in \r\norder to calculate number of decimal for puntuation"
          },
          "purchaseExponent": {
            "type": "integer",
            "description": "Required if purchase amount is present. Minor units of \r\ncurrency as specified in the ISO-4217 currency exponent.\r\nFor Euro the value should be 2 (=> 10^2 = 100 cents in 1 Euro).",
            "format": "int32"
          },
          "purchaseCurrency": {
            "minLength": 1,
            "type": "string",
            "description": "Currency in which purchase amount is expressed. \r\nISO 4217 three-digit currency code. Three (3) \r\nnumerical characters. (ex. \"978\"=>\"EUR\", \"826\"=>\"GBP\", \r\n\"840\"=>\"USD\", \"392\"=>\"JPY\")"
          },
          "acquirerMerchantId": {
            "minLength": 1,
            "type": "string",
            "description": "Acquirer-assigned merchant identifier"
          },
          "messageCategory": {
            "type": "string",
            "description": "Identifies the category of the message, using 2 \r\ndigits, for a specific use case (defined with ACS setup)",
            "nullable": true
          },
          "merchantFraudRate": {
            "type": "integer",
            "description": "Merchant fraud rate in bps taking into account all \r\nMerchant sites and card volumes, calculated as per \r\nPSD2 RTS Article 19.",
            "format": "int32"
          },
          "threeRiIndicator": {
            "type": "string",
            "description": "Indicates the type of 3RI request. \r\nPossible values:\r\n01 = Recurring transaction,\r\n02 = Installment transaction,\r\n03 = Add card,\r\n04 = Maintain card information,\r\n05 = Account verification,\r\n06 = Split/delayed shipment,\r\n07 = Top-up,\r\n08 = Mail Order,\r\n09 = Telephone Order,\r\n10 = Whitelist status check,\r\n11 = Other payment",
            "nullable": true
          },
          "whitelistStatus": {
            "type": "string",
            "description": "Field indicating whether cardholder requested \r\nmerchant's whitelisting. Values accepted: \"Y\", \"N\"",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for get risk level of specific transaction"
      },
      "GetTransactionRiskLevelToAffiliateResponse": {
        "type": "object",
        "properties": {
          "riskLevel": {
            "type": "string",
            "description": "The risk level assessed for the transaction. \r\nValues accepted: \"low\", \"medium\", \"high\", \"undecided\"",
            "nullable": true
          },
          "whitelistStatus": {
            "type": "string",
            "description": "ACS provided codes that determines the whitelist status. \r\nIf none of the provided options was used, affiliate should \r\nsend a null value. Possible values:\r\n\"Y\": 3DS Requestor is whitelisted by cardholder,\r\n\"N\": 3DS Requestor is not whitelisted by cardholder,\r\n\"E\": Not eligible as determined by issuer,\r\n\"P\": Pending confirmation by cardholder,\r\n\"R\": Cardholder rejected,\r\n\"U\": Whitelist status unknown, unavailable, or does not apply",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response with calculated risk level for input \r\ntransaction from affiliate endpoint"
      },
      "IncomingClearingResponse": {
        "type": "object",
        "properties": {
          "incomingClearingId": {
            "type": "string",
            "description": "Identifier of incoming clearing",
            "format": "uuid"
          },
          "clearingBookmarkId": {
            "type": "string",
            "description": "Related clearing bookmark",
            "format": "uuid"
          },
          "clearingDate": {
            "type": "string",
            "description": "Date of the clearing",
            "format": "date"
          },
          "type": {
            "type": "string",
            "description": "Source type (clearing, fee, unknown)",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "description": "File name",
            "nullable": true
          },
          "recordsInFile": {
            "type": "integer",
            "description": "Number of records in the file",
            "format": "int32",
            "nullable": true
          },
          "availableRecordsInFile": {
            "type": "integer",
            "description": "Number of available records (rows on file)",
            "format": "int32",
            "nullable": true
          },
          "readableRecordsInFile": {
            "type": "integer",
            "description": "Number of readable records (using rows on file)",
            "format": "int32",
            "nullable": true
          },
          "fileSequenceNumber": {
            "type": "integer",
            "description": "Sequence number",
            "format": "int32",
            "nullable": true
          },
          "fileVersion": {
            "type": "string",
            "description": "Version of file",
            "nullable": true
          },
          "fileType": {
            "type": "string",
            "description": "Type of file",
            "nullable": true
          },
          "isFinalFile": {
            "type": "boolean",
            "description": "Is this the last file in the sequence?",
            "nullable": true
          },
          "isFileVerified": {
            "type": "boolean",
            "description": "The file was verified with its content",
            "nullable": true
          },
          "feedback": {
            "type": "string",
            "description": "Feedback about file verification or processing",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Date/time of creation",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Date/time of last update",
            "format": "date-time"
          },
          "issuerKey": {
            "type": "string",
            "description": "Issuer key",
            "nullable": true
          },
          "interchangeDebitAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Debit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Debit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditAmountEuroZone": {
            "type": "number",
            "description": "Total amount Credit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount Credit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Transaction Interchange",
            "format": "double",
            "nullable": true
          },
          "feeDebitAmountEuroZone": {
            "type": "number",
            "description": "Total amount Debit Fee",
            "format": "double",
            "nullable": true
          },
          "feeDebitAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount Debit Fee",
            "format": "double",
            "nullable": true
          },
          "feeDebitReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Fee",
            "format": "double",
            "nullable": true
          },
          "feeDebitReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Fee",
            "format": "double",
            "nullable": true
          },
          "feeCreditAmountEuroZone": {
            "type": "number",
            "description": "Total amount Credit Fee",
            "format": "double",
            "nullable": true
          },
          "feeCreditAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount Credit Fee",
            "format": "double",
            "nullable": true
          },
          "feeCreditReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Fee",
            "format": "double",
            "nullable": true
          },
          "feeCreditReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Fee",
            "format": "double",
            "nullable": true
          },
          "debitsCountEuroZone": {
            "type": "integer",
            "description": "Total number of debits records",
            "format": "int32",
            "nullable": true
          },
          "debitsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of debits records",
            "format": "int32",
            "nullable": true
          },
          "debitReversalsCountEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of debits records",
            "format": "int32",
            "nullable": true
          },
          "debitReversalsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of debits records",
            "format": "int32",
            "nullable": true
          },
          "creditsCountEuroZone": {
            "type": "integer",
            "description": "Total number of credits records",
            "format": "int32",
            "nullable": true
          },
          "creditsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of credits records",
            "format": "int32",
            "nullable": true
          },
          "creditReversalsCountEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of credits records",
            "format": "int32",
            "nullable": true
          },
          "creditReversalsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of credits records",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for clearing input source, that is the \r\nsingle input file of a clearing process execution"
      },
      "IntegerResponse": {
        "type": "object",
        "properties": {
          "value": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "LegalEntity": {
        "required": [
          "longName",
          "sector",
          "shortName"
        ],
        "type": "object",
        "properties": {
          "longName": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "shortName": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "sector": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sector"
              }
            ],
            "description": "Public, Private, Corporate, Others, NoInformation, UnrelatedPersonsLegalEntities"
          }
        },
        "additionalProperties": false
      },
      "OutgoingClearingMultischemeHeader": {
        "required": [
          "affiliateKey",
          "clearingDate",
          "declaredRecordsInFile",
          "fileName",
          "issuerKey",
          "type",
          "version"
        ],
        "type": "object",
        "properties": {
          "issuerKey": {
            "minLength": 1,
            "type": "string",
            "description": "Issuer key"
          },
          "affiliateKey": {
            "minLength": 1,
            "type": "string",
            "description": "Affiliate key"
          },
          "clearingDate": {
            "type": "string",
            "description": "Date of clearing",
            "format": "date"
          },
          "type": {
            "minLength": 1,
            "type": "string",
            "description": "Type of clearing file"
          },
          "version": {
            "minLength": 1,
            "type": "string",
            "description": "Version of file"
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the clearing file"
          },
          "declaredRecordsInFile": {
            "type": "integer",
            "description": "Number or records declared in the file",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Outgoing clearing header for \"ClearingMultischeme\" for a specific Affiliate"
      },
      "OutgoingClearingMultischemeRecord": {
        "required": [
          "affiliateKey",
          "clearingId",
          "originalTransactionCurrency",
          "processingTimestamp",
          "reversalIndicator",
          "sendingInstitutionIdentification"
        ],
        "type": "object",
        "properties": {
          "affiliateKey": {
            "minLength": 1,
            "type": "string",
            "description": "Key of affiliate"
          },
          "trxId": {
            "type": "string",
            "description": "Transaction identifier",
            "nullable": true
          },
          "trxType": {
            "type": "string",
            "description": "Transaction type",
            "nullable": true
          },
          "trxDateTime": {
            "type": "string",
            "description": "Date and time when the transaction was processed \r\nby P2 Card Platform (in local time zone). Please \r\nuse \"OriginalTransactionDate\" for know the date \r\nof registration of the transaction on the Card Scheme",
            "format": "date-time"
          },
          "trxCurrency": {
            "type": "string",
            "description": "Trx Currency",
            "nullable": true
          },
          "interchangeDeduction": {
            "type": "number",
            "description": "Trx Deduction",
            "format": "double"
          },
          "feeDeduction": {
            "type": "number",
            "description": "Trx Fee Deduction",
            "format": "double"
          },
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier",
            "nullable": true
          },
          "transactionSource": {
            "type": "string",
            "description": "Transaction source: \r\n\r\n CHG (file), \r\n\r\n MAN(manual through UI)",
            "nullable": true
          },
          "cardSettlementSchema": {
            "type": "string",
            "description": "Card settlement schema:\r\n\r\n 0 (On-us)\r\n\r\n 1 (Diners)\r\n\r\n 2 (Discover)\r\n\r\n 3 (Mastercard)\r\n\r\n 4 (Visa)",
            "nullable": true
          },
          "originalTransactionId": {
            "type": "string",
            "description": "Identifier of the original transaction \r\n(present only of record is a reversal)",
            "nullable": true
          },
          "originalTransactionDate": {
            "type": "string",
            "description": "Date of the original transaction",
            "format": "date",
            "nullable": true
          },
          "originalTransactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double"
          },
          "settlementDate": {
            "type": "string",
            "description": "Settlement date",
            "format": "date",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier (on Card Processor)",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "description": "Account identifier (on Card Processor)",
            "nullable": true
          },
          "cardId": {
            "type": "string",
            "description": "Card identifier (on Card Processor)",
            "nullable": true
          },
          "panToken": {
            "type": "string",
            "description": "Card PAN token",
            "nullable": true
          },
          "billedAmount": {
            "type": "number",
            "description": "Billed amount (in EUR)",
            "format": "double",
            "nullable": true
          },
          "billedCurrency": {
            "type": "string",
            "description": "Billed currency",
            "nullable": true
          },
          "feeAmount": {
            "type": "number",
            "description": "Fee amount (in EUR)",
            "format": "double",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city",
            "nullable": true
          },
          "merchantCountry": {
            "type": "string",
            "description": "Merchant country",
            "nullable": true
          },
          "merchantClassificationCode": {
            "type": "string",
            "description": "Merchant classification code (MCC)",
            "nullable": true
          },
          "transactionTypeCode": {
            "type": "string",
            "description": "Transacion type code\r\n\r\n 0 (Purchase) \r\n\r\n 1 (ATM Withdrawal) \r\n\r\n 17 (Cash advance) \r\n\r\n 20 (Refund/Credit/Payment) \r\n\r\n 30 (Balance Inquiry) \r\n\r\n 91 (PIN Unblock) \r\n\r\n 92 (PIN Change) \r\n\r\n 107 (Transfer to Account (MoneySend)) \r\n\r\n 108 (Transfer from Account (MoneySend)) \r\n\r\n 201 (ATM Withdrawal (credit)) \r\n\r\n 217 (Cash advance (credit)) \r\n\r\n 999 (Other)",
            "nullable": true
          },
          "transactionChannel": {
            "type": "string",
            "description": "Transacion channel\r\n\r\n M (Manual), \r\n\r\n P (POS), \r\n\r\n A (ATM), \r\n\r\n I (E-commerce/Internet)",
            "nullable": true
          },
          "matchingDesignator": {
            "type": "string",
            "description": "Matching designator:\r\n\r\n M (Matched)\r\n\r\n U (Un Matched)\r\n\r\n R (Rejected)\r\n\r\n B (Manual Reversal)",
            "nullable": true
          },
          "financialFlowFlag": {
            "type": "string",
            "description": "Financial Flow Flag:\r\n\r\n D (Debit) \r\n\r\n R (Debit Reversal, storno of D) \r\n\r\n C (Credit) \r\n\r\n X (Credit Reversal, storno of C)",
            "nullable": true
          },
          "processingTimestamp": {
            "type": "string",
            "description": "Processing timestamp",
            "format": "date-time"
          },
          "authorizationTimestamp": {
            "type": "string",
            "description": "Authorization (O2I) timestamp",
            "format": "date-time",
            "nullable": true
          },
          "clearingId": {
            "minLength": 1,
            "type": "string",
            "description": "Card processor clearing identifier"
          },
          "sendingInstitutionIdentification": {
            "minLength": 1,
            "type": "string",
            "description": "Sending institution identification"
          },
          "reversalIndicator": {
            "minLength": 1,
            "type": "string",
            "description": "Reversal indicator:\r\n\r\n N (Normal fee transaction), \r\n\r\n R (Reversal), \r\n\r\n B (Manual fee reversal)"
          },
          "originalTransactionCurrency": {
            "minLength": 1,
            "type": "string",
            "description": "Original transaction currency"
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal Id",
            "nullable": true
          },
          "entryMode": {
            "type": "string",
            "description": "Entry mode. Card Input Data Method\r\n\r\n 0 (Unknown or unspecified) \r\n\r\n 1 (Manual) \r\n\r\n 2 (Magstripe) \r\n\r\n 3 (Barcode) \r\n\r\n 4 (OCR) \r\n\r\n 5 (Chip) \r\n\r\n 6 (Key entry) \r\n\r\n 7 (Contactless chip) \r\n\r\n 8 (Contacltess magstripe) \r\n\r\n 9 (Chip fallback) \r\n\r\n 10 (Credentials on file) \r\n\r\n 102 (Chip fallback)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Outgoing clearing record for \"ClearingMultischeme\" for a specific Affiliate"
      },
      "OutgoingClearingResponse": {
        "type": "object",
        "properties": {
          "outgoingClearingId": {
            "type": "string",
            "description": "Identifier of outgoing clearing",
            "format": "uuid"
          },
          "clearingBookmarkId": {
            "type": "string",
            "description": "Related clearing bookmark",
            "format": "uuid"
          },
          "issuerKey": {
            "type": "string",
            "description": "Issuer key",
            "nullable": true
          },
          "affiliateKey": {
            "type": "string",
            "description": "Affiliate key",
            "nullable": true
          },
          "clearingDate": {
            "type": "string",
            "description": "Clearing date",
            "format": "date"
          },
          "type": {
            "type": "string",
            "description": "Type of clearing file",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "description": "Name of file",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Date/time of creation",
            "format": "date-time"
          },
          "lastUpdateDate": {
            "type": "string",
            "description": "Date/time of last update",
            "format": "date-time"
          },
          "availableRecords": {
            "type": "integer",
            "description": "Number of records that will be added \r\nin the outgoing clearing file",
            "format": "int32",
            "nullable": true
          },
          "interchangeDebitAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Debit Transaction Interchange (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Debit Transaction Interchange (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Transaction Interchange (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeDebitReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Transaction Interchange (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditAmountEuroZone": {
            "type": "number",
            "description": "Total amount Credit Transaction Interchange (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount Credit Transaction Interchange (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Transaction Interchange (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "interchangeCreditReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Transaction Interchange (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeDebitAmountEuroZone": {
            "type": "number",
            "description": "Total amount Debit Fee (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeDebitAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount Debit Fee (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeDebitReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Fee (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeDebitReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Debit Fee (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeCreditAmountEuroZone": {
            "type": "number",
            "description": "Total amount Credit Fee (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeCreditAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount Credit Fee (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeCreditReversalAmountEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Fee (Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "feeCreditReversalAmountNonEuroZone": {
            "type": "number",
            "description": "Total amount of Reversal of Credit Fee (extra Euro Zone only)",
            "format": "double",
            "nullable": true
          },
          "debitsCountEuroZone": {
            "type": "integer",
            "description": "Total number of debits records (Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "debitsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of debits records (extra Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "debitReversalsCountEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of debits records (Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "debitReversalsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of debits records (extra Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "creditsCountEuroZone": {
            "type": "integer",
            "description": "Total number of credits records (Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "creditsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of credits records (extra Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "creditReversalsCountEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of credits records (Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "creditReversalsCountNonEuroZone": {
            "type": "integer",
            "description": "Total number of reversal of credits records (extra Euro Zone only)",
            "format": "int32",
            "nullable": true
          },
          "deductionCreditEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone credit deductions",
            "format": "double",
            "nullable": true
          },
          "deductionCreditReversalEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone credit reversal deductions",
            "format": "double",
            "nullable": true
          },
          "deductionDebitEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone debit deductions",
            "format": "double",
            "nullable": true
          },
          "deductionDebitReversalEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone debit reversal deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeCreditEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone credit fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeCreditReversalEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone credit reversal fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeDebitEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone debit fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeDebitReversalEuroZone": {
            "type": "number",
            "description": "Total amount of EuroZone debit reversal fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionCreditNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone credit deductions",
            "format": "double",
            "nullable": true
          },
          "deductionCreditReversalNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone credit reversal deductions",
            "format": "double",
            "nullable": true
          },
          "deductionDebitNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone debit deductions",
            "format": "double",
            "nullable": true
          },
          "deductionDebitReversalNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone debit reversal deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeCreditNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone credit fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeCreditReversalNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone credit reversal fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeDebitNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone debit fee deductions",
            "format": "double",
            "nullable": true
          },
          "deductionFeeDebitReversalNonEuroZone": {
            "type": "number",
            "description": "Total amount of NonEuroZone debit reversal fee deductions",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for clearing output, that is the \r\nsingle output result of a clearing process execution"
      },
      "OutgoingFeeMultischemeHeader": {
        "required": [
          "affiliateKey",
          "clearingDate",
          "declaredRecordsInFile",
          "fileName",
          "issuerKey",
          "type",
          "version"
        ],
        "type": "object",
        "properties": {
          "issuerKey": {
            "minLength": 1,
            "type": "string",
            "description": "Issuer key"
          },
          "affiliateKey": {
            "minLength": 1,
            "type": "string",
            "description": "Affiliate key"
          },
          "clearingDate": {
            "type": "string",
            "description": "Date of clearing",
            "format": "date"
          },
          "type": {
            "minLength": 1,
            "type": "string",
            "description": "Type of clearing file"
          },
          "version": {
            "minLength": 1,
            "type": "string",
            "description": "Version of file"
          },
          "fileName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the clearing file"
          },
          "declaredRecordsInFile": {
            "type": "integer",
            "description": "Number or records declared in the file",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Outgoing clearing header for \"FeeMultischeme\" for a specific Affiliate"
      },
      "OutgoingFeeMultischemeRecord": {
        "required": [
          "affiliateKey",
          "feeAmount",
          "feeCurrency",
          "feeId",
          "feeSource",
          "financialFlowFlag",
          "processingTimestamp",
          "reversalIndicator"
        ],
        "type": "object",
        "properties": {
          "affiliateKey": {
            "minLength": 1,
            "type": "string",
            "description": "Affiliate key"
          },
          "trxCurrency": {
            "type": "string",
            "description": "Trx Currency",
            "nullable": true
          },
          "interchangeDeduction": {
            "type": "number",
            "description": "Trx Deduction",
            "format": "double"
          },
          "feeDeduction": {
            "type": "number",
            "description": "Trx Fee Deduction",
            "format": "double"
          },
          "billedAmount": {
            "type": "number",
            "description": "Billed amount",
            "format": "double",
            "nullable": true
          },
          "billedCurrency": {
            "type": "string",
            "description": "Billed Currency",
            "nullable": true
          },
          "feeSource": {
            "minLength": 1,
            "type": "string",
            "description": "Fee source: \r\nCHG (file), \r\nMAN(manual through UI)\r\nRPR (reprocessed rejected fee)"
          },
          "cardSettlementSchema": {
            "type": "string",
            "description": "Card settlement schema:\r\n0 (On-us)\r\n1 (Diners)\r\n2 (Discover)\r\n3 (Mastercard)\r\n4 (Visa)",
            "nullable": true
          },
          "financialFlowFlag": {
            "minLength": 1,
            "type": "string",
            "description": "Financial Flow Flag:\r\nD (Debit) \r\nR (Debit Reversal (storno of D)) \r\nC (Credit) \r\nX (Credit Reversal (storno of C))"
          },
          "reversalIndicator": {
            "minLength": 1,
            "type": "string",
            "description": "Reversal indicator:\r\nN (Normal fee transaction), \r\nR (Reversal), \r\nB (Manual fee reversal)"
          },
          "matchingDesignator": {
            "type": "string",
            "description": "Matching designator:\r\nM (Matched)\r\nU (Un Matched)\r\nR (Rejected)\r\nB (Manual Reversal)",
            "nullable": true
          },
          "settlementDate": {
            "type": "string",
            "description": "Settlement date",
            "format": "date",
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "description": "Customer identifier (on Card Processor)",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "description": "Account identifier (on Card Processor)",
            "nullable": true
          },
          "cardId": {
            "type": "string",
            "description": "Card identifier (on Card Processor)",
            "nullable": true
          },
          "panToken": {
            "type": "string",
            "description": "Card PAN token",
            "nullable": true
          },
          "feeAmount": {
            "type": "number",
            "description": "Fee amount (in EUR)",
            "format": "double"
          },
          "feeCurrency": {
            "minLength": 1,
            "type": "string",
            "description": "Fee currency (ex. \"EUR\")"
          },
          "processingTimestamp": {
            "type": "string",
            "description": "Processing timestamp",
            "format": "date-time"
          },
          "feeType": {
            "type": "string",
            "description": "Fee type",
            "nullable": true
          },
          "feeCode": {
            "type": "string",
            "description": "Fee code",
            "nullable": true
          },
          "feeProfile": {
            "type": "string",
            "description": "Fee profile code",
            "nullable": true
          },
          "feeDescription": {
            "type": "string",
            "description": "Fee description",
            "nullable": true
          },
          "feeDate": {
            "type": "string",
            "description": "Fee date",
            "format": "date",
            "nullable": true
          },
          "feeId": {
            "minLength": 1,
            "type": "string",
            "description": "Fee identifier"
          },
          "reconciliationAmount": {
            "type": "number",
            "description": "Reconciliation amount",
            "format": "double",
            "nullable": true
          },
          "reconciliationCurrency": {
            "type": "string",
            "description": "Reconciliation currency",
            "nullable": true
          },
          "schemaProcessingDate": {
            "type": "string",
            "description": "Schema processing",
            "format": "date",
            "nullable": true
          },
          "sendingInstitutionIdentificationCode": {
            "type": "string",
            "description": "Sending Institution Identification Code",
            "nullable": true
          },
          "feeTariffCode": {
            "type": "string",
            "description": "Fee tariff code (only present for fees \r\nwith \"BAT\" or \"MAN\" source).",
            "nullable": true
          },
          "originalIdentifier": {
            "type": "string",
            "description": "Original identifier (if fee is \r\nrelated with another one)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Outgoing clearing record for \"FeeMultischeme\" for a specific Affiliate"
      },
      "OverrideCardLimitsRequest": {
        "required": [
          "limits"
        ],
        "type": "object",
        "properties": {
          "limits": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CardLimit"
            }
          }
        },
        "additionalProperties": false
      },
      "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": { }
      },
      "PushOnlineToIssuerAdviceRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for push an \"advice\" O2I to affiliate endpoint"
      },
      "PushOnlineToIssuerAdviceResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after push of transaction \"advice\" \r\non O2I process to affiliate"
      },
      "PushOnlineToIssuerAuthorizationToAffiliateRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "financialReference": {
            "type": "string",
            "description": "This field is usually used to create a relation between the \r\ncard and the external reference for the money (ex. walletId \r\non P1, accountId on external Core Banking System, etc).",
            "nullable": true
          },
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used to forward to an affiliate endpoint \r\na transaction \"authorize\" on O2I process"
      },
      "PushOnlineToIssuerAuthorizationToAffiliateResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after the forward to an affiliate endpoint \r\na transaction \"authorize\" on O2I process"
      },
      "PushOnlineToIssuerInquiryRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for push an \"inquiry\" O2I to affiliate endpoint"
      },
      "PushOnlineToIssuerInquiryResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after push of transaction \"inquiry\" \r\non O2I process to affiliate"
      },
      "PushOnlineToIssuerReversalRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for push an \"reversal\" O2I to affiliate endpoint"
      },
      "PushOnlineToIssuerReversalResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after push of transaction \"reversal\" \r\non O2I process to affiliate"
      },
      "PushOobAuthenticationRequest": {
        "required": [
          "authMethod",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "authenticated": {
            "type": "boolean",
            "description": "Context transaction was autheticated/authorized by card holder"
          },
          "authMethod": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Method used for authenticate transaction\r\n07 = OOB Biometrics\r\n08 = OOB Login"
          }
        },
        "additionalProperties": false,
        "description": "Request used to capture an OOB (Out-of-Band) authentication\r\npreviously raised on a remote device that belong to card holder"
      },
      "RaiseOobAuthenticationResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "Status of push of authentication to the device\r\n0 = Failed\r\n1 = Success",
            "format": "int32"
          },
          "oobAppUrl": {
            "type": "string",
            "description": "Mobile Deep link to an authentication \r\napplication used in the OOB authentication.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response with status of push authentication"
      },
      "RaiseOobAuthenticationToAffiliateRequest": {
        "required": [
          "acsVersion",
          "deviceId",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "dsTransactionId": {
            "type": "string",
            "description": "Transaction identifier for Directory Service (DS)",
            "nullable": true
          },
          "acsVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Access Control Server version"
          },
          "deviceId": {
            "minLength": 1,
            "type": "string",
            "description": "Identifier of the device that should \r\nreceive the request for authentication"
          },
          "merchantAppUrl": {
            "type": "string",
            "description": "The URL of the merchant application that should be \r\ncalled by the authentication application once the \r\ncardholder completes the OOB authentication. This \r\nparameter will be present if it is received by the \r\nACS in the CReq (Challenge Request) message",
            "nullable": true
          },
          "transactionData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RaiseOobAuthenticationTransactionDataRequest"
              }
            ],
            "description": "Details of transaction",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for raise an OOB authentication to remote device"
      },
      "RaiseOobAuthenticationToAffiliateResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "Status of push of authentication to the device\r\n0 = Failed\r\n1 = Success",
            "format": "int32"
          },
          "oobAppUrl": {
            "type": "string",
            "description": "Mobile Deep link to an authentication \r\napplication used in the OOB authentication.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response with status of push authentication to affiliate endpoint"
      },
      "RaiseOobAuthenticationTransactionDataRequest": {
        "required": [
          "acquirerMerchantId",
          "maskedPan",
          "merchantName",
          "purchaseAmount",
          "purchaseCurrency",
          "purchaseDate",
          "purchaseExponent"
        ],
        "type": "object",
        "properties": {
          "merchantName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the merchant assigned by acquirer"
          },
          "purchaseAmount": {
            "minLength": 1,
            "type": "string",
            "description": "Purchase amount in minor units of currency with all \r\npunctuation removed (ex. 15.34€ => \"1534\"). This value \r\nshould be used in conjunction with \"PurchaseExponent\" in \r\norder to calculate number of decimal for puntuation"
          },
          "purchaseExponent": {
            "minLength": 1,
            "type": "string",
            "description": "Required if purchase amount is present. Minor units of \r\ncurrency as specified in the ISO-4217 currency exponent.\r\nFor Euro the value should be \"2\" (=> 10^2 = 100 cents in 1 Euro)."
          },
          "purchaseCurrency": {
            "minLength": 1,
            "type": "string",
            "description": "Currency in which purchase amount is expressed. \r\nISO 4217 three-digit currency code. Three (3) \r\nnumerical characters. (ex. \"978\"=>\"EUR\", \"826\"=>\"GBP\", \r\n\"840\"=>\"USD\", \"392\"=>\"JPY\")"
          },
          "purchaseDate": {
            "minLength": 1,
            "type": "string",
            "description": "Date and time of the purchase, expressed in UTC. \r\n14 character string in the following format YYYYMMDDHHMMSS."
          },
          "maskedPan": {
            "minLength": 1,
            "type": "string",
            "description": "Masked PAN of the card that initiated the \r\n3DS transaction. The format of the mask is 563712XXXXXX4501"
          },
          "acquirerMerchantId": {
            "minLength": 1,
            "type": "string",
            "description": "Acquirer-assigned merchant identifier"
          },
          "messageCategory": {
            "type": "string",
            "description": "Identifies the category of the message, using 2 \r\ndigits, for a specific use case (defined with ACS setup)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request with transaction data during OOB push authentication"
      },
      "SearchAccountsRequest": {
        "required": [
          "accountNumber"
        ],
        "type": "object",
        "properties": {
          "accountNumber": {
            "maxLength": 255,
            "minLength": 3,
            "type": "string",
            "description": "Account number"
          }
        },
        "additionalProperties": false
      },
      "SearchCustomersRequest": {
        "type": "object",
        "properties": {
          "code": {
            "maxLength": 255,
            "minLength": 3,
            "type": "string",
            "description": "Code of customer",
            "nullable": true
          },
          "name": {
            "maxLength": 255,
            "minLength": 3,
            "type": "string",
            "description": "Name",
            "nullable": true
          },
          "type": {
            "enum": [
              "Citizen",
              "LegalEntity"
            ],
            "type": "string",
            "description": "Type of customer"
          }
        },
        "additionalProperties": false
      },
      "Sector": {
        "enum": [
          "Public",
          "Private",
          "Corporate",
          "Others",
          "NoInformation",
          "UnrelatedPersonsLegalEntities"
        ],
        "type": "string"
      },
      "SimulateGetAuthenticationDevicesRequest": {
        "required": [
          "acsVersion",
          "authenticationType",
          "panToken",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "dsTransactionId": {
            "type": "string",
            "description": "Transaction identifier for Directory Service (DS)",
            "nullable": true
          },
          "acsVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Access Control Server version"
          },
          "panToken": {
            "minLength": 1,
            "type": "string",
            "description": "PAN Token of the card associated with \r\nthe transaction (should be used to identify \r\nthe card holder and the list of his devices)"
          },
          "authenticationType": {
            "minLength": 1,
            "type": "string",
            "description": "Type of authentication requested\r\nValid values are \"OobPush\", \"SmsMac\", \"SmsMacPin\", \r\n\"MobileTokenQr\", \"HardwareTokenQr\", \"MobileTokenMac\" \r\nand \"HardwareTokenMac\""
          }
        },
        "additionalProperties": false,
        "description": "Request for simulate get of auth devices on affiliate"
      },
      "SimulateGetTransactionRiskLevelRequest": {
        "required": [
          "acquirerMerchantId",
          "acsVersion",
          "merchantFraudRate",
          "merchantName",
          "panToken",
          "purchaseAmount",
          "purchaseCurrency",
          "purchaseExponent",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "dsTransactionId": {
            "type": "string",
            "description": "Transaction identifier for Directory Service (DS)",
            "nullable": true
          },
          "acsVersion": {
            "minLength": 1,
            "type": "string",
            "description": "Access Control Server version"
          },
          "panToken": {
            "minLength": 1,
            "type": "string",
            "description": "PAN Token of the card associated with \r\nthe transaction (should be used to identify \r\nthe card holder and the list of his devices)"
          },
          "merchantName": {
            "minLength": 1,
            "type": "string",
            "description": "Name of the merchant assigned by acquirer"
          },
          "purchaseAmount": {
            "minLength": 1,
            "type": "string",
            "description": "Purchase amount in minor units of currency with all \r\npunctuation removed (ex. 15.34€ => \"1534\"). This value \r\nshould be used in conjunction with \"PurchaseExponent\" in \r\norder to calculate number of decimal for puntuation"
          },
          "purchaseExponent": {
            "type": "integer",
            "description": "Required if purchase amount is present. Minor units of \r\ncurrency as specified in the ISO-4217 currency exponent.\r\nFor Euro the value should be 2 (=> 10^2 = 100 cents in 1 Euro).",
            "format": "int32"
          },
          "purchaseCurrency": {
            "minLength": 1,
            "type": "string",
            "description": "Currency in which purchase amount is expressed. \r\nISO 4217 three-digit currency code. Three (3) \r\nnumerical characters. (ex. \"978\"=>\"EUR\", \"826\"=>\"GBP\", \r\n\"840\"=>\"USD\", \"392\"=>\"JPY\")"
          },
          "acquirerMerchantId": {
            "minLength": 1,
            "type": "string",
            "description": "Acquirer-assigned merchant identifier"
          },
          "messageCategory": {
            "type": "string",
            "description": "Identifies the category of the message, using 2 \r\ndigits, for a specific use case (defined with ACS setup)",
            "nullable": true
          },
          "merchantFraudRate": {
            "type": "integer",
            "description": "Merchant fraud rate in bps taking into account all \r\nMerchant sites and card volumes, calculated as per \r\nPSD2 RTS Article 19.",
            "format": "int32"
          },
          "threeRiIndicator": {
            "type": "string",
            "description": "Indicates the type of 3RI request. \r\nPossible values:\r\n01 = Recurring transaction,\r\n02 = Installment transaction,\r\n03 = Add card,\r\n04 = Maintain card information,\r\n05 = Account verification,\r\n06 = Split/delayed shipment,\r\n07 = Top-up,\r\n08 = Mail Order,\r\n09 = Telephone Order,\r\n10 = Whitelist status check,\r\n11 = Other payment",
            "nullable": true
          },
          "whitelistStatus": {
            "type": "string",
            "description": "Field indicating whether cardholder requested \r\nmerchant's whitelisting. Values accepted: \"Y\", \"N\"",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for simulate calculation of risk level on affiliate"
      },
      "SimulateOutgoingClearingMultischemeRequest": {
        "required": [
          "clearingDate",
          "issuerKey",
          "transactions"
        ],
        "type": "object",
        "properties": {
          "issuerKey": {
            "minLength": 1,
            "type": "string",
            "description": "Key of issuer for processing"
          },
          "clearingDate": {
            "type": "string",
            "description": "Date of the clearing",
            "format": "date"
          },
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimulateOutgoingClearingMultischemeTransactionRequest"
            },
            "description": "List of transaction to be included \r\nin the clearing file."
          }
        },
        "additionalProperties": false,
        "description": "Request used for simulate the generation of one outgoing clearing file"
      },
      "SimulateOutgoingClearingMultischemeTransactionRequest": {
        "type": "object",
        "properties": {
          "cardId": {
            "type": "string",
            "description": "Identifier of target card",
            "format": "uuid"
          },
          "src": {
            "type": "string",
            "description": "Transaction source: \r\nCHG (file), \r\nMAN(manual through UI)",
            "nullable": true
          },
          "crdSettSch": {
            "type": "string",
            "description": "Card settlement schema:\r\n0 (On-us)\r\n1 (Diners)\r\n2 (Discover)\r\n3 (Mastercard)\r\n4 (Visa)",
            "nullable": true
          },
          "trxSrc": {
            "type": "string",
            "description": "Transaction channel:\r\nM (Manual), \r\nP (POS), \r\nA (ATM), \r\nI (E-commerce/Internet)",
            "nullable": true
          },
          "authCde": {
            "type": "string",
            "description": "Authorisation code / \r\nApproval code / \r\nAuthorisation number \r\n(acquirer provided).",
            "nullable": true
          },
          "matFla": {
            "type": "string",
            "description": "Matching designator:\r\nM (Matched)\r\nU (Un Matched)\r\nR (Rejected)\r\nB (Manual Reversal)",
            "nullable": true
          },
          "rejRes": {
            "type": "string",
            "description": "Rejection reason (if \"MatFla\" is \"R\")",
            "nullable": true
          },
          "matAuthId": {
            "type": "string",
            "description": "Transaction id for approved transactions",
            "nullable": true
          },
          "clrId": {
            "type": "string",
            "description": "Card Processor clearing identifier",
            "nullable": true
          },
          "schTrxId": {
            "type": "string",
            "description": "Schema transaction identifier",
            "nullable": true
          },
          "rrn": {
            "type": "string",
            "description": "Retrieval Reference Number",
            "nullable": true
          },
          "acqRef": {
            "type": "string",
            "description": "Acquirer Reference Number",
            "nullable": true
          },
          "fwdIssId": {
            "type": "string",
            "description": "Sending Institution Identification",
            "nullable": true
          },
          "mid": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "midName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "midCity": {
            "type": "string",
            "description": "Merchant city",
            "nullable": true
          },
          "midCou": {
            "type": "string",
            "description": "Merchant country",
            "nullable": true
          },
          "tid": {
            "type": "string",
            "description": "Terminal identifier",
            "nullable": true
          },
          "mcc": {
            "type": "string",
            "description": "Merchant classification code",
            "nullable": true
          },
          "entMod": {
            "type": "string",
            "description": "Card Input Data Method\r\n0 (Unknown or unspecified) \r\n1 (Manual) \r\n2 (Magstripe) \r\n3 (Barcode) \r\n4 (OCR) \r\n5 (Chip) \r\n6 (Key entry) \r\n7 (Contactless chip) \r\n8 (Contacltess magstripe) \r\n9 (Chip fallback) \r\n10 (Credentials on file) \r\n102 (Chip fallback)",
            "nullable": true
          },
          "ffi": {
            "type": "string",
            "description": "Financial Flow Flag:\r\nD (Debit) \r\nR (Debit Reversal (storno of D)) \r\nC (Credit) \r\nX (Credit Reversal (storno of C))",
            "nullable": true
          },
          "revInd": {
            "type": "string",
            "description": "Identifies a message as a reversal:\r\nN (Normal transaction) \r\nR (Reversal) \r\nB (Manual reversal)",
            "nullable": true
          },
          "revOrigDt": {
            "type": "string",
            "description": "Reversal original date (only for reversal \r\ntransactions, in format YYMMDD)",
            "nullable": true
          },
          "trxCde": {
            "type": "string",
            "description": "Transaction type code\r\n0 (Purchase) \r\n1 (ATM Withdrawal) \r\n17 (Cash advance) \r\n20 (Refund/Credit/Payment) \r\n30 (Balance Inquiry) \r\n91 (PIN Unblock) \r\n92 (PIN Change) \r\n107 (Transfer to Account (MoneySend)) \r\n108 (Transfer from Account (MoneySend)) \r\n201 (ATM Withdrawal (credit)) \r\n217 (Cash advance (credit)) \r\n999 (Other)",
            "nullable": true
          },
          "origTrxDt": {
            "type": "string",
            "description": "Original transaction date when the purchase / \r\ncash withdrawal / fund transfer was executed\r\n(in format \"YYMMDD\")",
            "nullable": true
          },
          "origTrxAmt": {
            "type": "number",
            "description": "Original transaction amount (ex. in GBP)",
            "format": "double"
          },
          "origTrxCur": {
            "type": "string",
            "description": "Original transaction currency",
            "nullable": true
          },
          "origTrxId": {
            "type": "string",
            "description": "Identifier of original reversed transaction. \r\nOnly present for reversal transactions.",
            "nullable": true
          },
          "billAmt": {
            "type": "number",
            "description": "Billed amount for transaction (in EUR)",
            "format": "double",
            "nullable": true
          },
          "billCur": {
            "type": "string",
            "description": "Billing currency (ex. EUR)",
            "nullable": true
          },
          "feeFfi": {
            "type": "string",
            "description": "Financial Flow Flag \r\n(populated by Card Processor)\r\nD (Debit) \r\nR (Debit Reversal (storno of D)) \r\nC (Credit) \r\nX (Credit Reversal (storno of C))",
            "nullable": true
          },
          "icFeeAmt": {
            "type": "number",
            "description": "Interchange fee amount in transaction currency",
            "format": "double",
            "nullable": true
          },
          "icFeeCur": {
            "type": "string",
            "description": "Interchange fee currency",
            "nullable": true
          },
          "icFeeFfi": {
            "type": "string",
            "description": "Interchange Financial Flow flag\r\nD (Debit) \r\nR (Debit Reversal (storno of D)) \r\nC (Credit) \r\nX (Credit Reversal (storno of C))",
            "nullable": true
          },
          "schProcDt": {
            "type": "string",
            "description": "Scheme processing or submitted date (YYMMDD)",
            "nullable": true
          },
          "procTs": {
            "type": "string",
            "description": "Timestamp of clearing processed on \r\nCard Processor Portal system",
            "format": "date-time"
          },
          "trxTs": {
            "type": "string",
            "description": "Timestamp of authorization (O2I)",
            "format": "date-time",
            "nullable": true
          },
          "trxId": {
            "type": "string",
            "description": "Transaction identifier",
            "nullable": true
          },
          "settDt": {
            "type": "string",
            "description": "Settlement date (format YYMMDD)",
            "nullable": true
          },
          "recAmt": {
            "type": "number",
            "description": "Reconciliation amount",
            "format": "double",
            "nullable": true
          },
          "recCur": {
            "type": "string",
            "description": "Reconciliation currency",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for single transaction to be included in the outgoing clearing file simulation"
      },
      "SimulateOutgoingFeeMultischemeRecordRequest": {
        "type": "object",
        "properties": {
          "cardId": {
            "type": "string",
            "description": "Identifier of target card",
            "format": "uuid"
          },
          "src": {
            "type": "string",
            "description": "Fee origin: \r\nBAT (dCosmos batch)\r\nCHG(file)\r\nMAN(manual through UI)\r\nRPR (reprocessed rejected fee)",
            "nullable": true
          },
          "crdSettSch": {
            "type": "string",
            "description": "Card settlement schema:\r\n0 (On-us)\r\n1 (Diners)\r\n2 (Discover)\r\n3 (Mastercard)\r\n4 (Visa)",
            "nullable": true
          },
          "feeType": {
            "type": "string",
            "description": "Fee type (only present for fees \r\nwith \"BAT\" or \"MAN\" source.",
            "nullable": true
          },
          "feeTarCde": {
            "type": "string",
            "description": "Fee tariff code (only present for fees \r\nwith \"BAT\" or \"MAN\" source.",
            "nullable": true
          },
          "feeCde": {
            "type": "string",
            "description": "Fee code (only present for fees \r\nwith \"BAT\" or \"MAN\" source.",
            "nullable": true
          },
          "feeProf": {
            "type": "string",
            "description": "Fee profile code",
            "nullable": true
          },
          "vcnTok": {
            "type": "string",
            "description": "VCN service token",
            "nullable": true
          },
          "vcnReq": {
            "type": "string",
            "description": "VCN service token requestorId",
            "nullable": true
          },
          "matFla": {
            "type": "string",
            "description": "Matching designator:\r\nU (Un-Matched), \r\nR (Rejected), \r\nB (Manual Reversal)",
            "nullable": true
          },
          "rejRes": {
            "type": "string",
            "description": "Rejection reason:\r\nC01 (Card exists but is not active) \r\nC02 (Wrong BIN) \r\nC03 (Wrong card / Card or account doesn’t exist) \r\nC04 (Card exists but is expired) \r\nT01 (Reconciliation amount empty / not populated) \r\nT02 (Original amount zero) \r\nT03 (Transaction date invalid or presented in wrong format) \r\nT04 (Wrong destination)",
            "nullable": true
          },
          "schTrxId": {
            "type": "string",
            "description": "Schema unique transaction id",
            "nullable": true
          },
          "acqRef": {
            "type": "string",
            "description": "Acquirer reference number",
            "nullable": true
          },
          "fwdIssId": {
            "type": "string",
            "description": "Sending Institution Identification Code",
            "nullable": true
          },
          "ffi": {
            "type": "string",
            "description": "Financial flow flag:\r\nD (Debit),\r\nR (Debit Reversal (storno of D)), \r\nC (Credit), \r\nX (Credit Reversal (storno of C))",
            "nullable": true
          },
          "revInd": {
            "type": "string",
            "description": "Reversal indicator:\r\nN (Normal fee transaction), \r\nR (Reversal), \r\nB (Manual fee reversal)",
            "nullable": true
          },
          "revOrigDt": {
            "type": "string",
            "description": "Original transaction date for \r\nreversal (format YYMMDD)",
            "nullable": true
          },
          "feeDesc": {
            "type": "string",
            "description": "Fee description",
            "nullable": true
          },
          "feeAmt": {
            "type": "number",
            "description": "Fee amount",
            "format": "double"
          },
          "feeDt": {
            "type": "string",
            "description": "Fee date (format YYMMDD)",
            "nullable": true
          },
          "feeCur": {
            "type": "string",
            "description": "Fee currency",
            "nullable": true
          },
          "recAmt": {
            "type": "number",
            "description": "Reconciliation amount",
            "format": "double",
            "nullable": true
          },
          "recCur": {
            "type": "string",
            "description": "Reconciliation currency",
            "nullable": true
          },
          "schProcDt": {
            "type": "string",
            "description": "Schema processing \r\ndate (format YYMMDD)",
            "nullable": true
          },
          "settDt": {
            "type": "string",
            "description": "Settlement date (format YYMMDD)",
            "nullable": true
          },
          "procTs": {
            "type": "string",
            "description": "Processing timestamp",
            "format": "date-time"
          },
          "feeId": {
            "type": "string",
            "description": "Fee unique identifier",
            "nullable": true
          },
          "origId": {
            "type": "string",
            "description": "Original identifier (if fee is \r\nrelated with another one)",
            "nullable": true
          },
          "cycId": {
            "type": "string",
            "description": "Cycle identifier in which \r\nfee is posted",
            "nullable": true
          },
          "cycNr": {
            "type": "number",
            "description": "Cycle number in which \r\nfee is posted",
            "format": "double",
            "nullable": true
          },
          "postTy": {
            "type": "string",
            "description": "Posting type",
            "nullable": true
          },
          "manRef": {
            "type": "string",
            "description": "Manual reference (for manual transactions)",
            "nullable": true
          },
          "matDt": {
            "type": "string",
            "description": "Maturity date (format YYMMDD)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for single record to be included in the outgoing fee file simulation"
      },
      "SimulateOutgoingFeeMultischemeRequest": {
        "required": [
          "clearingDate",
          "issuerKey",
          "records"
        ],
        "type": "object",
        "properties": {
          "issuerKey": {
            "minLength": 1,
            "type": "string",
            "description": "Key of issuer for processing"
          },
          "clearingDate": {
            "type": "string",
            "description": "Date of the clearing",
            "format": "date"
          },
          "records": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SimulateOutgoingFeeMultischemeRecordRequest"
            },
            "description": "List of transaction to be included \r\nin the clearing file."
          }
        },
        "additionalProperties": false,
        "description": "Request used for simulate the generation of one outgoing fee file"
      },
      "SimulatePushOnlineToIssuerAdviceRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for simulate a transaction \"Advice\" on O2I process"
      },
      "SimulatePushOnlineToIssuerAdviceResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after simulation of push of transaction \r\n\"Advice\" on O2I process to affiliate"
      },
      "SimulatePushOnlineToIssuerAuthorizationRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for simulate a transaction \"authorize\" on O2I process"
      },
      "SimulatePushOnlineToIssuerAuthorizationResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after simulation of push of transaction \r\n\"authorization\" on O2I process to affiliate"
      },
      "SimulatePushOnlineToIssuerInquiryRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for simulate a transaction \"Inquiry\" on O2I process"
      },
      "SimulatePushOnlineToIssuerInquiryResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after simulation of push of transaction \r\n\"Inquiry\" on O2I process to affiliate"
      },
      "SimulatePushOnlineToIssuerReversalRequest": {
        "required": [
          "cardScheme",
          "cardToken",
          "transactionId",
          "type"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "minLength": 1,
            "type": "string",
            "description": "Unique transaction id provided by Card Processor"
          },
          "refTransactionId": {
            "type": "string",
            "description": "Reference to a transaction previously \r\nprocessed (provided only if available)",
            "nullable": true
          },
          "transactionDateTime": {
            "type": "string",
            "description": "Date/time when transaction is performed",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "description": "Date/time when transaction is processed by Card Processor",
            "format": "date-time",
            "nullable": true
          },
          "transactionAmount": {
            "type": "number",
            "description": "Original transaction amount",
            "format": "double",
            "nullable": true
          },
          "transactionCurrency": {
            "type": "integer",
            "description": "Original transaction currency (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "billingAmount": {
            "type": "number",
            "description": "Converted amount beeing charged",
            "format": "double",
            "nullable": true
          },
          "billingCurrency": {
            "type": "integer",
            "description": "Converted currency being charged (ISO 4217)",
            "format": "int32",
            "nullable": true
          },
          "terminalId": {
            "type": "string",
            "description": "Terminal identifier (when available)",
            "nullable": true
          },
          "mcc": {
            "type": "integer",
            "description": "Merchant Category Code",
            "format": "int32",
            "nullable": true
          },
          "merchantId": {
            "type": "string",
            "description": "Merchant identifier",
            "nullable": true
          },
          "merchantName": {
            "type": "string",
            "description": "Merchant name",
            "nullable": true
          },
          "merchantStreet": {
            "type": "string",
            "description": "Merchant street (when available)",
            "nullable": true
          },
          "merchantCity": {
            "type": "string",
            "description": "Merchant city (when available)",
            "nullable": true
          },
          "merchantZip": {
            "type": "string",
            "description": "Merchant ZIP (when available)",
            "nullable": true
          },
          "merchantCountry": {
            "type": "integer",
            "description": "Merchant county (ISO 3166-1, when available)",
            "format": "int32",
            "nullable": true
          },
          "cardToken": {
            "minLength": 1,
            "type": "string",
            "description": "Unique card identifier. Will be generated \r\nby CMS through card creation API. The structure \r\nis as follows: 6 numbers BIN + token number + last \r\n4 PAN digits"
          },
          "authorizationCode": {
            "type": "string",
            "description": "6-digit authorization code, set by Card \r\nProcessor when transaction passed all \r\nrequired checks. Included only with \r\nsuccessful transactions",
            "nullable": true
          },
          "cardScheme": {
            "type": "integer",
            "description": "Scheme for Card:\r\n1 - Diners\r\n2 - Discover\r\n3 - Mastercard\r\n4 - Visa",
            "format": "int32"
          },
          "type": {
            "type": "integer",
            "description": "Type of transaction\r\n0 - Purchase\r\n1 - ATM Withdrawal \r\n6 - Card verification - inquiry \r\n17 - Cash advance \r\n20 - Refund/Credit/Payment \r\n30 - Balance Inquiry on ATM\r\n91 - PIN Unblock - info \r\n92 - PIN Change - info\r\n101 - Preauthorization (Mastercard only)\r\n102 - Preauthorization Incremental (Mastercard only)\r\n103 - Preauthorization Completion (Mastercard only)\r\n107 - Transfer to Account (MoneySend) (Mastercard only)\r\n108 - Transfer from Account (MoneySend) (Mastercard only)",
            "format": "int32"
          },
          "stan": {
            "type": "string",
            "description": "Transaction incremental number, provided by \r\nMastercard, Diners International or Visa \r\nnetwork. Provides an additional reference \r\nto original transaction",
            "nullable": true
          },
          "source": {
            "type": "string",
            "description": "Transaction source\r\nM - Manual\r\nP - POS\r\nA - ATM\r\nI - E-commerce (Internet)",
            "nullable": true
          },
          "entryMode": {
            "type": "integer",
            "description": "Entry mode, method used to enter \r\ncard number\r\n0 - Unknown or unspecified\r\n1 - Manual\r\n2 - Magstripe\r\n3 - Barcode\r\n5 - Chip\r\n6 - Key entry\r\n7 - Contactless Chip\r\n9 - Chip fallback\r\n10 - Credentials on file",
            "format": "int32",
            "nullable": true
          },
          "authentication": {
            "type": "integer",
            "description": "Authentication\r\n0 - Transaction has not been authenticated\r\n1 - Transaction has been authenticated \r\n2 - Transaction authentication has been attempted. \r\n    Attempt can be made by the card network or \r\n    merchant",
            "format": "int32",
            "nullable": true
          },
          "authenticationProtocol": {
            "type": "integer",
            "description": "Authentication protocol\r\n0 - Not applicable\r\n1 - 3DS Version 1\r\n2 - 3DS Version 2 or higher",
            "format": "int32",
            "nullable": true
          },
          "scaExemption": {
            "type": "integer",
            "description": "SCA Exemption\r\n0 - Not requestes\r\n1 - Merchant Initiated Transaction \r\n2 - Acquirer Low-Fraud and Transaction Risk Analysis\r\n3 - Low-Value Payment\r\n4 - Strong Customer Authentication (SCA) Delegation\r\n5 - Secure Corporate Payment\r\n6 - Trusted Merchant Exemption",
            "format": "int32",
            "nullable": true
          },
          "virtualCardNumberId": {
            "type": "string",
            "description": "Virtual Card Number ID, provided by Card \r\nProcessor \"Card Virtualization System\" (CVS).\r\nProvided only for card virtualized by CVS",
            "nullable": true
          },
          "wallet": {
            "type": "integer",
            "description": "Wallet Provider\r\n0 - None\r\n1 - Apple Pay\r\n2 - Google Pay\r\n3 - Samsung Pay\r\n4 - Garmin Pay\r\n5 - FitBit Pay\r\n10 - M4M (Merchant for Merchant)",
            "format": "int32",
            "nullable": true
          },
          "pin": {
            "type": "integer",
            "description": "PIN: Card present transaction \r\nauthentication indicator\r\n1 - Not performed\r\n2 - Passed\r\n3 - Failed",
            "format": "int32",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code set by Card Processor. If \r\nsuccess Issuer can change the authorization \r\nusing response status",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for simulate a transaction \"Reversal\" on O2I process"
      },
      "SimulatePushOnlineToIssuerReversalResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction identifier (the same id received in request)",
            "nullable": true
          },
          "responseCode": {
            "type": "string",
            "description": "Response code for confirm or deny action (ex. \"OK\")",
            "nullable": true
          },
          "availableBalance": {
            "type": "number",
            "description": "Balance available on bank account",
            "format": "double",
            "nullable": true
          },
          "accountCurrency": {
            "type": "integer",
            "description": "Account currency using (ISO 4217, ex. EUR = 978)",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response received after simulation of push of transaction \r\n\"Reversal\" on O2I process to affiliate"
      },
      "SimulateRaiseOobAuthenticationRequest": {
        "required": [
          "acsVersion",
          "deviceId",
          "dsTransactionId",
          "merchantAppUrl",
          "transactionData",
          "transactionId"
        ],
        "type": "object",
        "properties": {
          "transactionId": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Access Control Server (ACS)"
          },
          "dsTransactionId": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Transaction identifier for Directory Service (DS)"
          },
          "acsVersion": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Access Control Server version"
          },
          "deviceId": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Identifier of the device that should \r\nreceive the request for authentication"
          },
          "merchantAppUrl": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "The URL of the merchant application that should be \r\ncalled by the authentication application once the \r\ncardholder completes the OOB authentication. This \r\nparameter will be present if it is received by the \r\nACS in the CReq (Challenge Request) message"
          },
          "transactionData": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RaiseOobAuthenticationTransactionDataRequest"
              }
            ],
            "description": "Details of transaction"
          }
        },
        "additionalProperties": false,
        "description": "Request for simulate raise oob auth on affiliate"
      },
      "ThreeDSecureProcessResponse": {
        "required": [
          "cardId",
          "createdAtUtc",
          "id",
          "status",
          "transactionId",
          "updatedAtUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Transaction identifier (primary key, coincides with the 3DS TransactionId)",
            "format": "uuid"
          },
          "transactionId": {
            "type": "string",
            "description": "3DS transaction identifier",
            "nullable": true
          },
          "cardId": {
            "type": "string",
            "description": "External card identifier",
            "format": "uuid"
          },
          "status": {
            "type": "string",
            "description": "Current lifecycle status of the 3DS process",
            "nullable": true
          },
          "createdAtUtc": {
            "type": "string",
            "description": "UTC timestamp of first creation",
            "format": "date-time"
          },
          "updatedAtUtc": {
            "type": "string",
            "description": "UTC timestamp of last update",
            "format": "date-time"
          },
          "diagnosticData": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            },
            "description": "Aggregated diagnostic JSON payloads keyed by status step name",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response representing a single 3DS diagnostic process record"
      },
      "ThreeDSecureProcessResponsePaginatedDataResponse": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "limitCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ThreeDSecureProcessResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ThreeDSecureProcessStatus": {
        "enum": [
          "RiskRequested",
          "RiskReceived",
          "DevicesRequested",
          "DevicesReceived",
          "NotificationRequested",
          "NotificationReceived",
          "Authorized",
          "Declined"
        ],
        "type": "string",
        "description": "Lifecycle status of a 3DS process"
      },
      "TokenResponse": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "A string representing the JWT",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the authentication response containing the security token \r\nrequired to authorize subsequent API requests."
      },
      "UpdateAccountRequest": {
        "type": "object",
        "properties": {
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "Reference on external system (optional)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request for update an account"
      },
      "UpdateAddressRequest": {
        "required": [
          "city",
          "countryCode",
          "externalReference",
          "line1",
          "type",
          "zipCode"
        ],
        "type": "object",
        "properties": {
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AddressType"
              }
            ],
            "description": "Type of Address"
          },
          "countryCode": {
            "type": "string",
            "description": "CountryCode ISO 3166-1 alpha-3",
            "nullable": true
          },
          "line1": {
            "type": "string",
            "description": "Address line 1",
            "nullable": true
          },
          "line2": {
            "type": "string",
            "description": "Address line 2",
            "nullable": true
          },
          "line3": {
            "type": "string",
            "description": "Address line 3",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Address City",
            "nullable": true
          },
          "postOffice": {
            "type": "string",
            "description": "Address post office",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "description": "Address zip code",
            "nullable": true
          },
          "province": {
            "type": "string",
            "description": "Address Province",
            "nullable": true
          },
          "externalReference": {
            "type": "string",
            "description": "External Reference",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCardRequest": {
        "type": "object",
        "properties": {
          "barCode": {
            "maxLength": 255,
            "type": "string",
            "description": "Barcode associated with card",
            "nullable": true
          },
          "financialReference": {
            "maxLength": 255,
            "type": "string",
            "description": "Financial reference connected with card\r\n(can ben wallet identifier, or an account identifier)",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "Reference on external system (optional)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for updating a card"
      },
      "UpdateCommunicationChannelRequest": {
        "type": "object",
        "properties": {
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationStatus"
              }
            ],
            "description": "channel status"
          },
          "value": {
            "type": "string",
            "description": "channel value",
            "nullable": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunicationType"
              }
            ],
            "description": "channel type"
          },
          "externalReference": {
            "type": "string",
            "description": "External Reference",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCustomerRequest": {
        "required": [
          "citizen",
          "code",
          "legalEntity",
          "type"
        ],
        "type": "object",
        "properties": {
          "citizen": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Citizen"
              }
            ],
            "description": "Citizen data (required only when Type \"Citizen\")"
          },
          "legalEntity": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LegalEntity"
              }
            ],
            "description": "LegalEntity data (required only when Type \"LegalEntity\")"
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerType"
              }
            ],
            "description": "Type of customer (\"Citizen\" or \"LegalEntity\")"
          },
          "code": {
            "maxLength": -1,
            "minLength": 3,
            "type": "string",
            "description": "Unique code of customer"
          },
          "externalReference": {
            "maxLength": 255,
            "type": "string",
            "description": "External reference",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request used for update a card customer"
      }
    }
  },
  "tags": [
    {
      "name": "Account"
    },
    {
      "name": "Addresses"
    },
    {
      "name": "Affiliates"
    },
    {
      "name": "Cards"
    },
    {
      "name": "CardTransactions"
    },
    {
      "name": "Clearings"
    },
    {
      "name": "CommunicationChannels"
    },
    {
      "name": "Customers"
    },
    {
      "name": "Diagnostics"
    },
    {
      "name": "Documentations"
    },
    {
      "name": "Forcing"
    },
    {
      "name": "Simulations"
    },
    {
      "name": "ThreeDSecureProcesses"
    },
    {
      "name": "Token"
    }
  ]
}