{
    "openapi": "3.0.0",
    "info": {
        "title": "Antaca Api Customer Documentation",
        "description": "\n\nThis documentation describes the capabilities of ANTACA API related to\naccount maintenance and card issuing. </br>\n\n</br>\n</br>\nAntaca has been designed to meet the Mastercard requirements of the\nDigital First program, which contains guidelines for payment and e-banking applications to maintain the highest level of security, convenience\nof use in terms of accessibility and payment solutions from the level of the\ntelephone and other devices.\n</br>\nThe standard flow for user → registration → KYC application → automatic\naccount creation → automatic creation of a virtual card, after which he\ngets the possibility to fully manage his card, view its data or pay online\n\n##  Application Events\nEvents are on dedicated exchange, eg. quicko-prepaid-api\n| Routing            | Payload          |\n|--------------------|------------------|\n| thc_record.created | {\"id\\\":2958}   |\n|                    |                  |\n\n## HTTP Headers\n\n### Request Headers\n\n| Header | Type | Description |\n|:-------|:-----|:------------|\n| `Application-Id` | String | Identifier of the application calling the API. |\n| `X-B3-TraceId` | String | Trace identifier for distributed logging (Zipkin/B3). |\n| `X-B3-SpanId` | String | Span identifier for distributed logging. |\n| `Encrypted-Request` | Boolean | Informs the API that the request body (payload) is encrypted in JWE format. |\n| `Encrypt-Response` | Boolean | Informs the API whether the response should be encrypted before sending. |\n| `Public-Key` | String | Client's public key (base64-encoded PEM) used by the API to encrypt the response. |\n| `Authorization` | String | Authorization header using Bearer token. |\n| `Accept-Language` | String | Preferred language for the response. |\n| `Content-Type` | String | Content type of the sent request. |\n| `Accept` | String | Specifies the response format. |\n\n### Response Headers\n\n| Header | Description |\n|:-------|:------------|\n| `X-B3-TraceId` | Returned trace identifier associated with the request. |\n| `X-B3-SpanId` | Returned span identifier associated with the request. |\n| `Access-Control-*` | CORS (Cross-Origin Resource Sharing) headers. |\n| `Content-Type` | Response content type (usually `application/json`). |\n",
        "version": "1.0.0"
    },
    "paths": {
        "/customers/me/balances/{balanceId}/limits": {
            "get": {
                "tags": [
                    "Customer Balances"
                ],
                "summary": "Get all limits of a balance",
                "operationId": "3e34075c60662a796c9098e17199fb30",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BalanceLimitCollection"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Balance not found"
                    }
                }
            },
            "post": {
                "tags": [
                    "Customer Balances"
                ],
                "summary": "Add limit for balance",
                "description": "Allows to add a balance usage limit. Available types: CASH_IN (limit for incoming transactions), CASH_OUT (limit for outgoing transactions).",
                "operationId": "8bca42980278dc1119dd91e9d0290832",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "type",
                                    "maxAmount",
                                    "period"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "enum": [
                                            "CASH_IN",
                                            "CASH_OUT"
                                        ],
                                        "example": "CASH_IN"
                                    },
                                    "maxAmount": {
                                        "type": "integer",
                                        "example": 50000
                                    },
                                    "period": {
                                        "type": "string",
                                        "enum": [
                                            "DAILY",
                                            "WEEKLY",
                                            "MONTHLY"
                                        ],
                                        "example": "MONTHLY"
                                    },
                                    "expiration": {
                                        "type": "string",
                                        "format": "date",
                                        "example": "2099-12-24"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BalanceLimitResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Balance not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "CUSTOMER_BALANCE_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Limit of given type and period already exists",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "examples": {
                                    "limit already exists": {
                                        "summary": "LIMIT_ALREADY_EXISTS",
                                        "value": {
                                            "status": "LIMIT_ALREADY_EXISTS"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation error"
                    }
                }
            }
        },
        "/customers/me/balances/{balanceId}/limits/{limitId}": {
            "get": {
                "tags": [
                    "Customer Balances"
                ],
                "summary": "Get specific balance limit",
                "operationId": "dd85d48523ce84e7956a1e7ac675795f",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "limitId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BalanceLimitResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Balance or limit not found"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Customer Balances"
                ],
                "summary": "Delete balance limit",
                "operationId": "ec1d2c69f48346e255a4b7a23b8446d3",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "limitId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Balance not found"
                    }
                }
            },
            "patch": {
                "tags": [
                    "Customer Balances"
                ],
                "summary": "Update balance limit",
                "operationId": "6f5fd8fde19f7169bb05029a1ae91828",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "limitId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "maxAmount": {
                                        "type": "integer",
                                        "example": 100000
                                    },
                                    "expiration": {
                                        "type": "string",
                                        "format": "date",
                                        "nullable": true
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Balance or limit not found"
                    },
                    "422": {
                        "description": "Validation error"
                    }
                }
            }
        },
        "/customers/me/balances": {
            "get": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Get customer balances",
                "operationId": "getCustomerBalances",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/CustomerBalanceEntity"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomerNotFound"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Create customer balance",
                "operationId": "createCustomerBalance",
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "currency": {
                                        "description": "Valid three letter ISO 4217 currency code.",
                                        "type": "string",
                                        "example": "PLN"
                                    },
                                    "description": {
                                        "description": "Name of balance",
                                        "type": "string",
                                        "example": "My account",
                                        "nullable": "true"
                                    },
                                    "dcCorporationId": {
                                        "description": "Corporation id",
                                        "type": "string",
                                        "example": "a9145c81-71ad-4ad6-a75d-d2001decb2e9",
                                        "nullable": "true"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomerBalanceBrief"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomerNotFound"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "InvalidCurrency": {
                                        "$ref": "#/components/examples/InvalidCurrency"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/balances/{balanceId}": {
            "get": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Get customer balance",
                "operationId": "getCustomerBalance",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "description": "Id of balance",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomerBalanceEntity"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotFound": {
                                        "$ref": "#/components/examples/CustomerBalanceNotFound"
                                    },
                                    "CustomerNotFound": {
                                        "$ref": "#/components/examples/CustomerNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Delete customer balance",
                "operationId": "deleteCustomerBalance",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "description": "Id of balance",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid",
                            "example": "3dc88ad5-7053-454b-bcb8-e067c436f17d"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotFound": {
                                        "$ref": "#/components/examples/CustomerBalanceNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotCleared": {
                                        "$ref": "#/components/examples/CustomerBalanceNotCleared"
                                    },
                                    "LastCustomerBalanceLeft": {
                                        "$ref": "#/components/examples/LastCustomerBalanceLeft"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Update customer balance",
                "operationId": "updateCustomerBalance",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "description": "Id of balance",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "description": {
                                        "description": "Name of balance",
                                        "type": "string",
                                        "example": "My account",
                                        "nullable": "true"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "NoContent"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotFound": {
                                        "$ref": "#/components/examples/CustomerBalanceNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/currency_balance_limits": {
            "get": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Get currency balance limits for the current customer",
                "description": "This endpoint is proxied from Antacacore.",
                "operationId": "getCustomerCurrencyBalanceLimits",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                },
                                "example": {
                                    "EUR": 1
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/balances/{id}/shares": {
            "patch": {
                "tags": [
                    "Customer Balance"
                ],
                "summary": "Share balance with another user",
                "operationId": "6aad6ceb550faa66aa25c22bf4940a60",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Balance id",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "dcUserId": {
                                        "description": "DataCore user id",
                                        "type": "string",
                                        "example": "133"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Balance user updated successfully"
                    },
                    "403": {
                        "description": "Forbidden - user is not allowed to share this balance",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "FORBIDDEN"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "User is not allowed to share this balance."
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "FORBIDDEN"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Balance not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "CUSTOMER_BALANCE_NOT_FOUND"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "Balance not found."
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "CUSTOMER_BALANCE_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/limits": {
            "get": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Get limits of given card",
                "description": "Allows to retrieve all limits for given card",
                "operationId": "2f6043f4e67694de5b1887521ac965a5",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardLimitCollection"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Add limits for card usage",
                "description": "Allows to add card usage limit. For all kinds of limit types, properties as 'maxAmount', 'maxLimit' or 'period' should be passed in the request to make the limit work properly.\n *\nTRX_ALL - limit for every kind of transaction. With this value, at least one of parameters: 'maxAmount' or 'maxAttempts' should be passed in the request. </br>\nFor example - I want to make no more than 10 transactions for a total amount of 5000 (minor value) per month:\n *     type: TRX_ALL\n *     maxAmount: 5000\n *     maxAttempts: 10\n *     period: monthly\nTRX_E_COM - limit for e-commerce transaction. All properties as maxAmount, maxAttempts will be checked only if it is e-commerce transaction. </br>\nFor example - I want to make no more than 5 e-commerce transaction for a total amount of 1000 (minor value) per day:\n *     type: TRX_E_COM\n *     maxAmount: 1000\n *     maxAttempts: 5\n *     period: daily\nTRX_ATM - limit for atm transaction. All properties as maxAmount, maxAttempts will be checked only if it is atm transaction. </br>\nFor example - I want to make no more than 2 ATM withdrawals for a total amount of 300 (minor value) per week:\n *     type: TRX_ATM\n *     maxAmount: 300\n *     maxAttempts: 2\n *     period: weekly\nFOREIGN_AMOUNT - limit for the value of transactions made in a different currency than the currency of a card. </br>\nFor example - I want to spent no more than 200 in foreign amount per month:\n *     type: FOREIGN_AMOUNT\n *     maxAmount: 200\n *     period: monthly\nFOREIGN_QUANTITY - limit for the quantity of transactions made in different currency than the currency of a card. With this value, property 'maxAttempts' should be passed in the request. </br>\nFor example - I want to make no more than 3 transaction in foreign currency per day:\n *     type: FOREIGN_QUANTITY\n *     maxAttempts: 3\n *     period: daily\nQUANTITY - limit for transaction quantity. With this value, property 'maxAttempts' should be passed. </br>\nFor example - I want to make no more than 100 transaction per day:\n *     type: QUANTITY\n *     maxAttempts: 100\n *     period: daily\nAMOUNT_PLN - limit for value of transaction made in PLN currency. With this value, property 'maxAmount' should be passed. </br>\nFor example - I want to spent no more than 500 PLN (use the minor value in code) per week:\n *     type: AMOUNT_PLN\n *     maxAmount: 50000\n *     period: weekly\nAMOUNT_EUR - limit for value of transaction made in EUR currency. With this value, property 'maxAmount' should be passed. </br>\nFor example - I want to spent no more than 200 EUR (use the minor value in code) per month:\n *     type: AMOUNT_EUR\n *     maxAmount: 20000\n *     period: monthly\nMCC_BLACKLIST - limit for transaction made in terminal with specific merchant category code. With this value, property 'mcc_list' should be passed.\nFor example - I would not like to spend money in restaurants with this card:\n *     type: MCC_BLACKLIST\n *     mcc_list: [5812]\nMCC_WHITELIST - limit for transaction made in terminal without specific merchant category code. With this value, property 'mcc_list' should be passed.\nFor example - I would like to spend money only in restaurants with this card:\n *     type: MCC_WHITELIST\n *     mcc_list: [5812]\nMERCHANT_ID_BLACKLIST - limit for transaction made in terminal with specific merchant identifiers. With this value, property 'merchant_id_list' should be passed.\nFor example - I would not like to spend money at certain merchants with this card:\n *     type: MERCHANT_ID_BLACKLIST\n *     merchant_id_list: ['9AF3C2B1D4E5']\nMERCHANT_ID_WHITELIST - limit for transaction made in terminal without specific merchant identifiers. With this value, property 'merchant_id_list' should be passed.\nFor example - I would like to spend money at certain merchants with this card:\n *     type: MERCHANT_ID_WHITELIST\n *     merchant_id_list: ['9AF3C2B1D4E5']\n",
                "operationId": "9f49bccd653d2331f2130cc934ebc851",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "type": {
                                        "description": "Type of card limitation",
                                        "type": "string",
                                        "enum": [
                                            "TRX_ALL",
                                            "TRX_E_COM",
                                            "POS",
                                            "TRX_ATM",
                                            "FOREIGN_AMOUNT",
                                            "QUANTITY",
                                            "AMOUNT_PLN",
                                            "MCC_BLACKLIST",
                                            "MCC_WHITELIST",
                                            "AMOUNT_EUR",
                                            "MERCHANT_ID_BLACKLIST",
                                            "MERCHANT_ID_WHITELIST"
                                        ],
                                        "example": "TRX_ALL"
                                    },
                                    "maxAmount": {
                                        "description": "Maximum amount of money that can be spend by this card. Value in penny.",
                                        "type": "integer",
                                        "example": "10000000"
                                    },
                                    "maxAttempts": {
                                        "description": "Number of transaction that can be handled with this card.",
                                        "type": "integer",
                                        "example": "99"
                                    },
                                    "period": {
                                        "description": "Describes if limit is periodically. For example, if card can handle transactions for 100PLN per day, or maybe 100 transactions per week",
                                        "type": "string",
                                        "enum": [
                                            "DAILY",
                                            "WEEKLY",
                                            "MONTHLY"
                                        ],
                                        "example": "DAILY"
                                    },
                                    "expiration": {
                                        "description": "Date of card limit expiration. After that, limit will be no longer checked",
                                        "type": "string",
                                        "format": "date",
                                        "example": "2099-12-24"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardLimitResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "CARD_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "InvalidLimitParameters": {
                                        "$ref": "#/components/examples/InvalidLimitParameters"
                                    },
                                    "InvalidMaxAmount": {
                                        "$ref": "#/components/examples/InvalidMaxAmount"
                                    },
                                    "InvalidMaxAttempts": {
                                        "$ref": "#/components/examples/InvalidMaxAttempts"
                                    },
                                    "CurrencyWithTypeMismatch": {
                                        "$ref": "#/components/examples/CurrencyWithTypeMismatch"
                                    },
                                    "InvalidType": {
                                        "summary": "INVALID_TYPE",
                                        "value": {
                                            "status": "INVALID_TYPE",
                                            "errors": {
                                                "type": [
                                                    "INVALID_TYPE"
                                                ]
                                            }
                                        }
                                    },
                                    "ValidationMultiFields": {
                                        "summary": "VALIDATION",
                                        "value": {
                                            "status": "INVALID_TYPE",
                                            "errors": {
                                                "type": [
                                                    "INVALID_TYPE"
                                                ],
                                                "period": [
                                                    "INVALID_PERIOD"
                                                ],
                                                "expiration": [
                                                    "DATE_IS_INVALID"
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/limits/{limitId}": {
            "get": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Get specific card limit",
                "description": "Allows to retrieve specific limit for given card",
                "operationId": "d412823043553d18f404edcab7303b3f",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    },
                    {
                        "name": "limitId",
                        "in": "path",
                        "description": "Card limit id",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid",
                            "example": "492ec5ee-7f66-11ec-a8a3-0242ac120002"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardLimitResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    },
                                    "CardLimitNotFound": {
                                        "$ref": "#/components/examples/CardLimitNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Delete card limit",
                "description": "Allows to delete specific limit for given card",
                "operationId": "469cb630ecf04d72e3a920151831befe",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    },
                    {
                        "name": "limitId",
                        "in": "path",
                        "description": "Card limit id",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid",
                            "example": "492ec5ee-7f66-11ec-a8a3-0242ac120002"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    },
                                    "CardLimitNotFound": {
                                        "$ref": "#/components/examples/CardLimitNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Update card limit",
                "description": "Allows to update parameters of specific limit for given card",
                "operationId": "9b5cfba6c067210459b0455a7eea5b78",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    },
                    {
                        "name": "limitId",
                        "in": "path",
                        "description": "Card limit id",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid",
                            "example": "492ec5ee-7f66-11ec-a8a3-0242ac120002"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "maxAmount": {
                                        "description": "Maximum amount of money that can be spend by this card. Value in penny.",
                                        "type": "integer",
                                        "example": "10000000",
                                        "nullable": "true"
                                    },
                                    "maxAttempts": {
                                        "description": "Number of transaction that can be handled with this card.",
                                        "type": "integer",
                                        "example": "99",
                                        "nullable": "true"
                                    },
                                    "period": {
                                        "description": "Describes if limit is periodically. For example, if card can handle transactions for 100PLN per day, or maybe 100 transactions per week",
                                        "type": "string",
                                        "enum": [
                                            "DAILY",
                                            "WEEKLY",
                                            "MONTHLY"
                                        ],
                                        "example": "DAILY",
                                        "nullable": "true"
                                    },
                                    "expiration": {
                                        "description": "Date of card limit expiration. After that, limit will be no longer checked",
                                        "type": "string",
                                        "format": "date",
                                        "example": "2099-12-24",
                                        "nullable": "true"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    },
                                    "CardLimitNotFound": {
                                        "$ref": "#/components/examples/CardLimitNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "InvalidLimitParameters": {
                                        "$ref": "#/components/examples/InvalidLimitParameters"
                                    },
                                    "InvalidMaxAmount": {
                                        "$ref": "#/components/examples/InvalidMaxAmount"
                                    },
                                    "InvalidMaxAttempts": {
                                        "$ref": "#/components/examples/InvalidMaxAttempts"
                                    },
                                    "InvalidType": {
                                        "summary": "INVALID_TYPE",
                                        "value": {
                                            "status": "INVALID_TYPE",
                                            "errors": {
                                                "type": [
                                                    "INVALID_TYPE"
                                                ]
                                            }
                                        }
                                    },
                                    "ValidationMultiFields": {
                                        "summary": "VALIDATION",
                                        "value": {
                                            "status": "INVALID_TYPE",
                                            "errors": {
                                                "type": [
                                                    "INVALID_TYPE"
                                                ],
                                                "period": [
                                                    "INVALID_PERIOD"
                                                ],
                                                "expiration": [
                                                    "DATE_IS_INVALID"
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/virtual/async": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Create new virtual card assigned to customer balance. [Async Process]",
                "description": "\n## BE NOTIFIED\n- For this method is required to pass configuration **id** obtained from EP(**CustomerCards**):: <a href ='customer#/Customer Cards/693fe4951f41754056d997ad4a38f27f'>`GET /customers/me/cards/config`</a>\n- This method initialize async process to follow current status of running process and this is only required step for card creation. </br>\n- Please use this link if you want track progress of async process and want to be redirected to created resource EP(**AsyncOperation**):: <a href ='customer#/Async Operation/8d5f4eded096dd4ef99d7314e13e645a'> `GET /async_operations/{id}`</a> </br>\n- Following process is not mandatory. Card will be added anyway so you can obtain it from GET /cards endpoint further.\n",
                "operationId": "6cab119aa4bdc69e17604e1f0cccf7d9",
                "requestBody": {
                    "description": "Input data format",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "balanceId": {
                                        "description": "Customer balance id for which card should be linked",
                                        "type": "string"
                                    },
                                    "configId": {
                                        "description": "Configuration identifier obtained from method: /customers/me/cards/config",
                                        "type": "string",
                                        "example": "0013009713"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "Successful operation containing tracking url for obtaining operation status",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "IN_PROGRESS"
                                        },
                                        "tracking": {
                                            "type": "string",
                                            "example": "/async_operations/1994b43d-8962-4e6e-9c9c-b1c67636b23e"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotFound": {
                                        "$ref": "#/components/examples/CustomerBalanceNotFound"
                                    },
                                    "CustomerNotFound": {
                                        "$ref": "#/components/examples/CustomerNotFound"
                                    },
                                    "InvalidConfiguration": {
                                        "$ref": "#/components/examples/InvalidConfiguration"
                                    },
                                    "InvalidCurrency": {
                                        "$ref": "#/components/examples/InvalidCurrency"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/disposable": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Create new one-time virtual card assigned to customer balance.",
                "description": "\nIssues a virtual card with a ONE_SHOT limit — valid for a single transaction.\nAIt is deleted from the system after first use.\nNote: one-time cards cannot be used with services that require amount verification (e.g. subscriptions, Apple Pay wallet provisioning).\n     ",
                "operationId": "fafcd0ad95507af9ca249df356c0eb79",
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "balanceId": {
                                        "description": "Customer balance id for which the card should be linked",
                                        "type": "string",
                                        "example": "e1169e67-0ef3-4358-a4c2-14f793d8907c"
                                    },
                                    "configId": {
                                        "description": "Configuration identifier obtained from method: /customers/me/cards/config",
                                        "type": "string",
                                        "example": "0013009713"
                                    },
                                    "dcCorporationId": {
                                        "description": "Corporation identifier from dataCore",
                                        "type": "string",
                                        "format": "uuid",
                                        "example": "6149613a-0b5e-4645-b362-493707f467b0",
                                        "nullable": "true"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/VirtualCardResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotFound": {
                                        "$ref": "#/components/examples/CustomerBalanceNotFound"
                                    },
                                    "CustomerNotFound": {
                                        "$ref": "#/components/examples/CustomerNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CantCreateLinkedCard": {
                                        "$ref": "#/components/examples/CantCreateLinkedCard"
                                    },
                                    "StoreCardFailure": {
                                        "$ref": "#/components/examples/StoreCardFailure"
                                    },
                                    "CardIssuerError": {
                                        "$ref": "#/components/examples/CardIssuerError"
                                    },
                                    "InvalidConfiguration": {
                                        "$ref": "#/components/examples/InvalidConfiguration"
                                    },
                                    "InvalidCurrency": {
                                        "$ref": "#/components/examples/InvalidCurrency"
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "BalanceIdRequired": {
                                        "$ref": "#/components/examples/BalanceIdRequired"
                                    },
                                    "ConfigIdRequired": {
                                        "$ref": "#/components/examples/ConfigIdRequired"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/virtual": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Create new virtual card assigned to customer balance.",
                "description": "\nFor this method is required to pass configuration id obtained from <a href ='customer#/Customer Cards/693fe4951f41754056d997ad4a38f27f'> GET /customers/me/cards/config </a>\n## Encryption\nThis method requires additional encryption (JWE). Find out more using\n[this link](https://developer.verestro.com/books/card-management-system/page/overview#bkmrk-step-1.-configuratio-0)\n     ",
                "operationId": "2d69ab355bceb96a78cac8ab60780332",
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "balanceId": {
                                        "description": "Customer balance id for which card should be linked",
                                        "type": "string"
                                    },
                                    "configId": {
                                        "description": "Configuration identifier obtained from method: /customers/me/cards/config",
                                        "type": "string",
                                        "example": "0013009713"
                                    },
                                    "dcCorporationId": {
                                        "description": "corporation id",
                                        "type": "string",
                                        "example": "6149613a-0b5e-4645-b362-493707f467b0"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/VirtualCardResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CustomerBalanceNotFound": {
                                        "$ref": "#/components/examples/CustomerBalanceNotFound"
                                    },
                                    "CustomerNotFound": {
                                        "$ref": "#/components/examples/CustomerNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CantCreateLinkedCard": {
                                        "$ref": "#/components/examples/CantCreateLinkedCard"
                                    },
                                    "StoreCardFailure": {
                                        "$ref": "#/components/examples/StoreCardFailure"
                                    },
                                    "CardIssuerError": {
                                        "$ref": "#/components/examples/CardIssuerError"
                                    },
                                    "InvalidConfiguration": {
                                        "$ref": "#/components/examples/InvalidConfiguration"
                                    },
                                    "InvalidCurrency": {
                                        "$ref": "#/components/examples/InvalidCurrency"
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "BalanceIdRequired": {
                                        "$ref": "#/components/examples/BalanceIdRequired"
                                    },
                                    "ConfigIdRequired": {
                                        "$ref": "#/components/examples/ConfigIdRequired"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}": {
            "get": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Get customer card details",
                "description": "Returns details of customer card\n## Encryption\nThis method requires additional encryption (JWE). Find out more using\n[this link](https://developer.verestro.com/books/card-management-system/page/overview#bkmrk-step-1.-configuratio-0)\n",
                "operationId": "55b187c2b6d70e131e75430ca04666c9",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": "1125"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardDetails"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Delete customer's card",
                "description": "Method delete prepaid card. Be careful, this card is deleted from all services (prepaid, dc, tutuka)",
                "operationId": "33aa7f71b3a86338aced7c5d25e7a320",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": "3098"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/lock": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Lock customer's card.",
                "description": "Method locks prepaid card. Card is also locked in tutuka system (card issuer) and DataCore (card storage).",
                "operationId": "b18ab22f74dd48778d5ba1fd1e97937f",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "reason": {
                                        "description": "Reason for locking the card",
                                        "type": "string",
                                        "enum": [
                                            "CARD_LOST",
                                            "CARD_STOLEN",
                                            "PENDING_QUERY",
                                            "CARD_CONSOLIDATION",
                                            "CARD_INACTIVE",
                                            "PIN_TRIES_EXCEEDED",
                                            "SUSPECTED_FRAUD",
                                            "CARD_REPLACED"
                                        ],
                                        "example": "CARD_STOLEN"
                                    },
                                    "note": {
                                        "description": "A note / reason about stopping the card",
                                        "type": "string",
                                        "example": "Some note about stopping the card"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "InvalidCard": {
                                        "$ref": "#/components/examples/InvalidCard"
                                    },
                                    "LockCardFailure": {
                                        "$ref": "#/components/examples/LockCardFailure"
                                    },
                                    "CardIssuerError": {
                                        "$ref": "#/components/examples/CardIssuerError"
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "description": "Validation status",
                                            "type": "string",
                                            "enum": [
                                                "INVALID_REASON",
                                                "INVALID_NOTE"
                                            ],
                                            "example": "INVALID_REASON"
                                        },
                                        "errors": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/unlock": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Unlock customer's card.",
                "description": "Method unlocks prepaid card. Card is also unlocked in tutuka system (card issuer) and DataCore (card storage).",
                "operationId": "ef60c4275ce321e71913304da5706077",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "note": {
                                        "description": "A note / reason about unstopping the card",
                                        "type": "string",
                                        "example": "Some note about unstopping the card"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "InvalidCard": {
                                        "$ref": "#/components/examples/InvalidCard"
                                    },
                                    "UnlockCardFailure": {
                                        "$ref": "#/components/examples/UnlockCardFailure"
                                    },
                                    "CardIssuerError": {
                                        "$ref": "#/components/examples/CardIssuerError"
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "description": "Validation status",
                                            "type": "string",
                                            "example": "INVALID_NOTE"
                                        },
                                        "errors": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/activation": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Activate previously ordered card",
                "operationId": "f7e4e6cd8ca0d8ecdd04b18293028612",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": "1125"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "description": "Cant find card with requested id or card does not belong to logged user",
                                            "type": "string",
                                            "example": "CARD_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/config": {
            "get": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Returns a list of avaliable card types conifg",
                "description": "Method returns list of available card types. This methods should be used for showing custmer posibilites of generate new virtual card or order new phisical card",
                "operationId": "693fe4951f41754056d997ad4a38f27f",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/CardAllowedConfig"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/pin": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Change card pin",
                "description": "Method allows to update card pin",
                "operationId": "730b0cd78e1bb131a9d6c2e03c14a1fb",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "pin": {
                                        "description": "New pin",
                                        "type": "string",
                                        "example": "1337"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Error response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "InvalidCard": {
                                        "$ref": "#/components/examples/InvalidCard"
                                    },
                                    "ChangePinFailure": {
                                        "$ref": "#/components/examples/ChangePinFailure"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/cvv": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Generate new cvv for a virtual card",
                "description": "\n## Encryption\nThis method requires additional encryption (JWE). Find out more using\n[this link](https://developer.verestro.com/books/card-management-system/page/overview#bkmrk-step-1.-configuratio-0)",
                "operationId": "c1933ec800decc7b01799240297480de",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "cvv": {
                                            "type": "string",
                                            "example": "255"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Cvv generation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "UpdateCvvFailure": {
                                        "$ref": "#/components/examples/UpdateCvvFailure"
                                    },
                                    "InvalidCard": {
                                        "$ref": "#/components/examples/InvalidCard"
                                    },
                                    "CardIssuerError": {
                                        "$ref": "#/components/examples/CardIssuerError"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{cardId}/budget": {
            "get": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Get card budget",
                "operationId": "c751c02f4f55f9d7bd20a22abd50fa14",
                "parameters": [
                    {
                        "name": "cardId",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": "1125"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardLimit"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorResponse"
                                },
                                "examples": {
                                    "CardNotFound": {
                                        "$ref": "#/components/examples/CardNotFound"
                                    },
                                    "CardBudgetNotFound": {
                                        "$ref": "#/components/examples/CardBudgetNotFound"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{id}/delivery": {
            "get": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Get card delivery details",
                "operationId": "6f7afa5ee52d61f947a086351535ea69",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "pattern": "^\\d+$",
                            "example": 1125
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "orderId": {
                                            "type": "string",
                                            "example": "018e4c0a-1b2c-7d3e-9f4a-5b6c7d8e9f0a"
                                        },
                                        "deliveryStatus": {
                                            "type": "string",
                                            "example": "DELIVERED",
                                            "nullable": true
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Access denied",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "FORBIDDEN"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "Error message"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Card delivery not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "ORDER_NOT_FOUND"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "Error message"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Update card delivery status",
                "operationId": "2549f9ee4554048c907935401f631989",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "pattern": "^\\d+$",
                            "example": 1125
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "deliveryStatus"
                                ],
                                "properties": {
                                    "deliveryStatus": {
                                        "description": "New delivery status",
                                        "type": "string",
                                        "enum": [
                                            "IN_TRANSIT",
                                            "DELIVERED",
                                            "READY_TO_PICKUP"
                                        ],
                                        "example": "DELIVERED"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Successful operation"
                    },
                    "403": {
                        "description": "Access denied",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "FORBIDDEN"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "Error message"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Order not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "ORDER_NOT_FOUND"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "Error message"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/physical": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Order new physical card. This method starts order process.",
                "operationId": "2465dd0eab1b31c70dcb8e0cb042b573",
                "requestBody": {
                    "description": "Input data format",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "firstName": {
                                        "description": "First name of card holder",
                                        "type": "string",
                                        "example": "Jane"
                                    },
                                    "lastName": {
                                        "description": "Last name of card holder",
                                        "type": "string",
                                        "example": "Doe"
                                    },
                                    "city": {
                                        "description": "City of card holder. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "Lublin"
                                    },
                                    "street": {
                                        "description": "Part of address on which card will be send",
                                        "type": "string",
                                        "example": "Rusałka"
                                    },
                                    "number": {
                                        "description": "House/appartment number. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "17a"
                                    },
                                    "postCode": {
                                        "description": "Postal code of city. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "20-123"
                                    },
                                    "state": {
                                        "description": "Optional state. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "Manchester"
                                    },
                                    "country": {
                                        "description": "ISO 3166-1 alfa-3",
                                        "type": "string",
                                        "example": "POL"
                                    },
                                    "balanceId": {
                                        "description": "Identifier of balance to which card will be attached",
                                        "type": "string",
                                        "example": "e31b76e0-21df-11ed-861d-0242ac120002"
                                    },
                                    "configId": {
                                        "description": "Card configuration identifier. Could be obtained from 'GET /customers/me/cards/config'",
                                        "type": "string",
                                        "example": "0013009713"
                                    },
                                    "visualId": {
                                        "description": "Optional card visualId",
                                        "type": "integer",
                                        "example": "17"
                                    },
                                    "deliveryType": {
                                        "description": "Optional delivery type",
                                        "type": "string",
                                        "example": "1"
                                    },
                                    "phone": {
                                        "description": "Phone number should be provided as local to the given delivery country. Remember to include prefix.",
                                        "type": "string",
                                        "example": "48500123123"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "Successful operation"
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "enum": [
                                                "INVALID_FIRST_NAME",
                                                "INVALID_LAST_NAME",
                                                "INVALID_CITY",
                                                "INVALID_STREET",
                                                "INVALID_NUMBER",
                                                "INVALID_POST_CODE",
                                                "INVALID_COUNTRY",
                                                "INVALID_BALANCE_ID",
                                                "CANNOT_MATCH_CONFIGURATION"
                                            ],
                                            "example": "INVALID_FIRST_NAME"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Card issuing rejected by AntacaCore",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "enum": [
                                                "UNAUTHORIZED_CARD_ISSUING"
                                            ],
                                            "example": "UNAUTHORIZED_CARD_ISSUING"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/physical_with_pin": {
            "post": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Order new physical card. This method starts order process.",
                "operationId": "9d786dbef97e02fb691fdb19a0e4f975",
                "requestBody": {
                    "description": "Input data format",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "firstName": {
                                        "description": "First name of card holder",
                                        "type": "string",
                                        "example": "Jane"
                                    },
                                    "lastName": {
                                        "description": "Last name of card holder",
                                        "type": "string",
                                        "example": "Doe"
                                    },
                                    "city": {
                                        "description": "City of card holder. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "Lublin"
                                    },
                                    "street": {
                                        "description": "Part of address on which card will be send",
                                        "type": "string",
                                        "example": "Rusalka"
                                    },
                                    "number": {
                                        "description": "House/appartment number. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "17a"
                                    },
                                    "postCode": {
                                        "description": "Postal code of city. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "20-123"
                                    },
                                    "state": {
                                        "description": "Optional state. Also this is part of address on which card will be send",
                                        "type": "string",
                                        "example": "Manchester"
                                    },
                                    "country": {
                                        "description": "ISO 3166-1 alfa-3",
                                        "type": "string",
                                        "example": "POL"
                                    },
                                    "balanceId": {
                                        "description": "Identifier of balance to which card will be attached",
                                        "type": "string",
                                        "example": "e31b76e0-21df-11ed-861d-0242ac120002"
                                    },
                                    "pin": {
                                        "description": "Card PIN",
                                        "type": "string",
                                        "example": "4242"
                                    },
                                    "configId": {
                                        "description": "Card configuration identifier. Could be obtained from 'GET /customers/me/cards/config'",
                                        "type": "string",
                                        "example": "0013009713"
                                    },
                                    "visualId": {
                                        "description": "Optional card visualId",
                                        "type": "integer",
                                        "example": "17"
                                    },
                                    "deliveryType": {
                                        "description": "Optional delivery type",
                                        "type": "string",
                                        "example": "1"
                                    },
                                    "phone": {
                                        "description": "Phone number should be provided as local to the given delivery country. Remember to include prefix.",
                                        "type": "string",
                                        "example": "48500123123"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "Successful operation"
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "enum": [
                                                "INVALID_FIRST_NAME",
                                                "INVALID_LAST_NAME",
                                                "INVALID_CITY",
                                                "INVALID_STREET",
                                                "INVALID_NUMBER",
                                                "INVALID_POST_CODE",
                                                "INVALID_COUNTRY",
                                                "INVALID_BALANCE_ID",
                                                "CANNOT_MATCH_CONFIGURATION",
                                                "INVALID_PIN"
                                            ],
                                            "example": "INVALID_FIRST_NAME"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Card issuing rejected by AntacaCore",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "enum": [
                                                "UNAUTHORIZED_CARD_ISSUING"
                                            ],
                                            "example": "UNAUTHORIZED_CARD_ISSUING"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/cards/{id}/shares": {
            "patch": {
                "tags": [
                    "Customer Cards"
                ],
                "summary": "Share card with another user",
                "operationId": "bb66c227b1f53955b82741144efdfc39",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "DataCore card id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "example": 1125
                        }
                    }
                ],
                "requestBody": {
                    "description": "Input data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "dcUserId": {
                                        "description": "DataCore user id",
                                        "type": "string",
                                        "example": "133"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Card user updated successfully"
                    },
                    "403": {
                        "description": "Forbidden - user is not the card holder",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "FORBIDDEN"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "User cannot share card."
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "FORBIDDEN"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Card not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "reason": {
                                            "type": "string",
                                            "example": "CARD_NOT_FOUND"
                                        },
                                        "detail": {
                                            "type": "string",
                                            "example": "Card not found."
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "CARD_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/issuing-capabilities/balances/{balanceId}": {
            "get": {
                "tags": [
                    "Customer - Cards"
                ],
                "summary": "Get issuing capabilities for customer balance",
                "operationId": "5f020edbdf68b83c48d81648b65e0099",
                "parameters": [
                    {
                        "name": "balanceId",
                        "in": "path",
                        "description": "BalanceId",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "corporationId",
                        "in": "query",
                        "description": "CorporationId",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "orderPhysicalCard": {
                                            "description": "Physical card ordering capabilities",
                                            "properties": {
                                                "allow": {
                                                    "description": "Is ordering physical card available",
                                                    "type": "boolean",
                                                    "example": false
                                                },
                                                "withPin": {
                                                    "description": "Is ordering physical card with pin available",
                                                    "type": "boolean",
                                                    "example": false
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/verifications/extended-kyc": {
            "get": {
                "tags": [
                    "Customer Registration"
                ],
                "summary": "Obtain extended KYC (video-call verification) URL",
                "operationId": "059d66b3b1ef6102ab5c19b0d944557c",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "url": {
                                            "description": "URL under which the customer can start extended KYC (video-call verification)",
                                            "type": "string",
                                            "example": "https://kyc.example.com/video/start"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/verifications/status": {
            "get": {
                "tags": [
                    "Customer Registration"
                ],
                "summary": "Obtain verification status",
                "operationId": "2bd5e4fdc6a8e026a34ef9d07e08aa77",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "description": "Verification status",
                                            "type": "string",
                                            "enum": [
                                                "rejected",
                                                "accepted",
                                                "in_progress"
                                            ],
                                            "example": "rejected"
                                        },
                                        "reasons": {
                                            "description": "Verification status reasons",
                                            "type": "object",
                                            "example": [
                                                "INVALID_CUSTOMER_DATA",
                                                "BLURRED_DOCUMENT_PHOTO",
                                                "INVALID_DOCUMENT_PHOTO",
                                                "BLURRED_SELFIE",
                                                "INVALID_SELFIE",
                                                "RESTRICTED_PESEL",
                                                "INCORRECT_PESEL",
                                                "UNDERAGE",
                                                "ILLEGAL_DOCUMENT",
                                                "EXPIRED_DOCUMENT",
                                                "MISSING_ENTIRE_DOCUMENT",
                                                "SELFIE_WITHOUT_DOCUMENT",
                                                "FACE_COVERED",
                                                "PAYMENT_CARD_NOT_DOCUMENT",
                                                "MISSING_DIACRITICAL_MARKS",
                                                "NON_LATIN_ALPHABET",
                                                "OUTSIDE_EEA",
                                                "ILLEGAL_EMAIL",
                                                "NOT_MATCH_PREFIX"
                                            ]
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "description": "Cant find verification for requested id",
                                            "type": "string",
                                            "example": "VERIFICATION_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me/register": {
            "post": {
                "tags": [
                    "Customer Registration"
                ],
                "summary": "Initialize customer verification process",
                "description": "Method is first step for customer registration. After this step, admin should accept or reject verification request",
                "operationId": "a0b8db0184f0fad833c2f688975fbf26",
                "requestBody": {
                    "description": "Input data format",
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "firstName",
                                    "lastName",
                                    "birthDate",
                                    "city",
                                    "street",
                                    "postCode",
                                    "country",
                                    "documentType",
                                    "imageFace",
                                    "imageFront",
                                    "utilityBill",
                                    "phone"
                                ],
                                "properties": {
                                    "firstName": {
                                        "description": "First name of user for verification",
                                        "type": "string",
                                        "example": "Jane"
                                    },
                                    "lastName": {
                                        "description": "Last name of user for verification",
                                        "type": "string",
                                        "example": "Doe"
                                    },
                                    "birthDate": {
                                        "description": "Customer birth date in format: Y-m-d",
                                        "type": "string",
                                        "format": "date",
                                        "example": "1970-01-01"
                                    },
                                    "city": {
                                        "description": "City of custmer",
                                        "type": "string",
                                        "example": "Lublin"
                                    },
                                    "street": {
                                        "description": "Customer street",
                                        "type": "string",
                                        "example": "Rusałka"
                                    },
                                    "number": {
                                        "description": "Customer house number. Required only if apartment has not been sent",
                                        "type": "string",
                                        "example": "17a"
                                    },
                                    "apartment": {
                                        "description": "Customer apartment number. Required only if number has not been sent",
                                        "type": "string",
                                        "example": "2"
                                    },
                                    "postCode": {
                                        "description": "Customer post code",
                                        "type": "string",
                                        "example": "20-128"
                                    },
                                    "country": {
                                        "description": "Alpha-2 code in ISO-3166",
                                        "type": "string",
                                        "example": "PL"
                                    },
                                    "identityCardNo": {
                                        "description": "Number of identity card. This field is required if customer has no pesel",
                                        "type": "string",
                                        "example": "ARG691869",
                                        "nullable": "true"
                                    },
                                    "pesel": {
                                        "description": "Customer pesel number",
                                        "type": "string",
                                        "example": "70010155587",
                                        "nullable": "true"
                                    },
                                    "nationality": {
                                        "description": "Customer nationality. Alpha-2 code in ISO-3166",
                                        "type": "string",
                                        "example": "PL",
                                        "nullable": "true"
                                    },
                                    "imageFace": {
                                        "description": "Customer face photo. Allowed formats: jpeg, jpg, png. Maximum file size - 2MB",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "imageFront": {
                                        "description": "Front photo of document passed in request. Allowed formats: jpeg, jpg, png. Maximum file size - 2MB",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "documentType": {
                                        "description": "Type of document passed in request. Allowed formats: passport,idCard",
                                        "type": "string",
                                        "enum": [
                                            "passport",
                                            "idCard"
                                        ],
                                        "example": "passport"
                                    },
                                    "documentExpirationDate": {
                                        "description": "Document expiration Date",
                                        "type": "string",
                                        "format": "date",
                                        "example": "2025-01-30"
                                    },
                                    "imageBack": {
                                        "description": "Back photo of document passed in request. Required only if document type is idCard. Allowed formats: jpeg, jpg, png. Maximum file size - 2MB",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "utilityBill": {
                                        "description": "Utility bill document for address verification. Allowed formats: jpeg, jpg, png, pdf. Maximum file size - 2MB",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "usaResident": {
                                        "description": "Customer is tax resident in USA</p> true=1 </p> false=0",
                                        "type": "boolean",
                                        "format": "boolean",
                                        "nullable": "true"
                                    },
                                    "taxResident": {
                                        "description": "Client's tax residency list<p>exampaleRequest:</p>\n |      Body Key      |  Body Value |\n |:-------------:|------:|\n |  taxResident[0] | DE |",
                                        "format": "array",
                                        "nullable": "true"
                                    },
                                    "sourceOfFunds": {
                                        "description": "\n Array of customer's funds sources:\n\n <p><b>business_activity:</b> Nip (VAT number) or/and REGON (National Business Registry Number) is required when you send business_activity field</p>\n <p><b>salary:</b> Profession is required when salary is send.</p>\n\n | SourceOfFunds   |      Body Key      |  Body Value |\n |----------|:-------------:|------:|\n | business_activity |  sourceOfFunds[business_activity][0][nip] | NIP_NUMBER |\n |     |sourceOfFunds[business_activity][0][regon]  |   REGON_NUMBER |\n | salary| sourceOfFunds[salary][0][profession] |   whatever about profession |\n | other |  sourceOfFunds[other][0] | some_value |\n | maintained_by_family |  sourceOfFunds[maintained_by_family][0] | some_value |\n | investments |  sourceOfFunds[investments][0]  | some_value |\n | social_benefits |  sourceOfFunds[social_benefits][0] | some_value |\n | tenancy |  sourceOfFunds[tenancy][0] | some_value |\n\n ",
                                        "format": "array",
                                        "nullable": "true"
                                    },
                                    "kycLevel": {
                                        "description": "Customer KYC level.",
                                        "type": "string",
                                        "enum": [
                                            "LOW",
                                            "MEDIUM",
                                            "HIGH",
                                            "EXTENDED"
                                        ],
                                        "nullable": "true"
                                    },
                                    "phone": {
                                        "description": "Customer phone number in E.164 format.",
                                        "type": "string",
                                        "example": "+48600123456"
                                    },
                                    "extendedVerificationDeclaration": {
                                        "description": "Flag indicating the user declares they would like to spend more than a defined threshold.",
                                        "type": "boolean",
                                        "nullable": "true"
                                    },
                                    "customData": {
                                        "description": "<b>Optional object for custom verification data.</b> </p> Clients can send any additional data using custom keys in camelCase notation (e.g., customerHeight, locationOfBirth).</p> For date values, we suggest using ISO 8601 format (e.g., 2025-12-31T23:59:59Z) or Y-m-d format (e.g., 2020-01-15).</p> Maximum 256 key-value pairs. </p> Keys must be 1-64 alphanumeric characters and contain at least one letter. </p> Values must be 1-512 characters.</p> example request: </p>\n|      Body Key      |  Body Value |\n|-------------|:------:|\n| customData[locationOfBirth] | Lublin |\n| customData[customerHeight] |   180cm |\n| customData[issueDate] | 2020-01-15 |\n| customData[registrationDate] | 2024-03-15T10:30:00Z |\n| customData[nationalIdentificationNumber] | 12345678901 |\n| customData[anyOtherYouNeed] | some_value |\n",
                                        "type": "object",
                                        "nullable": "true"
                                    }
                                },
                                "type": "object"
                            },
                            "encoding": "form-data"
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "id": {
                                            "description": "Verification identifier in uuid format",
                                            "type": "string",
                                            "format": "uuid",
                                            "example": "3dc88ad5-7053-454b-bcb8-e067c436f17d"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Request validation failed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string"
                                        },
                                        "errors": {
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                },
                                "examples": {
                                    "FIELD_IS_REQUIRED": {
                                        "summary": "FIELD_IS_REQUIRED",
                                        "value": {
                                            "status": "FIELD_IS_REQUIRED",
                                            "errors": {
                                                "fieldName": [
                                                    "FIELD_IS_REQUIRED"
                                                ]
                                            }
                                        }
                                    },
                                    "CustomerAlreadyRegistered": {
                                        "$ref": "#/components/examples/CustomerAlreadyRegistered"
                                    },
                                    "HasPendingVerifications": {
                                        "$ref": "#/components/examples/HasPendingVerifications"
                                    },
                                    "PermanentlyLocked": {
                                        "$ref": "#/components/examples/PermanentlyLocked"
                                    },
                                    "DateIsInvalid": {
                                        "$ref": "#/components/examples/DateIsInvalid"
                                    },
                                    "DateFormatIsInvalid": {
                                        "$ref": "#/components/examples/DateFormatIsInvalid"
                                    },
                                    "InvalidFileSize": {
                                        "summary": "INVALID_FILE_SIZE",
                                        "value": {
                                            "status": "INVALID_FILE_SIZE"
                                        }
                                    },
                                    "InvalidFileFormat": {
                                        "summary": "INVALID_FILE_FORMAT",
                                        "value": {
                                            "status": "INVALID_FILE_FORMAT"
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/customers/me": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Get customer details",
                "description": "Returns customer details with list of addresses",
                "operationId": "f01d99977820bdbf13dec73d982df2c3",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomerResource"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string",
                                            "example": "CUSTOMER_NOT_FOUND"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/public_key": {
            "get": {
                "tags": [
                    "Public Key"
                ],
                "summary": "Get public key for encryption",
                "operationId": "getPublicKey",
                "responses": {
                    "200": {
                        "description": "Successful operation",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "publicKey": {
                                            "description": "b64 encoded public key (PEM format)",
                                            "type": "string",
                                            "example": "QSBwdWJsaWMga2V5IHNob3VsZCBiZSBoZXJlIGhvd2V2ZXIgaXQgd2FzIHRvbyBsb25nIDoo"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/async_operations/{id}": {
            "get": {
                "tags": [
                    "Async Operation"
                ],
                "summary": "Endpoint for obtaining status of asynchronous operation",
                "description": "This endpoint is for checking status of asynchronous operation previously startted by different processes </br>\nKeep in mind that along with status this method can return Location header involving url path to created resource.",
                "operationId": "8d5f4eded096dd4ef99d7314e13e645a",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Async operation in uuid format",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid",
                            "example": "d5f57a40-6de9-4547-bc33-77f42aa85cea"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Operation on IN_PROGRESS state",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "0b8d6c51-5537-4923-a39d-ecbd6abe85e2"
                                        },
                                        "status": {
                                            "type": "string",
                                            "example": "IN_PROGRESS"
                                        },
                                        "errors": {
                                            "type": "string",
                                            "example": "[]"
                                        },
                                        "progress": {
                                            "type": "integer",
                                            "example": "50"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "303": {
                        "description": "Operation has been completed. Always return Location header with url for created resource",
                        "headers": {
                            "Location": {
                                "description": "url for created resurce eg. /customers/me/cards/123",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "0b8d6c51-5537-4923-a39d-ecbd6abe85e2"
                                        },
                                        "status": {
                                            "type": "string",
                                            "example": "COMPLETED"
                                        },
                                        "errors": {
                                            "type": "string",
                                            "example": "[]"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "CustomerBalanceDto": {
                "title": "Customer Balance",
                "description": "Customer Balance",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "balance": {
                        "type": "number",
                        "format": "float"
                    },
                    "currency": {
                        "description": "Currency code ISO 4217",
                        "type": "string",
                        "example": "PLN"
                    },
                    "description": {
                        "description": "Description of the balance",
                        "type": "string",
                        "example": "My account",
                        "nullable": true
                    },
                    "accountingBalance": {
                        "type": "integer",
                        "nullable": true
                    },
                    "customerId": {
                        "type": "integer",
                        "nullable": true
                    },
                    "dcCorporationId": {
                        "format": "uuid",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CustomerDocumentDto": {
                "title": "Customer Document",
                "description": "Customer Document",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "type": {
                        "type": "string"
                    },
                    "path": {
                        "type": "string"
                    },
                    "expirationDate": {
                        "type": "string",
                        "format": "Y-m-d",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "DocumentDto": {
                "title": "Document",
                "description": "Document",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "type": {
                        "type": "string"
                    },
                    "path": {
                        "type": "string"
                    },
                    "expirationDate": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "VerificationDocumentDto": {
                "title": "VerificationDocumentDto",
                "description": "Verification document",
                "properties": {
                    "id": {
                        "title": "Document identifier",
                        "description": "id",
                        "type": "string",
                        "format": "uuid",
                        "example": "70f91efb-3989-4289-916c-db4eed741a4e"
                    },
                    "type": {
                        "title": "Type of document",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "example": "idCard"
                    },
                    "url": {
                        "title": "Document URL",
                        "description": "url",
                        "type": "string",
                        "format": "url",
                        "example": "https://example.com/example.png"
                    },
                    "expirationDate": {
                        "title": "Document expiration date",
                        "description": "Document expiration date",
                        "type": "string",
                        "format": "date",
                        "example": "2025-01-29",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CardEntity": {
                "title": "CardEntity",
                "description": "CardEntity",
                "properties": {
                    "id": {
                        "title": "DataCore card id",
                        "description": "Id",
                        "type": "integer",
                        "format": "int",
                        "example": "7",
                        "nullable": true
                    },
                    "exp": {
                        "title": "Card expiration date in format YYYY-MM-DD",
                        "description": "exp",
                        "type": "string",
                        "format": "DateTime",
                        "example": "2026-01-31",
                        "nullable": true
                    },
                    "type": {
                        "title": "Card type",
                        "description": "Card type",
                        "type": "string",
                        "format": "string",
                        "example": "VIRTUAL",
                        "nullable": true
                    },
                    "activationDate": {
                        "title": "Card activation date in format YYYY-MM-DD",
                        "description": "activationDate",
                        "type": "string",
                        "format": "DateTime",
                        "example": "2026-01-31",
                        "nullable": true
                    },
                    "configId": {
                        "title": "configuration identifier",
                        "description": "configId",
                        "type": "string",
                        "format": "string",
                        "example": "0013009713"
                    },
                    "dcCorporationId": {
                        "title": "Corporation",
                        "description": "corporation",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130007"
                    }
                },
                "type": "object"
            },
            "CustomerBalanceEntity": {
                "title": "CustomerBalanceEntity",
                "description": "CustomerBalanceEntity",
                "properties": {
                    "id": {
                        "title": "id",
                        "description": "id",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "balance": {
                        "title": "Balance in gross",
                        "description": "balance",
                        "type": "integer",
                        "format": "int",
                        "example": "1567"
                    },
                    "currency": {
                        "description": "Currency code ISO 4217",
                        "type": "string",
                        "format": "string",
                        "example": "PLN"
                    },
                    "description": {
                        "description": "Name of balance",
                        "type": "string",
                        "format": "string",
                        "example": "My account",
                        "nullable": true
                    },
                    "accountingBalance": {
                        "title": "Accounting balance in gross",
                        "description": "accounting balance",
                        "type": "integer",
                        "format": "int",
                        "example": "1567",
                        "nullable": true
                    },
                    "clearingCounter": {
                        "title": "Clearing counter",
                        "description": "clearing counter",
                        "type": "integer",
                        "format": "int",
                        "example": "34",
                        "nullable": true
                    },
                    "customerId": {
                        "title": "customerId",
                        "description": "DataCore user id",
                        "format": "int",
                        "example": "77777"
                    },
                    "dcCorporationId": {
                        "title": "Corporation",
                        "description": "corporation",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130007"
                    },
                    "cards": {
                        "title": "CardEntity",
                        "description": "CardEntity",
                        "type": "array",
                        "format": "array",
                        "items": {
                            "$ref": "#/components/schemas/CardEntity"
                        }
                    }
                },
                "type": "object"
            },
            "DocumentEntity": {
                "title": "Document model",
                "description": "Document model",
                "properties": {
                    "id": {
                        "title": "id",
                        "description": "unique identifier",
                        "format": "uuid"
                    },
                    "type": {
                        "title": "rejectReason",
                        "description": "type of document",
                        "type": "string",
                        "format": "string",
                        "enum": [
                            "passport",
                            "idCard"
                        ]
                    }
                },
                "type": "object",
                "xml": {
                    "name": "Document"
                }
            },
            "VerificationArchiveEntity": {
                "title": "Verification archive model",
                "description": "Verification archive model",
                "properties": {
                    "id": {
                        "title": "id",
                        "description": "unique identifier",
                        "format": "uuid"
                    },
                    "customerStorageId": {
                        "title": "customerStorageId",
                        "description": "identifier of customer stored in DataCore",
                        "type": "integer",
                        "format": "int64"
                    },
                    "status": {
                        "title": "status",
                        "description": "status of verification",
                        "type": "string",
                        "format": "string"
                    },
                    "rejectReason": {
                        "title": "rejectReason",
                        "description": "reason of verification rejection",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "customer": {
                        "$ref": "#customer"
                    },
                    "firstName": {
                        "title": "firstName",
                        "description": "customer first name of verrification",
                        "type": "string",
                        "format": "string"
                    },
                    "lastName": {
                        "title": "lastName",
                        "description": "customer last name of verrification",
                        "type": "string",
                        "format": "string"
                    },
                    "birthDate": {
                        "title": "birthDate",
                        "description": "customer birth date of verrification",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "nationality": {
                        "title": "nationality",
                        "description": "nationality",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "pesel": {
                        "title": "pesel",
                        "description": "pesel number of customer",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "identityCardNo": {
                        "title": "identityCardNo",
                        "description": "identity card number",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "riskLvl": {
                        "title": "riskLvl",
                        "description": "risk level",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    }
                },
                "type": "object",
                "xml": {
                    "name": "VerificationArchive"
                }
            },
            "VerificationEntity": {
                "title": "Verification model",
                "description": "Verification model",
                "properties": {
                    "id": {
                        "title": "id",
                        "description": "unique identifier",
                        "format": "uuid"
                    },
                    "customerStorageId": {
                        "title": "customerStorageId",
                        "description": "identifier of customer stored in DataCore",
                        "type": "integer",
                        "format": "int64"
                    },
                    "status": {
                        "title": "status",
                        "description": "status of verification",
                        "type": "string",
                        "format": "string"
                    },
                    "rejectReason": {
                        "title": "rejectReason",
                        "description": "reason of verification rejection",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "documents": {
                        "$ref": "#document"
                    },
                    "customer": {
                        "$ref": "#customer"
                    },
                    "firstName": {
                        "title": "firstName",
                        "description": "customer first name of verrification",
                        "type": "string",
                        "format": "string"
                    },
                    "lastName": {
                        "title": "lastName",
                        "description": "customer last name of verrification",
                        "type": "string",
                        "format": "string"
                    },
                    "birthDate": {
                        "title": "birthDate",
                        "description": "customer birth date of verrification",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "nationality": {
                        "title": "nationality",
                        "description": "nationality",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "pesel": {
                        "title": "pesel",
                        "description": "pesel number of customer",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "identityCardNo": {
                        "title": "identityCardNo",
                        "description": "identity card number",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "riskLvl": {
                        "title": "riskLvl",
                        "description": "risk level",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "sourceOfFounds": {
                        "type": "array",
                        "items": {
                            "title": "sourceOfFunds",
                            "description": "source of funds",
                            "format": "json"
                        },
                        "nullable": true
                    },
                    "usaResident": {
                        "title": "usaResident",
                        "description": "usa tax resident",
                        "type": "boolean",
                        "format": "boolean",
                        "nullable": true
                    },
                    "taxResident": {
                        "type": "array",
                        "items": {
                            "title": "countryResident",
                            "description": "list of countries where customer is a resident",
                            "format": "array"
                        },
                        "nullable": true
                    },
                    "dataHash": {
                        "title": "dataHash",
                        "description": "Hashed representation of all verification data",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "kycLevel": {
                        "title": "kycLevel",
                        "description": "KYC level",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "customData": {
                        "type": "array",
                        "items": {
                            "title": "customData",
                            "description": "Custom Data",
                            "format": "json"
                        },
                        "nullable": true
                    },
                    "phone": {
                        "title": "phone",
                        "description": "Phone number in E.164 format (e.g. +48600123456). Must start with + followed by country calling code and subscriber number, digits only, no spaces or separators.",
                        "type": "string",
                        "format": "string",
                        "example": "+48600123456",
                        "nullable": true
                    },
                    "isoCodePhone": {
                        "title": "isoCodePhone",
                        "description": "ISO 3166-1 alpha-2 country code associated with the phone number",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "email": {
                        "title": "email",
                        "description": "Email address of the customer",
                        "type": "string",
                        "format": "string",
                        "nullable": true
                    },
                    "extendedVerificationDeclaration": {
                        "title": "extendedVerificationDeclaration",
                        "description": "Flag indicating the user declares they would like to spend more than a defined threshold.",
                        "type": "boolean",
                        "format": "boolean"
                    },
                    "financialInstitutionsData": {
                        "type": "array",
                        "items": {
                            "title": "financialInstitutions",
                            "description": "financial istitution data",
                            "format": "json"
                        },
                        "nullable": true
                    }
                },
                "type": "object",
                "xml": {
                    "name": "Verification"
                }
            },
            "ErrorResponse": {
                "properties": {
                    "status": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ApiActionCollection": {
                "title": "ApiActionCollection",
                "description": "Api Action resource collection",
                "properties": {
                    "data": {
                        "title": "data",
                        "description": "data",
                        "type": "array",
                        "format": "array",
                        "items": {
                            "$ref": "#/components/schemas/ApiActionResource"
                        }
                    }
                },
                "type": "object"
            },
            "ApiActionResource": {
                "title": "ApiAction",
                "description": "Api Action resource",
                "properties": {
                    "name": {
                        "title": "Action name",
                        "description": "name",
                        "type": "string",
                        "example": "getCustomerVerification"
                    },
                    "method": {
                        "title": "Http method",
                        "description": "method",
                        "type": "string",
                        "example": "GET"
                    },
                    "uri": {
                        "title": "Action uri",
                        "description": "uri",
                        "type": "string",
                        "example": "/admin/customers/{customerId}/verifications/{verificationId}"
                    }
                },
                "type": "object"
            },
            "CardDetailsAdmin": {
                "title": "CardDetailsAdmin",
                "description": "CardDetailsAdmin",
                "properties": {
                    "id": {
                        "title": "DataCore card id",
                        "description": "Id",
                        "type": "integer",
                        "format": "int",
                        "example": "1125"
                    },
                    "exp": {
                        "title": "card expiration date. Format: Y-m-d ",
                        "description": "card expiration date. Format: Y-m-d ",
                        "type": "string",
                        "format": "date",
                        "example": "2026-01-31"
                    },
                    "type": {
                        "title": "Card type",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "enum": [
                            "real",
                            "virtual"
                        ],
                        "example": "1125"
                    },
                    "activationDate": {
                        "title": "Card activation date in format YYYY-MM-DD",
                        "description": "activationDate",
                        "type": "string",
                        "format": "DateTime",
                        "example": "2026-01-31",
                        "nullable": true
                    },
                    "configId": {
                        "title": "Configuration identifier",
                        "description": "configId",
                        "type": "string",
                        "format": "string",
                        "example": "0013009713"
                    },
                    "externalCardId": {
                        "title": "External card id",
                        "description": "externalCardId",
                        "type": "string",
                        "format": "string",
                        "example": "283744800001390"
                    },
                    "dcCorporationId": {
                        "title": "DC corporation id",
                        "description": "dcCorporationId",
                        "type": "string",
                        "format": "string",
                        "example": "29bacfc2-124d-433a-a9cf-8c7a9bcbdbed"
                    },
                    "balanceId": {
                        "title": "Customer balance ID",
                        "description": "balanceId",
                        "type": "string",
                        "format": "string",
                        "example": "29bacfc2-124d-433a-a9cf-8c7a9bcbdbed"
                    }
                },
                "type": "object"
            },
            "CardLimit": {
                "title": "CardLimit",
                "description": "Card Limit resource",
                "properties": {
                    "initialValue": {
                        "title": "initialValue",
                        "description": "Initial limit value.",
                        "type": "integer",
                        "example": "7"
                    },
                    "currentValue": {
                        "title": "currentValue",
                        "description": "Current(actual) limit value.",
                        "type": "integer",
                        "example": "7"
                    }
                },
                "type": "object"
            },
            "BalanceLimitCollection": {
                "title": "BalanceLimitCollection",
                "description": "Balance limit resource collection",
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/BalanceLimitResource"
                        }
                    }
                },
                "type": "object"
            },
            "BalanceLimitResource": {
                "title": "BalanceLimitResource",
                "description": "BalanceLimitResource",
                "properties": {
                    "id": {
                        "description": "Unique id of the limit",
                        "type": "string",
                        "format": "uuid",
                        "example": "492ec5ee-7f66-11ec-a8a3-0242ac120002"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "CASH_IN",
                            "CASH_OUT"
                        ],
                        "example": "CASH_IN"
                    },
                    "maxAmount": {
                        "description": "Maximum amount in minor units",
                        "type": "integer",
                        "example": 50000
                    },
                    "period": {
                        "type": "string",
                        "enum": [
                            "DAILY",
                            "WEEKLY",
                            "MONTHLY"
                        ],
                        "example": "MONTHLY",
                        "nullable": true
                    },
                    "expiration": {
                        "description": "Limit expiration date",
                        "type": "string",
                        "format": "date-time",
                        "example": "2099-12-24 00:00:00",
                        "nullable": true
                    },
                    "currency": {
                        "type": "string",
                        "example": "PLN"
                    }
                },
                "type": "object"
            },
            "BalanceSummary": {
                "title": "BalanceSummary",
                "description": "Balance summary resource",
                "properties": {
                    "currency": {
                        "title": "Currency code ISO 4217",
                        "description": "currency",
                        "type": "string",
                        "format": "string",
                        "example": "PLN"
                    },
                    "amount": {
                        "title": "Amount in gross",
                        "description": "balance",
                        "type": "integer",
                        "format": "string",
                        "example": "1567"
                    }
                },
                "type": "object"
            },
            "BalaceGetAllCollection": {
                "title": "BalancesGetAll",
                "description": "BalancesGetAll",
                "properties": {
                    "id": {
                        "title": "Balance id",
                        "description": "id",
                        "type": "integer",
                        "format": "string",
                        "example": "9ec5fbe0-3599-4ec0-8255-9c390cbea02a"
                    },
                    "balance": {
                        "title": "Balance",
                        "description": "Balance in gross",
                        "type": "integer",
                        "format": "integer",
                        "example": "9845"
                    },
                    "currency": {
                        "title": "Currency",
                        "description": "Currency code ISO 4217",
                        "type": "string",
                        "format": "string",
                        "example": "PLN"
                    },
                    "description": {
                        "title": "Description",
                        "description": "Name of balance",
                        "type": "string",
                        "format": "string",
                        "example": "My account"
                    },
                    "dcUserId": {
                        "title": "DC user id",
                        "description": "dcUserId",
                        "type": "string",
                        "format": "int",
                        "example": "1337"
                    },
                    "dcCorporationId": {
                        "title": "DC corporation id",
                        "description": "dcCorporationId",
                        "type": "string",
                        "format": "string",
                        "example": "a271f0e9-065b-4e3c-be24-9bac54fbd550"
                    }
                },
                "type": "object"
            },
            "BalanceDetails": {
                "title": "BalanceDetails",
                "description": "Balance details resource",
                "properties": {
                    "id": {
                        "title": "Balance id",
                        "description": "id",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "balance": {
                        "title": "Balance in gross",
                        "description": "balance",
                        "type": "integer",
                        "format": "int",
                        "example": "1567"
                    },
                    "currency": {
                        "title": "Currency code ISO 4217",
                        "description": "currency",
                        "type": "string",
                        "format": "string",
                        "example": "PLN"
                    },
                    "description": {
                        "title": "description",
                        "description": "Description of balance",
                        "type": "string",
                        "format": "string",
                        "example": "My account",
                        "nullable": true
                    },
                    "dcUserId": {
                        "title": "dcUserId",
                        "description": "DC Id of user",
                        "type": "string",
                        "format": "int",
                        "example": "1337",
                        "nullable": true
                    },
                    "dcCorporationId": {
                        "title": "dcCorporationId",
                        "description": "DC Id of corporation",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac137777",
                        "nullable": true
                    },
                    "cards": {
                        "title": "cards",
                        "description": "Cards",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomerBalanceCard"
                        }
                    }
                },
                "type": "object"
            },
            "BalanceGetAll": {
                "title": "BalancesGetAll",
                "description": "Balances get all",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/BalaceGetAllCollection"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CardLimitCollection": {
                "title": "CardLimitCollection",
                "description": "Card limit resource collection",
                "properties": {
                    "data": {
                        "title": "data",
                        "description": "data",
                        "type": "array",
                        "format": "array",
                        "items": {
                            "$ref": "#/components/schemas/CardLimitResource"
                        }
                    }
                },
                "type": "object"
            },
            "CardLimitResource": {
                "title": "CardLimitResource",
                "description": "CardLimitResource",
                "properties": {
                    "id": {
                        "title": "Unique id of created resource",
                        "description": "id",
                        "format": "uuid",
                        "example": "492ec5ee-7f66-11ec-a8a3-0242ac120002"
                    },
                    "type": {
                        "title": "Card limit type",
                        "description": "Type of card limitation",
                        "type": "string",
                        "enum": [
                            "TRX_ALL",
                            "TRX_E_COM",
                            "TRX_ATM",
                            "FOREIGN_QUANTITY",
                            "FOREIGN_AMOUNT",
                            "QUANTITY",
                            "AMOUNT_PLN",
                            "AMOUNT_EUR"
                        ],
                        "example": "TRX_ALL"
                    },
                    "maxAmount": {
                        "title": "maxAmount",
                        "description": "Maximum amount to spend",
                        "format": "int",
                        "example": "4555555552"
                    },
                    "maxAttempts": {
                        "title": "maxAttempts",
                        "description": "Maximum number of transactions",
                        "format": "int",
                        "example": "99"
                    },
                    "period": {
                        "title": "period",
                        "description": "Period for card limit",
                        "type": "string",
                        "enum": [
                            "DAILY",
                            "WEEKLY",
                            "MONTHLY"
                        ],
                        "example": "DAILY"
                    },
                    "expiration": {
                        "title": "expiration",
                        "description": "Date of limit expiration",
                        "format": "date",
                        "example": "2024-12-24 12:00:00"
                    },
                    "currency": {
                        "title": "currency",
                        "description": "Currency of a card",
                        "format": "string",
                        "example": "PLN"
                    },
                    "mcc_list": {
                        "title": "mcc_list",
                        "description": "Merchant cartegory codes of black/white list",
                        "format": "array",
                        "example": [
                            "4821",
                            "4822"
                        ]
                    },
                    "merchant_id_list": {
                        "title": "merchant_id_list",
                        "description": "Merchant ids of black/white list",
                        "format": "array",
                        "example": [
                            "9AD2C6F1D4A2",
                            "A9F3C2B1D4E5"
                        ]
                    }
                },
                "type": "object"
            },
            "CustomerResource": {
                "title": "CustomerResource",
                "description": "CustomerResource",
                "properties": {
                    "id": {
                        "description": "Id",
                        "type": "integer",
                        "example": 1125
                    },
                    "firstName": {
                        "description": "First name",
                        "type": "string",
                        "example": "Jane"
                    },
                    "lastName": {
                        "description": "Last name",
                        "type": "string",
                        "example": "Doe"
                    },
                    "birthDate": {
                        "description": "Birth date",
                        "type": "string",
                        "format": "date",
                        "example": "1970-01-01"
                    },
                    "address": {
                        "$ref": "#/components/schemas/VerificationAddress"
                    }
                },
                "type": "object"
            },
            "CustomerBalance": {
                "title": "CustomerBalanceResource",
                "description": "CustomerBalanceResource"
            },
            "CustomerBalanceBrief": {
                "title": "CustomerBalanceBrief",
                "description": "Customer balance resource",
                "properties": {
                    "id": {
                        "title": "Balance id",
                        "description": "id",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "balance": {
                        "title": "Balance in gross",
                        "description": "balance",
                        "type": "integer",
                        "format": "int",
                        "example": "1567"
                    },
                    "currency": {
                        "title": "Currency code ISO 4217",
                        "description": "currency",
                        "type": "string",
                        "format": "string",
                        "example": "PLN"
                    },
                    "description": {
                        "title": "description",
                        "description": "Description of balance",
                        "type": "string",
                        "format": "string",
                        "example": "My account",
                        "nullable": true
                    },
                    "dcUserId": {
                        "title": "dcUserId",
                        "description": "DC Id of user",
                        "type": "string",
                        "format": "int",
                        "example": "1337",
                        "nullable": true
                    },
                    "dcCorporationId": {
                        "title": "dcCorporationId",
                        "description": "DC Id of corporation",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac137777",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CustomerBalanceCard": {
                "title": "CustomerBalanceCard",
                "description": "Customer balance card resource",
                "properties": {
                    "id": {
                        "title": "DataCore card id",
                        "description": "id",
                        "type": "integer",
                        "format": "int",
                        "example": 7
                    },
                    "exp": {
                        "title": "Card expiration date in format YYYY-MM-DD",
                        "description": "exp",
                        "type": "integer",
                        "format": "DateTime",
                        "example": "2026-01-31"
                    },
                    "type": {
                        "title": "Card type",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "example": "VIRTUAL"
                    },
                    "activationDate": {
                        "title": "Card activation date in format YYYY-MM-DD",
                        "description": "activationDate",
                        "type": "string",
                        "format": "DateTime",
                        "example": "2026-01-31",
                        "nullable": true
                    },
                    "configId": {
                        "title": "Configuration identifier",
                        "description": "configId",
                        "type": "string",
                        "format": "string",
                        "example": "0013009713"
                    },
                    "externalCardId": {
                        "title": "External card id",
                        "description": "externalCardId",
                        "type": "string",
                        "format": "string",
                        "example": "283744800001390"
                    }
                },
                "type": "object"
            },
            "CustomerBalanceDetails": {
                "title": "CustomerBalanceDetails",
                "description": "Customer balance details resource",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/CustomerBalanceBrief"
                    },
                    {
                        "properties": {
                            "cards": {
                                "title": "cards",
                                "description": "Cards",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CustomerBalanceCard"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Card": {
                "title": "CardDetails",
                "description": "CardDetails",
                "properties": {
                    "id": {
                        "title": "DataCore card id",
                        "description": "id",
                        "type": "integer",
                        "format": "int",
                        "example": 7
                    },
                    "exp": {
                        "title": "Card expiration date in format YYYY-MM-DD",
                        "description": "exp",
                        "type": "integer",
                        "format": "DateTime",
                        "example": "2026-01-31"
                    },
                    "type": {
                        "title": "Card type",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "enum": [
                            "REAL",
                            "VIRTUAL"
                        ],
                        "example": "VIRTUAL"
                    },
                    "activationDate": {
                        "title": "Card activation date in format YYYY-MM-DD",
                        "description": "activationDate",
                        "type": "string",
                        "format": "DateTime",
                        "example": "2026-01-31",
                        "nullable": true
                    },
                    "configId": {
                        "title": "Configuration identifier",
                        "description": "configId",
                        "type": "string",
                        "format": "string",
                        "example": "0013009713"
                    },
                    "externalCardId": {
                        "title": "External card id",
                        "description": "externalCardId",
                        "type": "string",
                        "format": "string",
                        "example": "283744800001390"
                    },
                    "dcUserId": {
                        "title": "DC user id",
                        "description": "dcUserId",
                        "type": "string",
                        "format": "int",
                        "example": "1337"
                    },
                    "dcCorporationId": {
                        "title": "DC corporation id",
                        "description": "dcCorporationId",
                        "type": "string",
                        "format": "string",
                        "example": "a271f0e9-065b-4e3c-be24-9bac54fbd550"
                    },
                    "balanceId": {
                        "title": "Customer balance ID",
                        "description": "balanceId",
                        "type": "string",
                        "format": "string",
                        "example": "29bacfc2-124d-433a-a9cf-8c7a9bcbdbed"
                    }
                },
                "type": "object"
            },
            "CardAllowedConfig": {
                "title": "CardAllowedConfig",
                "description": "CardAllowedConfig Resource",
                "properties": {
                    "id": {
                        "title": "Id",
                        "description": "Id",
                        "type": "string",
                        "format": "string",
                        "example": "0013009713"
                    },
                    "name": {
                        "title": "name",
                        "description": "name",
                        "type": "string",
                        "format": "string",
                        "example": "Debit Standard"
                    },
                    "currency": {
                        "title": "Array of currency codes in ISO 4217 format",
                        "description": "currency",
                        "type": "array",
                        "format": "array",
                        "items": {
                            "type": "string",
                            "example": "PLN"
                        },
                        "example": "['PLN', 'EUR']"
                    },
                    "bin": {
                        "title": "bin of a card (Bank Identification Number",
                        "description": "bin",
                        "type": "string",
                        "format": "string",
                        "example": "538406"
                    },
                    "type": {
                        "title": "name",
                        "description": "type of card",
                        "type": "string",
                        "format": "string",
                        "enum": [
                            "VIRTUAL",
                            "REAL"
                        ],
                        "example": "VIRTUAL"
                    },
                    "visualId": {
                        "title": "visualId",
                        "description": "id of visual for this card",
                        "type": "string",
                        "format": "string",
                        "example": "17"
                    }
                },
                "type": "object"
            },
            "CardCollection": {
                "title": "CardCollection",
                "description": "Card collection"
            },
            "CardDetails": {
                "title": "CardDetails",
                "description": "CardDetails",
                "properties": {
                    "id": {
                        "title": "DataCore card id",
                        "description": "Id",
                        "type": "integer",
                        "format": "int",
                        "example": "1125"
                    },
                    "type": {
                        "title": "Card type",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "enum": [
                            "REAL",
                            "VIRTUAL"
                        ],
                        "example": "VIRTUAL"
                    },
                    "cvv": {
                        "title": "cvv",
                        "description": "card security code",
                        "type": "string",
                        "format": "string",
                        "example": "573"
                    },
                    "cardNo": {
                        "title": "card number",
                        "description": "card full pan number",
                        "type": "string",
                        "format": "string",
                        "example": "5227128362110426"
                    },
                    "exp": {
                        "title": "card expiration date. Format: Y-m-d ",
                        "description": "card expiration date. Format: Y-m-d ",
                        "type": "string",
                        "format": "date",
                        "example": "2026-01-31"
                    },
                    "issuerCardId": {
                        "title": "Issuer card id",
                        "description": "Id from card issuer",
                        "type": "string",
                        "format": "string",
                        "example": "704144800000021"
                    },
                    "dcCorporationId": {
                        "title": "DC corporation id",
                        "description": "dcCorporationId",
                        "type": "string",
                        "format": "string",
                        "example": "29bacfc2-124d-433a-a9cf-8c7a9bcbdbed"
                    },
                    "balanceId": {
                        "title": "Customer balance ID",
                        "description": "balanceId",
                        "type": "string",
                        "format": "string",
                        "example": "29bacfc2-124d-433a-a9cf-8c7a9bcbdbed"
                    }
                },
                "type": "object"
            },
            "CardGetAll": {
                "title": "CardCollection",
                "description": "Card collection",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Card"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "VirtualCardResource": {
                "title": "VirtualCardResource",
                "description": "VirtualCardResource",
                "properties": {
                    "id": {
                        "title": "DataCore card id",
                        "description": "Id",
                        "type": "integer",
                        "format": "int",
                        "example": "1125"
                    },
                    "cardNo": {
                        "title": "card number",
                        "description": "card full pan number",
                        "type": "string",
                        "format": "string",
                        "example": "5227128362110426"
                    },
                    "exp": {
                        "title": "card expiration date. Format: Y-m-d ",
                        "description": "card expiration date. Format: Y-m-d ",
                        "type": "string",
                        "format": "date",
                        "example": "2026-01-31"
                    },
                    "cvv": {
                        "title": "cvv",
                        "description": "card security code",
                        "type": "string",
                        "format": "string",
                        "example": "573"
                    },
                    "issuerCardId": {
                        "title": "Issuer card id",
                        "description": "Id from card issuer",
                        "type": "string",
                        "format": "string",
                        "example": "704144800000021"
                    }
                },
                "type": "object"
            },
            "CDD": {
                "title": "CDD",
                "description": "Customer Due Diligence object",
                "properties": {
                    "id": {
                        "description": "Id of CDD",
                        "type": "string",
                        "format": "uuid",
                        "example": "9d52da25-76ce-474a-a379-a66ac07ea8f6"
                    },
                    "verificationId": {
                        "description": "Id of Verification",
                        "type": "string",
                        "format": "uuid",
                        "example": "900a18b5-ca04-4bb2-8403-b2fdeeb0e084"
                    },
                    "listName": {
                        "description": "Checked where",
                        "type": "string",
                        "example": "known-list-published-on-1997-04-02-by-ACME"
                    },
                    "sourceName": {
                        "description": "Checked by whom",
                        "type": "string",
                        "example": "Elizabeth"
                    },
                    "date": {
                        "description": "Checked when",
                        "type": "string",
                        "format": "date-time",
                        "example": "2021-05-06T20:08:33+00:00"
                    }
                },
                "type": "object"
            },
            "CddCollection": {
                "title": "CddCollection",
                "description": "Cdd collection",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CDD"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "KycData": {
                "title": "KycData",
                "description": "KYC data for a verification",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid",
                        "example": "e389e2c2-f99d-11ea-adc1-0242ac120002"
                    },
                    "status": {
                        "type": "string",
                        "example": "accepted"
                    },
                    "customerId": {
                        "type": "integer",
                        "example": 1125
                    },
                    "createdAt": {
                        "type": "string",
                        "format": "date-time",
                        "example": "2026-07-27 12:03:45"
                    },
                    "updatedAt": {
                        "type": "string",
                        "format": "date-time",
                        "example": "2026-07-27 12:03:45"
                    },
                    "kycLevel": {
                        "type": "string",
                        "example": "HIGH",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "Verification": {
                "title": "Verification",
                "description": "Verification Resource",
                "properties": {
                    "id": {
                        "title": "Id",
                        "description": "Id",
                        "type": "string",
                        "format": "string",
                        "example": "e389e2c2-f99d-11ea-adc1-0242ac120002"
                    },
                    "status": {
                        "title": "status",
                        "description": "status",
                        "type": "string",
                        "format": "string",
                        "example": "accepted"
                    },
                    "customerId": {
                        "title": "customerId",
                        "description": "customerId",
                        "type": "integer",
                        "format": "int",
                        "example": "7"
                    },
                    "firstName": {
                        "title": "firstName",
                        "description": "firstName",
                        "type": "string",
                        "format": "string",
                        "example": "John"
                    },
                    "lastName": {
                        "title": "lastName",
                        "description": "lastName",
                        "type": "string",
                        "format": "string",
                        "example": "Doe"
                    },
                    "birthDate": {
                        "title": "birthDate",
                        "description": "birthDate",
                        "type": "string",
                        "format": "date",
                        "example": "1970-01-01"
                    },
                    "nationality": {
                        "title": "nationality",
                        "description": "nationality",
                        "type": "string",
                        "format": "string",
                        "example": "polish"
                    },
                    "riskLvl": {
                        "title": "rislLvl",
                        "description": "riskLvl",
                        "type": "string",
                        "format": "string",
                        "enum": [
                            "HIGH",
                            "NORMAL",
                            "LOW",
                            "NOT_ACCEPTABLE"
                        ],
                        "example": "LOW"
                    },
                    "nextVerificationDate": {
                        "title": "nextVerificationDate",
                        "description": "nextVerificationDate",
                        "type": "string",
                        "format": "date",
                        "example": "2020-01-20 12:03:45"
                    },
                    "createdAt": {
                        "title": "createdAt",
                        "description": "createdAt",
                        "type": "string",
                        "format": "date",
                        "example": "2020-01-20 12:03:45",
                        "nullable": true
                    },
                    "updatedAt": {
                        "title": "updatedAt",
                        "description": "updatedAt",
                        "type": "string",
                        "format": "date",
                        "example": "2020-01-20 12:03:45"
                    },
                    "usaResident": {
                        "title": "usaResident",
                        "description": "Is USA tax resident",
                        "type": "boolean",
                        "format": "boolean",
                        "example": "true",
                        "nullable": true
                    },
                    "taxResident": {
                        "description": "Is list of countries customer tax residentIs",
                        "type": "array",
                        "items": {
                            "type": "string",
                            "example": "DEU"
                        },
                        "nullable": true
                    },
                    "rejectReason": {
                        "title": "rejectReason",
                        "description": "Reasons for verification rejection",
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": [
                                "INVALID_CUSTOMER_DATA",
                                "BLURRED_DOCUMENT_PHOTO",
                                "INVALID_DOCUMENT_PHOTO",
                                "BLURRED_SELFIE",
                                "INVALID_SELFIE",
                                "RESTRICTED_PESEL",
                                "INCORRECT_PESEL",
                                "UNDERAGE",
                                "ILLEGAL_DOCUMENT",
                                "EXPIRED_DOCUMENT",
                                "MISSING_ENTIRE_DOCUMENT",
                                "SELFIE_WITHOUT_DOCUMENT",
                                "FACE_COVERED",
                                "PAYMENT_CARD_NOT_DOCUMENT",
                                "MISSING_DIACRITICAL_MARKS",
                                "NON_LATIN_ALPHABET",
                                "OUTSIDE_EEA",
                                "ILLEGAL_EMAIL",
                                "NOT_MATCH_PREFIX"
                            ],
                            "example": "EXPIRED_DOCUMENT"
                        }
                    },
                    "sourceOfFounds": {
                        "description": "All sources of founds customer set in JSON",
                        "properties": {
                            "business_activity": {
                                "schema": "objectArray",
                                "type": "array",
                                "items": {
                                    "properties": {
                                        "nip": {
                                            "description": "VAT number",
                                            "type": "string",
                                            "example": "5934273049"
                                        },
                                        "regon": {
                                            "description": "National Business Registry Number",
                                            "type": "string",
                                            "example": "DSD-5492/44004"
                                        }
                                    },
                                    "type": "object"
                                },
                                "nullable": true
                            },
                            "maintained_by_family": {
                                "schema": "objectArray",
                                "type": "array",
                                "items": {
                                    "properties": {
                                        "first_name": {
                                            "type": "string",
                                            "example": "John"
                                        },
                                        "last_name": {
                                            "type": "string",
                                            "example": "Smith"
                                        },
                                        "birth_date": {
                                            "type": "string",
                                            "format": "date",
                                            "example": "22-12-1950"
                                        }
                                    },
                                    "type": "object"
                                },
                                "nullable": true
                            }
                        },
                        "type": "object",
                        "nullable": "true"
                    },
                    "customData": {
                        "title": "customData",
                        "description": "Custom verification data provided by client",
                        "type": "object",
                        "example": {
                            "customerHeight": "180cm",
                            "locationOfBirth": "Lagos, Nigeria",
                            "nin": "12345678901"
                        },
                        "nullable": "true"
                    },
                    "financialInstitutions": {
                        "title": "financialInstitutions",
                        "description": "Financial institution data grouped by institution name",
                        "type": "object",
                        "example": {
                            "unblock": {
                                "uniqueCode": "UNIQ-13458"
                            }
                        },
                        "additionalProperties": {
                            "type": "object"
                        }
                    },
                    "address": {
                        "$ref": "#/components/schemas/VerificationAddress"
                    }
                },
                "type": "object"
            },
            "VerificationAddress": {
                "properties": {
                    "city": {
                        "title": "City",
                        "description": "city",
                        "type": "string",
                        "example": "Lublin"
                    },
                    "street": {
                        "title": "Street",
                        "description": "street",
                        "type": "string",
                        "example": "Rusałka"
                    },
                    "number": {
                        "title": "House number",
                        "description": "number",
                        "type": "string",
                        "example": "17a",
                        "nullable": true
                    },
                    "apartment": {
                        "title": "Apartment number",
                        "description": "apartment",
                        "type": "string",
                        "example": "2",
                        "nullable": true
                    },
                    "postCode": {
                        "title": "Post code",
                        "description": "postCode",
                        "type": "string",
                        "example": "20-128"
                    },
                    "province": {
                        "title": "Province",
                        "description": "province",
                        "type": "string",
                        "example": "Mazowieckie",
                        "nullable": true
                    },
                    "country": {
                        "title": "Country Alpha-2 code in ISO-3166",
                        "description": "country",
                        "type": "string",
                        "example": "PL"
                    }
                },
                "type": "object"
            },
            "VerificationCollection": {
                "title": "VerificationCollection",
                "description": "Verification Resource",
                "properties": {
                    "data": {
                        "title": "data",
                        "description": "data",
                        "type": "array",
                        "format": "array",
                        "items": {
                            "$ref": "#/components/schemas/Verification"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginatorLinks"
                    },
                    "meta": {
                        "$ref": "#/components/schemas/PaginatorMeta"
                    }
                },
                "type": "object"
            },
            "VerificationCustomer": {
                "properties": {
                    "id": {
                        "title": "DataCore user id",
                        "description": "id",
                        "type": "integer",
                        "example": "7",
                        "nullable": true
                    },
                    "firstName": {
                        "title": "First name",
                        "description": "firstName",
                        "type": "string",
                        "example": "John"
                    },
                    "lastName": {
                        "title": "Last name",
                        "description": "lastName",
                        "type": "string",
                        "example": "Doe"
                    },
                    "birthDate": {
                        "title": "Birth date",
                        "description": "birthDate",
                        "type": "string",
                        "format": "date",
                        "example": "1970-01-01"
                    }
                },
                "type": "object"
            },
            "VerificationDetails": {
                "title": "VerificationDetails",
                "description": "VerificationDetailsResource",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Verification"
                    },
                    {
                        "properties": {
                            "pesel": {
                                "title": "pesel",
                                "description": "Customer PESEL",
                                "type": "string",
                                "example": "70010155587",
                                "nullable": true
                            },
                            "identityCardNo": {
                                "title": "identityCardNo",
                                "description": "Number of identity card",
                                "type": "string",
                                "example": "ARG691869",
                                "nullable": true
                            },
                            "kycLevel": {
                                "title": "kycLevel",
                                "description": "KYC Level",
                                "type": "string",
                                "example": "LOW,MEDIUM,HIGH,EXTENDED",
                                "nullable": true
                            },
                            "customer": {
                                "$ref": "#/components/schemas/VerificationCustomer"
                            },
                            "address": {
                                "$ref": "#/components/schemas/VerificationAddress"
                            },
                            "documents": {
                                "title": "documents",
                                "description": "Verification documents",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/VerificationDocument"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "VerificationDocument": {
                "title": "VerificationDocument",
                "description": "Verification document resource",
                "properties": {
                    "id": {
                        "title": "Document identifier",
                        "description": "id",
                        "type": "string",
                        "format": "uuid",
                        "example": "70f91efb-3989-4289-916c-db4eed741a4e"
                    },
                    "type": {
                        "title": "Type of document",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "example": "idCard"
                    },
                    "url": {
                        "title": "Document URL",
                        "description": "url",
                        "type": "string",
                        "format": "url",
                        "example": "https://example.com/example.png"
                    },
                    "documentExpirationDate": {
                        "description": "Document expiration Date",
                        "type": "string",
                        "format": "date",
                        "example": "2025-01-30"
                    }
                },
                "type": "object"
            },
            "LockCollection": {
                "title": "LockCollection",
                "description": "Resource locks collection",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LockResource"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "LockResource": {
                "title": "Lock",
                "description": "Resource lock object",
                "properties": {
                    "id": {
                        "description": "unique identifier",
                        "format": "uuid",
                        "example": "492ec5ee-7f66-11ec-a8a3-0242ac120002"
                    },
                    "resourceType": {
                        "description": "Type of resource to be locked",
                        "type": "string",
                        "enum": [
                            "customer",
                            "corporation"
                        ],
                        "example": "customer"
                    },
                    "resourceId": {
                        "description": "Resource identifier",
                        "type": "string",
                        "example": "1337"
                    },
                    "reason": {
                        "description": "reason of resource lock",
                        "type": "string",
                        "enum": [
                            "DOCUMENT_EXPIRED",
                            "FRAUD_SUSPECTED",
                            "SCREENING_DETECTED",
                            "TEMPORARY_LOCKED",
                            "PEKAO_LOCK",
                            "ZEN_LOCK",
                            "PROSECUTOR_LOCK",
                            "FENIGE_LOCK",
                            "POLICE_LOCK",
                            "MANY_CARDS_LOCK",
                            "NEGATIVE_VERIFICATION",
                            "PRADO_VERIFICATION"
                        ],
                        "example": "DOCUMENT_EXPIRED"
                    }
                },
                "type": "object"
            },
            "MasterBalance": {
                "title": "MasterBalance",
                "description": "Master Balance",
                "properties": {
                    "id": {
                        "title": "Master Balance Identifier",
                        "description": "id",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "currency": {
                        "title": "Currency code ISO 4217",
                        "description": "currency",
                        "type": "string",
                        "format": "string",
                        "example": "PLN"
                    },
                    "balance": {
                        "title": "Balance in gross",
                        "description": "balance",
                        "type": "integer",
                        "format": "int",
                        "example": "1567"
                    },
                    "type": {
                        "title": "Type of Balance",
                        "description": "balance",
                        "type": "string",
                        "format": "string",
                        "example": "[CREDIT / DEPOSIT]"
                    },
                    "dcCorporationId": {
                        "title": "dcCorporationId",
                        "description": "DC Id of corporation",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac137777",
                        "nullable": true
                    },
                    "createdAt": {
                        "title": "createdAt",
                        "description": "createdAt",
                        "type": "string",
                        "format": "date",
                        "example": {
                            "date": "2023-03-02 13:21:37.000000",
                            "timezone_type": 3,
                            "timezone": "UTC"
                        }
                    },
                    "updatedAt": {
                        "title": "updatedAt",
                        "description": "updatedAt",
                        "type": "string",
                        "format": "date",
                        "example": {
                            "date": "2023-09-02 13:21:37.000000",
                            "timezone_type": 3,
                            "timezone": "UTC"
                        }
                    }
                },
                "type": "object"
            },
            "PaginatedCollection": {
                "title": "PaginatedCollection",
                "description": "Paginated resource collection",
                "properties": {
                    "data": {
                        "title": "data",
                        "description": "data",
                        "type": "array",
                        "format": "array",
                        "items": {}
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginatorLinks"
                    },
                    "meta": {
                        "$ref": "#/components/schemas/PaginatorMeta"
                    }
                },
                "type": "object"
            },
            "DailySettlement": {
                "title": "DailySettlement",
                "description": "Daily Settlement object",
                "properties": {
                    "id": {
                        "title": "Daily Settlement identifier",
                        "description": "Internal settlement identifier",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "transactionDate": {
                        "title": "Transaction date",
                        "description": "Date and time related transaction was performed",
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-20 12:03:45"
                    },
                    "transactionId": {
                        "title": "Transaction external identifier",
                        "description": "External identifier of related transaction",
                        "type": "string",
                        "example": "00812304"
                    },
                    "amount": {
                        "title": "Transaction amount",
                        "description": "Amount expressed in currency fractional unit",
                        "type": "integer",
                        "example": "350"
                    },
                    "currency": {
                        "title": "Transaction currency",
                        "description": "Currency code ISO 4217",
                        "type": "string",
                        "example": "PLN"
                    },
                    "cardId": {
                        "title": "Card identifier",
                        "description": "DataCore card id",
                        "type": "integer",
                        "example": "10181"
                    },
                    "type": {
                        "title": "Transaction event type",
                        "description": "Event type, one of: DEDUCT, LOAD",
                        "type": "string",
                        "example": "Deduct"
                    },
                    "configId": {
                        "title": "Configuration identifier",
                        "description": "Card configuration identifier",
                        "type": "string",
                        "example": "0013009713"
                    },
                    "processedAt": {
                        "title": "Processed at",
                        "description": "Date and time settlement has been processed. Null if not processed yet.",
                        "type": "string",
                        "format": "date-time",
                        "example": null,
                        "nullable": true
                    },
                    "description": {
                        "title": "description",
                        "description": "Description of daily settlement.",
                        "type": "string",
                        "example": "AE Sklep POLPOL"
                    }
                },
                "type": "object"
            },
            "DailySettlementCollection": {
                "title": "DailySettlementCollection",
                "description": "Daily Settlement resource collection",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/DailySettlement"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "DailySettlementDetails": {
                "title": "DailySettlementDetails",
                "description": "Detailed Daily Settlement object",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/DailySettlement"
                    },
                    {
                        "properties": {
                            "settlementAmount": {
                                "title": "Settlement amount",
                                "description": "Amount expressed in currency fractional unit",
                                "type": "integer",
                                "example": "350"
                            },
                            "transactionNarrative": {
                                "title": "Transaction Narrative",
                                "description": "Transaction description consists of MerchantName followed by three digit country code ISO 3166-1",
                                "type": "string",
                                "example": "MariuszPol POL"
                            },
                            "transactionType": {
                                "title": "Transaction type",
                                "description": "2 character string identifying the type of transaction: 00 => POS, 01 => ATM, 02 => Adjustment, 09 => Cashback at POS, 21 => Deposit",
                                "type": "string",
                                "example": "00"
                            },
                            "systemDate": {
                                "title": "System date",
                                "description": "Date and time transaction was performed",
                                "type": "string",
                                "format": "date-time",
                                "example": "2020-01-20 12:03:45"
                            },
                            "sequenceNumber": {
                                "title": "Sequence Number",
                                "description": "Sequence Number",
                                "type": "string",
                                "example": "13"
                            },
                            "trackingNumber": {
                                "title": "Tracking Number",
                                "description": "Tracking Number",
                                "type": "string",
                                "example": "213142400000013"
                            },
                            "interchangeAmount": {
                                "title": "Interchange amount",
                                "description": "Interchange amount expressed in currency fractional unit",
                                "type": "integer",
                                "example": "350"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ExportedReport": {
                "title": "ExportedReport",
                "description": "Exported report resource",
                "properties": {
                    "url": {
                        "title": "Report URL",
                        "description": "url",
                        "type": "string",
                        "format": "url",
                        "example": "https://example.com/example.png"
                    }
                },
                "type": "object"
            },
            "CollateralBalanceTransaction": {
                "title": "CollateralBalanceTransaction",
                "description": "Transaction object",
                "properties": {
                    "id": {
                        "title": "Transaction identifier",
                        "description": "Internal transaction identifier",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "externalId": {
                        "title": "Transaction external identifier",
                        "description": "Transaction external identifier",
                        "type": "string",
                        "example": "97eee13e-9439-11eb-7669-0242ac130002"
                    },
                    "transactionDate": {
                        "title": "Transaction date",
                        "description": "Date and time transaction was performed",
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-20 12:03:45"
                    },
                    "amount": {
                        "title": "Transaction amount",
                        "description": "Initial amount expressed in currency fractional unit",
                        "type": "integer",
                        "example": "350"
                    },
                    "currency": {
                        "title": "Transaction currency",
                        "description": "Currency code ISO 4217",
                        "type": "string",
                        "example": "PLN"
                    },
                    "type": {
                        "title": "Transaction type",
                        "description": "Transaction type, one of: collateralCredit, collateralDebit, collateralForcedDebit",
                        "type": "string",
                        "example": "collateralDebit"
                    },
                    "status": {
                        "title": "Transaction status",
                        "description": "Status of transaction, one of: AUTHORIZED, CLEARED, REVERSED, ERROR",
                        "type": "string",
                        "example": "AUTHORIZED"
                    },
                    "description": {
                        "title": "Transaction description",
                        "description": "",
                        "type": "string",
                        "example": "service fee"
                    }
                },
                "type": "object"
            },
            "CollateralBalanceTransactionCollection": {
                "title": "CollateralBalanceTransactionCollection",
                "description": "CollateralBalanceTransaction resource collection",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CollateralBalanceTransaction"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Transaction": {
                "title": "Transaction",
                "description": "Transaction object",
                "properties": {
                    "id": {
                        "title": "Transaction identifier",
                        "description": "Internal transaction identifier",
                        "type": "string",
                        "format": "uuid",
                        "example": "97eee13e-7669-11eb-9439-0242ac130002"
                    },
                    "externalId": {
                        "title": "Transaction external identifier",
                        "description": "Transaction external identifier",
                        "type": "string",
                        "example": "97eee13e-9439-11eb-7669-0242ac130002"
                    },
                    "transactionDate": {
                        "title": "Transaction date",
                        "description": "Date and time transaction was performed",
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-20 12:03:45"
                    },
                    "amount": {
                        "title": "Transaction amount",
                        "description": "Initial amount expressed in currency fractional unit",
                        "type": "integer",
                        "example": "350"
                    },
                    "finalAmount": {
                        "title": "Transaction final amount",
                        "description": "Final amount of transaction. Equals to amount + adjustmentAmount - reversalAmount",
                        "type": "integer",
                        "example": "160"
                    },
                    "currency": {
                        "title": "Transaction currency",
                        "description": "Currency code ISO 4217",
                        "type": "string",
                        "example": "PLN"
                    },
                    "eventType": {
                        "title": "Transaction event type",
                        "description": "Event type, one of: Deduct, DeductAdjustment, LoadAdjustment",
                        "type": "string",
                        "example": "Deduct"
                    },
                    "customerId": {
                        "title": "Customer identifier",
                        "description": "DataCore user id",
                        "type": "integer",
                        "example": "7"
                    },
                    "cardId": {
                        "title": "Card identifier",
                        "description": "DataCore card id",
                        "type": "integer",
                        "example": "10181"
                    },
                    "configId": {
                        "title": "Configuration identifier",
                        "description": "Card configuration identifier",
                        "type": "string",
                        "example": "0013009713"
                    },
                    "status": {
                        "title": "Transaction status",
                        "description": "Status of transaction, one of: AUTHORIZED, CLEARED, REVERSED, ERROR",
                        "type": "string",
                        "example": "AUTHORIZED"
                    },
                    "description": {
                        "title": "Transaction description",
                        "description": "",
                        "type": "string",
                        "example": "Audioteka WARSZAWA"
                    },
                    "type": {
                        "title": "Transaction type",
                        "description": "",
                        "type": "string",
                        "example": "forexCredit"
                    }
                },
                "type": "object"
            },
            "TransactionCollection": {
                "title": "TransactionCollection",
                "description": "Transaction resource collection",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginatedCollection"
                    },
                    {
                        "properties": {
                            "data": {
                                "title": "data",
                                "description": "data",
                                "type": "array",
                                "format": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Transaction"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "TransactionDetails": {
                "title": "TransactionDetails",
                "description": "Detailed transaction object",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Transaction"
                    },
                    {
                        "properties": {
                            "adjustmentAmount": {
                                "title": "Transaction adjustment amount",
                                "description": "Summarised amount of adjustments related to transaction",
                                "type": "integer",
                                "example": "10"
                            },
                            "reversalAmount": {
                                "title": "Transaction reversal amount",
                                "description": "Summarised amount of reversals related to transaction",
                                "type": "integer",
                                "example": "200"
                            },
                            "finalAmount": {
                                "title": "Transaction final amount",
                                "description": "Final amount of transaction. Equals to amount + adjustmentAmount - reversalAmount",
                                "type": "integer",
                                "example": "160"
                            },
                            "type": {
                                "title": "Type of transaction",
                                "description": "2 character string identifying the type of transaction: 00 => POS, 01 => ATM, 02 => Adjustment, 09 => Cashback at POS, 21 => Deposit",
                                "type": "string",
                                "example": "00",
                                "nullable": true
                            },
                            "captureMode": {
                                "title": "Capture mode",
                                "description": "Identify type of MDES transaction",
                                "type": "string",
                                "example": "ECOM",
                                "nullable": true
                            },
                            "area": {
                                "title": "Area of transaction",
                                "description": "Area of transaction, specific per project to distinguish transaction from many company areas like P2P, UCP etc.",
                                "type": "string",
                                "example": "PREPAID",
                                "nullable": true
                            },
                            "transactionEvents": {
                                "title": "Transaction Events",
                                "description": "Collection of events related to transaction",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/TransactionEvent"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "TransactionEvent": {
                "title": "TransactionEvent",
                "description": "Transaction Event object",
                "properties": {
                    "id": {
                        "title": "Transaction Event Identifier",
                        "description": "Transaction Event Identifier",
                        "type": "string",
                        "format": "uuid",
                        "example": "f661b8d8-3587-4642-a43d-42837e174044"
                    },
                    "type": {
                        "title": "Transaction Event type",
                        "description": "Event type, one of: Deduct, DeductAdjustment, LoadAdjustment",
                        "type": "string",
                        "example": "Deduct"
                    },
                    "transactionExternalId": {
                        "title": "Transaction Event external identifier",
                        "description": "Transaction Event external identifier",
                        "type": "string",
                        "format": "uuid",
                        "example": "79b97b81-52de-4ef6-b781-39b873ee6752"
                    },
                    "referenceTransactionExternalId": {
                        "title": "Reference Transaction external identifier",
                        "description": "External identifier of referenced Transaction",
                        "type": "string",
                        "example": null,
                        "nullable": true
                    },
                    "cardId": {
                        "title": "Card identifier",
                        "description": "DataCore card id",
                        "type": "integer",
                        "example": "10181"
                    },
                    "customerId": {
                        "title": "Customer identifier",
                        "description": "DataCore user id",
                        "type": "integer",
                        "example": "7"
                    },
                    "amount": {
                        "title": "Transaction Event amount",
                        "description": "Event amount expressed in currency fractional unit",
                        "type": "integer",
                        "example": "350"
                    },
                    "originalAmount": {
                        "title": "Original Amount",
                        "description": "Original Amount",
                        "type": "integer",
                        "example": null,
                        "nullable": true
                    },
                    "originalCurrency": {
                        "title": "Original Currency",
                        "description": "Original Currency",
                        "type": "string",
                        "example": null,
                        "nullable": true
                    },
                    "description": {
                        "title": "Description",
                        "description": "Transaction description consists of MerchantName followed by three digit country code ISO 3166-1",
                        "type": "string",
                        "example": "MariuszPol POL",
                        "nullable": true
                    },
                    "transactionType": {
                        "title": "Type of transaction",
                        "description": "2 character string identifying the type of transaction: 00 => POS, 01 => ATM, 02 => Adjustment, 09 => Cashback at POS, 21 => Deposit",
                        "type": "string",
                        "example": "00",
                        "nullable": true
                    },
                    "adjustmentReason": {
                        "title": "Adjustment reason",
                        "description": "Adjustment reason",
                        "type": "string",
                        "example": null,
                        "nullable": true
                    },
                    "additionalData": {
                        "title": "Additional Data",
                        "description": "Additional data in KLV format",
                        "type": "string",
                        "example": null,
                        "nullable": true
                    },
                    "transactionDate": {
                        "title": "Transaction date",
                        "description": "Date and time transaction was performed",
                        "type": "string",
                        "format": "date",
                        "example": "2020-01-20 12:03:45"
                    },
                    "referenceTransactionDate": {
                        "title": "Referenced Transaction date",
                        "description": "Date and time referenced transaction was performed",
                        "type": "string",
                        "format": "date",
                        "example": null,
                        "nullable": true
                    },
                    "cardTrackingNumber": {
                        "title": "Card tracking number",
                        "description": "Card tracking number",
                        "type": "string",
                        "example": null,
                        "nullable": true
                    },
                    "configId": {
                        "title": "Configuration identifier",
                        "description": "Card configuration identifier",
                        "type": "string",
                        "example": "0013009713"
                    },
                    "status": {
                        "title": "Transaction status",
                        "description": "Status of transaction, one of: AUTHORIZED, CLEARED, REVERSED, ERROR",
                        "type": "string",
                        "example": "AUTHORIZED"
                    },
                    "declineReason": {
                        "title": "Decline reason",
                        "description": "Decline reason",
                        "type": "string",
                        "example": null,
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CardLimitEntity": {
                "title": "Card limit",
                "description": "Card Limit",
                "properties": {
                    "maxAmount": {
                        "title": "Maximum amount for spend",
                        "description": "maxAmount",
                        "type": "integer",
                        "format": "int",
                        "example": "7",
                        "nullable": true
                    },
                    "timePeriod": {
                        "title": "Time validity of card limit.",
                        "description": "timePeriod",
                        "type": "string",
                        "format": "DateTime",
                        "example": "daily",
                        "nullable": true
                    },
                    "maxAttempts": {
                        "title": "Maximum allowed number of transactions",
                        "description": "maxAttempts",
                        "type": "integer",
                        "format": "int",
                        "example": "7",
                        "nullable": true
                    },
                    "type": {
                        "title": "Card limit type",
                        "description": "type",
                        "type": "string",
                        "format": "string"
                    },
                    "expiration": {
                        "title": "Time after limit will expire.",
                        "description": "expiration",
                        "type": "string",
                        "format": "DateTime",
                        "example": "2023-01-01 12:00:00",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "Address": {
                "title": "Address",
                "description": "Address",
                "properties": {
                    "id": {
                        "title": "Address identifier in uuid format",
                        "description": "id",
                        "type": "string",
                        "format": "string",
                        "example": "d415805e-028a-4578-9012-f0844346b230"
                    },
                    "city": {
                        "title": "City name",
                        "description": "city",
                        "type": "string",
                        "format": "string",
                        "example": "Lublin"
                    },
                    "number": {
                        "title": "Number",
                        "description": "Number",
                        "type": "string",
                        "format": "string",
                        "example": "17a"
                    },
                    "apartment": {
                        "title": "Apartment",
                        "description": "Apartment",
                        "type": "string",
                        "format": "string",
                        "example": "44"
                    },
                    "postCode": {
                        "title": "Post Code",
                        "description": "Post code",
                        "type": "string",
                        "format": "string",
                        "example": "20-103"
                    },
                    "country": {
                        "title": "Country code in format: Alpha-2 code ISO-3166-1",
                        "description": "Country code",
                        "type": "string",
                        "format": "string",
                        "example": "PL"
                    }
                },
                "type": "object"
            },
            "Customer": {
                "title": "CustomerResource",
                "description": "Customer",
                "properties": {
                    "id": {
                        "title": "DataCore user identifier",
                        "description": "id",
                        "type": "integer",
                        "format": "integer",
                        "example": "1124"
                    },
                    "firstName": {
                        "title": "firstName",
                        "description": "firstName",
                        "type": "string",
                        "format": "string",
                        "example": "John"
                    },
                    "lastName": {
                        "title": "lastName",
                        "description": "lastName",
                        "type": "string",
                        "format": "string",
                        "example": "Doe"
                    },
                    "birthDate": {
                        "title": "BirthDate",
                        "description": "BirthDate",
                        "type": "string",
                        "format": "string",
                        "example": "1970-01-01"
                    }
                },
                "type": "object"
            },
            "Document": {
                "title": "Document",
                "description": "DocumentEntity",
                "properties": {
                    "id": {
                        "title": "id",
                        "description": "id",
                        "type": "string",
                        "format": "string",
                        "example": "c331758b-9f7c-4808-81e6-72f342fc0c79"
                    },
                    "type": {
                        "title": "type of document",
                        "description": "type",
                        "type": "string",
                        "format": "string",
                        "example": "passport"
                    },
                    "path": {
                        "title": "file path",
                        "description": "path",
                        "type": "string",
                        "format": "string",
                        "example": "documents/3796/5a5b253b-ac14-4566-a89f-8c5d26544c4e/IEoETVaFOF1Qx4AuKN8YBBUB8Y9lOanAU2Izato3.jpeg"
                    }
                },
                "type": "object"
            },
            "PaginatorLinks": {
                "title": "PaginatorLinks",
                "description": "Paginator Links",
                "properties": {
                    "first": {
                        "title": "first",
                        "description": "first",
                        "type": "string",
                        "format": "string",
                        "example": "<app_url>/<route>?page=1"
                    },
                    "last": {
                        "title": "last",
                        "description": "last",
                        "type": "string",
                        "format": "string",
                        "example": "<app_url>/<route>?page=4"
                    },
                    "prev": {
                        "title": "prev",
                        "description": "prev",
                        "type": "string",
                        "format": "string",
                        "example": "null"
                    },
                    "next": {
                        "title": "next",
                        "description": "next",
                        "type": "string",
                        "format": "string",
                        "example": "<app_url>/<route>?page=2"
                    }
                },
                "type": "object"
            },
            "PaginatorMeta": {
                "title": "PaginatorLinks",
                "description": "Paginator Links",
                "properties": {
                    "currentPage": {
                        "title": "current_page",
                        "description": "current_page",
                        "type": "integer",
                        "format": "int",
                        "example": "1"
                    },
                    "from": {
                        "title": "from",
                        "description": "from",
                        "type": "integer",
                        "format": "int",
                        "example": "4"
                    },
                    "last_page": {
                        "title": "last_page",
                        "description": "last_page",
                        "type": "integer",
                        "format": "int",
                        "example": "4"
                    },
                    "path": {
                        "title": "path",
                        "description": "path",
                        "type": "string",
                        "format": "string",
                        "example": "<app_url>/<route>"
                    },
                    "per_page": {
                        "title": "per_page",
                        "description": "per_page",
                        "type": "integer",
                        "format": "int",
                        "example": "20"
                    },
                    "to": {
                        "title": "to",
                        "description": "to",
                        "type": "integer",
                        "format": "int",
                        "example": "4"
                    },
                    "total": {
                        "title": "total",
                        "description": "total",
                        "type": "integer",
                        "format": "int",
                        "example": "4"
                    }
                },
                "type": "object"
            },
            "ResourceNotFound": {
                "properties": {
                    "status": {
                        "type": "string",
                        "example": "RESOURCE_NOT_FOUND"
                    }
                },
                "type": "object"
            },
            "CustomerNotFound": {
                "properties": {
                    "status": {
                        "type": "string",
                        "example": "CANT_FIND_CUSTOMER"
                    }
                },
                "type": "object"
            }
        },
        "examples": {
            "InvalidLockTypeException": {
                "summary": "RESOURCE_NOT_FOUND",
                "value": {
                    "status": "INVALID_LOCK_TYPE"
                }
            },
            "NoActiveDocumentException": {
                "summary": "NO_ACTIVE_DOCUMENTS",
                "value": {
                    "status": "NO_ACTIVE_DOCUMENTS"
                }
            },
            "ResourceNotFound": {
                "summary": "RESOURCE_NOT_FOUND",
                "value": {
                    "status": "RESOURCE_NOT_FOUND"
                }
            },
            "CustomerNotFound": {
                "summary": "CUSTOMER_NOT_FOUND",
                "value": {
                    "status": "CUSTOMER_NOT_FOUND"
                }
            },
            "CorporationNotFound": {
                "summary": "CORPORATION_NOT_FOUND",
                "value": {
                    "status": "CORPORATION_NOT_FOUND"
                }
            },
            "CustomerBalanceNotFound": {
                "summary": "CUSTOMER_BALANCE_NOT_FOUND",
                "value": {
                    "status": "CUSTOMER_BALANCE_NOT_FOUND"
                }
            },
            "CorporationBalanceNotFound": {
                "summary": "CORPORATION_BALANCE_NOT_FOUND",
                "value": {
                    "status": "CORPORATION_BALANCE_NOT_FOUND"
                }
            },
            "CardNotFound": {
                "summary": "CARD_NOT_FOUND",
                "value": {
                    "status": "CARD_NOT_FOUND"
                }
            },
            "CardInvalid": {
                "summary": "INVALID_CARD",
                "value": {
                    "status": "INVALID_CARD"
                }
            },
            "CardLimitNotFound": {
                "summary": "CARD_LIMIT_NOT_FOUND",
                "value": {
                    "status": "CARD_LIMIT_NOT_FOUND"
                }
            },
            "BalanceLimitNotFound": {
                "summary": "BALANCE_LIMIT_NOT_FOUND",
                "value": {
                    "status": "BALANCE_LIMIT_NOT_FOUND"
                }
            },
            "CardBudgetNotFound": {
                "summary": "CARD_BUDGET_NOT_FOUND",
                "value": {
                    "status": "CARD_BUDGET_NOT_FOUND"
                }
            },
            "InvalidConfiguration": {
                "summary": "CANNOT_MATCH_CONFIGURATION",
                "value": {
                    "status": "CANNOT_MATCH_CONFIGURATION"
                }
            },
            "WpinNotFound": {
                "summary": "CANT_FIND_WPIN",
                "value": {
                    "status": "CANT_FIND_WPIN"
                }
            },
            "VerificationNotFound": {
                "summary": "VERIFICATION_NOT_FOUND",
                "value": {
                    "status": "VERIFICATION_NOT_FOUND"
                }
            },
            "VerificationDocumentNotExist": {
                "summary": "VERIFICATION_DOCUMENT_NOT_EXIST",
                "value": {
                    "status": "VERIFICATION_DOCUMENT_NOT_EXIST"
                }
            },
            "verificationDocumentAlreadyAttachedToOtherVerification": {
                "summary": "VERIFICATION_DOCUMENT_ALREADY_ATTACHED_TO_OTHER_VERIFICATION",
                "value": {
                    "status": "VERIFICATION_DOCUMENT_ALREADY_ATTACHED_TO_OTHER_VERIFICATION"
                }
            },
            "BalanceSummaryNotFound": {
                "summary": "CANT_FIND_BALANCE_SUMMARY",
                "value": {
                    "status": "CANT_FIND_BALANCE_SUMMARY"
                }
            },
            "OperationNotFound": {
                "summary": "OPERATION_NOT_FOUND",
                "value": {
                    "status": "OPERATION_NOT_FOUND"
                }
            },
            "CantCreateLinkedCard": {
                "summary": "CANT_CREATE_LINKED_CARD",
                "value": {
                    "status": "CANT_CREATE_LINKED_CARD"
                }
            },
            "InvalidCard": {
                "summary": "INVALID_CARD",
                "value": {
                    "status": "INVALID_CARD"
                }
            },
            "ChangePinFailure": {
                "summary": "CANT_CHANGE_PIN",
                "value": {
                    "status": "CANT_CHANGE_PIN"
                }
            },
            "LockCardFailure": {
                "summary": "CANT_LOCK_CARD",
                "value": {
                    "status": "CANT_LOCK_CARD"
                }
            },
            "UnlockCardFailure": {
                "summary": "CANT_UNLOCK_CARD",
                "value": {
                    "status": "CANT_UNLOCK_CARD"
                }
            },
            "LinkCardFailure": {
                "summary": "CANT_LINK_CARD",
                "value": {
                    "status": "CANT_LINK_CARD"
                }
            },
            "ActivateCardFailure": {
                "summary": "CANT_ACTIVATE_CARD",
                "value": {
                    "status": "CANT_ACTIVATE_CARD"
                }
            },
            "UpdateCvvFailure": {
                "summary": "CANT_UPDATE_CVV",
                "value": {
                    "status": "CANT_UPDATE_CVV"
                }
            },
            "DeleteSourceCardFailure": {
                "summary": "CANT_DELETE_SOURCE_CARD",
                "value": {
                    "status": "CANT_DELETE_SOURCE_CARD"
                }
            },
            "StoreCardFailure": {
                "summary": "CANT_STORE_CARD",
                "value": {
                    "status": "CANT_STORE_CARD"
                }
            },
            "CantAcceptVerification": {
                "summary": "CANT_ACCEPT_VERIFICATION",
                "value": {
                    "status": "CANT_ACCEPT_VERIFICATION"
                }
            },
            "CantUpdateBudget": {
                "summary": "CANT_UPDATE_BUDGET",
                "value": {
                    "status": "CANT_UPDATE_BUDGET"
                }
            },
            "CustomerBalanceNotCleared": {
                "summary": "CUSTOMER_BALANCE_NOT_CLEARED",
                "value": {
                    "status": "CUSTOMER_BALANCE_NOT_CLEARED"
                }
            },
            "CustomerAccountingBalanceNotCleared": {
                "summary": "CUSTOMER_ACCOUNTING_BALANCE_NOT_CLEARED",
                "value": {
                    "status": "CUSTOMER_ACCOUNTING_BALANCE_NOT_CLEARED"
                }
            },
            "LastCustomerBalanceLeft": {
                "summary": "CANT_DELETE_LAST_CUSTOMER_BALANCE",
                "value": {
                    "status": "CANT_DELETE_LAST_CUSTOMER_BALANCE"
                }
            },
            "InvalidCurrency": {
                "summary": "INVALID_CURRENCY",
                "value": {
                    "status": "INVALID_CURRENCY"
                }
            },
            "InvalidBalance": {
                "summary": "INVALID_BALANCE",
                "value": {
                    "status": "INVALID_BALANCE"
                }
            },
            "BalanceDisabled": {
                "summary": "BALANCE_DISABLED",
                "value": {
                    "status": "BALANCE_DISABLED"
                }
            },
            "InvalidAmount": {
                "summary": "INVALID_AMOUNT",
                "value": {
                    "status": "INVALID_AMOUNT"
                }
            },
            "InvalidCdd": {
                "summary": "INVALID_CDD",
                "value": {
                    "status": "INVALID_CDD",
                    "details": "List name cannot be empty."
                }
            },
            "CantDeleteCustomer": {
                "summary": "CANT_DELETE_CUSTOMER",
                "value": {
                    "status": "CANT_DELETE_CUSTOMER"
                }
            },
            "CantActivateCard": {
                "summary": "MAC_ALREADY_ACTIVATED",
                "value": {
                    "status": "MAC_ALREADY_ACTIVATED"
                }
            },
            "CantDecryptPayload": {
                "summary": "CANT_DECRYPT_PAYLOAD",
                "value": {
                    "status": "CANT_DECRYPT_PAYLOAD"
                }
            },
            "CustomerAlreadyRegistered": {
                "summary": "CUSTOMER_ALREADY_REGISTERED",
                "value": {
                    "status": "CUSTOMER_ALREADY_REGISTERED"
                }
            },
            "HasPendingVerifications": {
                "summary": "CUSTOMER_VERIFICATION_IN_PROGRESS",
                "value": {
                    "status": "CUSTOMER_VERIFICATION_IN_PROGRESS"
                }
            },
            "PermanentlyLocked": {
                "summary": "CUSTOMER_PERMANENTLY_LOCKED",
                "value": {
                    "status": "CUSTOMER_PERMANENTLY_LOCKED"
                }
            },
            "InvalidCountryCode": {
                "summary": "INVALID_COUNTRY_CODE",
                "value": {
                    "status": "INVALID_COUNTRY_CODE"
                }
            },
            "BudgetAlreadyExists": {
                "summary": "BUDGET_ALREADY_EXISTS",
                "value": {
                    "status": "BUDGET_ALREADY_EXISTS"
                }
            },
            "InsufficientFunds": {
                "summary": "INSUFFICIENT_FUNDS",
                "value": {
                    "status": "INSUFFICIENT_FUNDS"
                }
            },
            "MasterBalanceNotFound": {
                "summary": "MASTER_BALANCE_NOT_FOUND",
                "value": {
                    "status": "MASTER_BALANCE_NOT_FOUND"
                }
            },
            "CurrencyDifferenceError": {
                "summary": "CURRENCY_DIFFERENCE_ERROR",
                "value": {
                    "status": "CURRENCY_DIFFERENCE_ERROR"
                }
            },
            "TransactionAmountExceeded": {
                "summary": "TRANSACTION_AMOUNT_EXCEEDED",
                "value": {
                    "status": "TRANSACTION_AMOUNT_EXCEEDED"
                }
            },
            "TransactionIdConflict": {
                "summary": "TRANSACTION_ID_CONFLICT",
                "value": {
                    "status": "TRANSACTION_ID_CONFLICT"
                }
            },
            "TransactionAlreadyCleared": {
                "summary": "TRANSACTION_ALREADY_CLEARED",
                "value": {
                    "status": "TRANSACTION_ALREADY_CLEARED"
                }
            },
            "TransactionAlreadyReversed": {
                "summary": "TRANSACTION_ALREADY_REVERSED",
                "value": {
                    "status": "TRANSACTION_ALREADY_REVERSED"
                }
            },
            "FraudSuspected": {
                "summary": "FRAUD_SUSPECTED",
                "value": {
                    "status": "FRAUD_SUSPECTED"
                }
            },
            "CardIssuerError": {
                "summary": "CARD_ISSUER_ERROR",
                "value": {
                    "status": "CARD_ISSUER_ERROR"
                }
            },
            "EncryptionRequired": {
                "summary": "ENCRYPTION_REQUIRED",
                "value": {
                    "status": "ENCRYPTION_REQUIRED"
                }
            },
            "InvalidHeaderValue": {
                "summary": "INVALID_HEADER_VALUE",
                "value": {
                    "status": "INVALID_HEADER_VALUE"
                }
            },
            "InvalidPublicKey": {
                "summary": "INVALID_PUBLIC_KEY",
                "value": {
                    "status": "INVALID_PUBLIC_KEY"
                }
            },
            "InvalidParameter": {
                "summary": "INVALID_PARAMETER",
                "value": {
                    "status": "INVALID_PARAMETER",
                    "0": "description"
                }
            },
            "InvalidPayload": {
                "summary": "INVALID_PAYLOAD",
                "value": {
                    "status": "INVALID_PAYLOAD"
                }
            },
            "CustomerLocked": {
                "summary": "CUSTOMER_LOCKED",
                "value": {
                    "status": "CUSTOMER_LOCKED"
                }
            },
            "CardExpired": {
                "summary": "CARD_EXPIRED",
                "value": {
                    "status": "CARD_EXPIRED"
                }
            },
            "CardLocked": {
                "summary": "CARD_LOCKED",
                "value": {
                    "status": "CARD_LOCKED"
                }
            },
            "AlreadyExists": {
                "summary": "ALREADY_EXISTS",
                "value": {
                    "status": "ALREADY_EXISTS"
                }
            },
            "InvalidTransactionType": {
                "summary": "INVALID_TRANSACTION_TYPE",
                "value": {
                    "status": "INVALID_TRANSACTION_TYPE"
                }
            },
            "InvalidTransactionStatus": {
                "summary": "INVALID_TRANSACTION_STATUS",
                "value": {
                    "status": "INVALID_TRANSACTION_STATUS"
                }
            },
            "InvalidDescription": {
                "summary": "INVALID_DESCRIPTION",
                "value": {
                    "status": "INVALID_DESCRIPTION"
                }
            },
            "InvalidResource": {
                "summary": "INVALID_RESOURCE",
                "value": {
                    "status": "INVALID_RESOURCE"
                }
            },
            "TransactionNotFound": {
                "summary": "TRANSACTION_NOT_FOUND",
                "value": {
                    "status": "TRANSACTION_NOT_FOUND"
                }
            },
            "InvalidTransactionReference": {
                "summary": "INVALID_TRANSACTION_REFERENCE",
                "value": {
                    "status": "INVALID_TRANSACTION_REFERENCE"
                }
            },
            "SettlementNotFound": {
                "summary": "SETTLEMENT_NOT_FOUND",
                "value": {
                    "status": "SETTLEMENT_NOT_FOUND"
                }
            },
            "InvalidStatus": {
                "summary": "INVALID_STATUS",
                "value": {
                    "status": "INVALID_STATUS"
                }
            },
            "InvalidSettlementId": {
                "summary": "INVALID_SETTLEMENT_ID",
                "value": {
                    "status": "INVALID_SETTLEMENT_ID"
                }
            },
            "InvalidTransactionId": {
                "summary": "INVALID_TRANSACTION_ID",
                "value": {
                    "status": "INVALID_TRANSACTION_ID"
                }
            },
            "InvalidExternalTransactionId": {
                "summary": "INVALID_EXTERNAL_TRANSACTION_ID",
                "value": {
                    "status": "INVALID_EXTERNAL_TRANSACTION_ID"
                }
            },
            "InvalidLimitParameters": {
                "summary": "INVALID_LIMIT_PARAMETERS",
                "value": {
                    "status": "INVALID_LIMIT_PARAMETERS"
                }
            },
            "InvalidMaxAmount": {
                "summary": "INVALID_MAX_AMOUNT",
                "value": {
                    "status": "INVALID_MAX_AMOUNT"
                }
            },
            "InvalidMaxAttempts": {
                "summary": "INVALID_MAX_ATTEMPTS",
                "value": {
                    "status": "INVALID_MAX_ATTEMPTS"
                }
            },
            "InvalidMccList": {
                "summary": "INVALID_MCC_LIST",
                "value": {
                    "status": "INVALID_MCC_LIST"
                }
            },
            "CurrencyWithTypeMismatch": {
                "summary": "CURRENCY_WITH_TYPE_MISMATCH",
                "value": {
                    "status": "CURRENCY_WITH_TYPE_MISMATCH"
                }
            },
            "InvalidResourceType": {
                "summary": "INVALID_RESOURCE_TYPE",
                "value": {
                    "status": "INVALID_RESOURCE_TYPE"
                }
            },
            "InvalidResourceId": {
                "summary": "INVALID_RESOURCE_ID",
                "value": {
                    "status": "INVALID_RESOURCE_ID"
                }
            },
            "InvalidSenderResourceId": {
                "summary": "INVALID_SENDER_RESOURCE",
                "value": {
                    "status": "INVALID_SENDER_RESOURCE"
                }
            },
            "InvalidReceiverResourceId": {
                "summary": "INVALID_RECEIVER_RESOURCE",
                "value": {
                    "status": "INVALID_RECEIVER_RESOURCE"
                }
            },
            "InvalidReason": {
                "summary": "INVALID_REASON",
                "value": {
                    "status": "INVALID_REASON"
                }
            },
            "CardLimitError": {
                "summary": "CARD_LIMIT_ERROR",
                "value": {
                    "status": "CARD_LIMIT_ERROR"
                }
            },
            "CardLimitExceeded": {
                "summary": "CARD_LIMIT_EXCEEDED",
                "value": {
                    "status": "CARD_LIMIT_EXCEEDED"
                }
            },
            "DepositBalanceNotFound": {
                "summary": "DEPOSIT_BALANCE_NOT_FOUND",
                "value": {
                    "status": "DEPOSIT_BALANCE_NOT_FOUND"
                }
            },
            "InsufficientFundsOnDeposit": {
                "summary": "INSUFFICIENT_FUNDS_ON_DEPOSIT_BALANCE",
                "value": {
                    "status": "INSUFFICIENT_FUNDS_ON_DEPOSIT_BALANCE"
                }
            },
            "AmlException": {
                "summary": "AML_EXCEPTION",
                "value": {
                    "status": "AML_EXCEPTION"
                }
            },
            "InternalServerError": {
                "summary": "INTERNAL_SERVER_ERROR",
                "value": {
                    "status": "INTERNAL_SERVER_ERROR"
                }
            },
            "BadGateway": {
                "summary": "BAD_GATEWAY",
                "value": {
                    "status": "BAD_GATEWAY"
                }
            },
            "VerificationAlreadyExist": {
                "summary": "VERIFICATION_ALREADY_EXIST",
                "value": {
                    "status": "VERIFICATION_ALREADY_EXIST"
                }
            },
            "KycNotVerified": {
                "summary": "KYC_NOT_VERIFIED",
                "value": {
                    "status": "KYC_NOT_VERIFIED"
                }
            },
            "MethodNotAllowed": {
                "summary": "METHOD_NOT_ALLOWED",
                "value": {
                    "status": "METHOD_NOT_ALLOWED"
                }
            },
            "NotFound": {
                "summary": "NOT_FOUND",
                "value": {
                    "status": "NOT_FOUND"
                }
            },
            "NotImplemented": {
                "summary": "NOT_IMPLEMENTED",
                "value": {
                    "status": "NOT_IMPLEMENTED"
                }
            },
            "ConfigIdRequired": {
                "summary": "CONFIG_ID_REQUIRED",
                "value": {
                    "status": "CONFIG_ID_REQUIRED"
                }
            },
            "InvalidBalanceId": {
                "summary": "INVALID_BALANCE_ID",
                "value": {
                    "status": "INVALID_BALANCE_ID"
                }
            },
            "BalanceIdRequired": {
                "summary": "BALANCE_ID_REQUIRED",
                "value": {
                    "status": "BALANCE_ID_REQUIRED"
                }
            },
            "BalanceNotFound": {
                "summary": "BALANCE_NOT_FOUND",
                "value": {
                    "status": "BALANCE_NOT_FOUND"
                }
            },
            "InvalidCustomerId": {
                "summary": "INVALID_CUSTOMER_ID",
                "value": {
                    "status": "INVALID_CUSTOMER_ID"
                }
            },
            "InvalidRangeFrom": {
                "summary": "INVALID_RANGE_FROM",
                "value": {
                    "status": "INVALID_RANGE_FROM"
                }
            },
            "InvalidRangeTo": {
                "summary": "INVALID_RANGE_TO",
                "value": {
                    "status": "INVALID_RANGE_TO"
                }
            },
            "FieldIsRequired": {
                "summary": "FIELD_IS_REQUIRED",
                "value": {
                    "status": "FIELD_IS_REQUIRED"
                }
            },
            "DateIsInvalid": {
                "summary": "DATE_IS_INVALID",
                "value": {
                    "status": "DATE_IS_INVALID"
                }
            },
            "DateFormatIsInvalid": {
                "summary": "DATE_FORMAT_IS_INVALID",
                "value": {
                    "status": "DATE_FORMAT_IS_INVALID"
                }
            },
            "InvalidBalanceOwner": {
                "summary": "INVALID_BALANCE_OWNER",
                "value": {
                    "status": "INVALID_BALANCE_OWNER"
                }
            },
            "InvalidContrahentData": {
                "summary": "INVALID_CONTRAHENT_DATA",
                "value": {
                    "status": "INVALID_CONTRAHENT_DATA"
                }
            },
            "InvalidId": {
                "summary": "INVALID_ID_FORMAT",
                "value": {
                    "status": "INVALID_ID_FORMAT"
                }
            },
            "create error": {
                "summary": "CANNOT_CREATE",
                "value": {
                    "status": "CANNOT_CREATE"
                }
            },
            "invalid limit currency": {
                "summary": "INVALID_LIMIT_CURRENCY",
                "value": {
                    "status": "INVALID_LIMIT_CURRENCY"
                }
            },
            "limit already exists": {
                "summary": "LIMIT_ALREADY_EXISTS",
                "value": {
                    "status": "LIMIT_ALREADY_EXISTS"
                }
            }
        },
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "description": "Depending on methods you're calling two types of tokens are supported. Admin methods - JWT from admin panel. Customer methods - session token obtained from DataCore (eg. after pair device).",
                "name": "Authorization",
                "in": "header",
                "scheme": "bearer"
            }
        }
    },
    "tags": [
        {
            "name": "Customer Balances",
            "description": "Customer Balances"
        },
        {
            "name": "Customer Balance",
            "description": "Customer Balance"
        },
        {
            "name": "Customer Cards",
            "description": "Customer Cards"
        },
        {
            "name": "Customer - Cards",
            "description": "Customer - Cards"
        },
        {
            "name": "Customer Registration",
            "description": "Customer Registration"
        },
        {
            "name": "Customer",
            "description": "Customer"
        },
        {
            "name": "Public Key",
            "description": "Public Key"
        },
        {
            "name": "Async Operation",
            "description": "Async Operation"
        }
    ],
    "externalDocs": {
        "description": "JWE ENCRYPTION",
        "url": "https://developer.verestro.com/books/card-management-system/page/overview#bkmrk-step-1.-configuratio-0"
    },
    "security": [
        {
            "bearerAuth": []
        }
    ]
}