{
    "openapi": "3.0.0",
    "info": {
        "title": "Amnis treasury API",
        "description": "",
        "license": {
            "name": "Apache 2.0",
            "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
        },
        "version": "0.0.1"
    },
    "servers": [
        {
            "url": "https://api.amnistreasury.com",
            "description": "Production server"
        }
    ],
    "paths": {
        "/api/wallet_transaction_details/{id}": {
            "get": {
                "operationId": "get-wallet-transaction-detail",
                "tags": [
                    "WalletTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/WalletTransactionDetail-WalletTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single PEER (P2P) payment",
                "description": "This API endpoint is designed to retrieve detailed information about a specific PEER (P2P) payment. It allows you to access all relevant details of an individual PEER (P2P) payment transaction.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "WalletTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/wallet_transaction_details": {
            "get": {
                "operationId": "get-wallet-transaction-detail-list",
                "tags": [
                    "WalletTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/WalletTransactionDetail-WalletTransactionDetailView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of PEER (P2P) payments",
                "description": "This API endpoint is intended to retrieve a collection of PEER (P2P) payments, specifically recent P2P payments for an account.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/transactions/{transactionId}/documents/{documentId}": {
            "delete": {
                "operationId": "transaction-expense-document-delete",
                "tags": [
                    "Transaction"
                ],
                "responses": {
                    "204": {
                        "description": "OK - The request was processed successfully but no content to return.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": []
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "detail": {
                                            "type": "string",
                                            "example": "Document not deletable for completed expense."
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "An error occurred"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Delete an expense document from a transaction",
                "description": "<p>This endpoint deletes an expense document from an existing transaction.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Restrictions:</b></p> <p>Only expense documents belonging to the given transaction can be deleted, and completed expenses do not allow document deletion.</p>",
                "parameters": [
                    {
                        "name": "transactionId",
                        "in": "path",
                        "description": "Transaction identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "documentId",
                        "in": "path",
                        "description": "Document identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/transactions/{id}/toggle-expense-completed": {
            "patch": {
                "operationId": "transaction-expense-toggle-completed",
                "tags": [
                    "Transaction"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transaction-TransactionView_FeeTransactionDetailView_FxTransactionDetailView_CardTransactionDetailView_PayinTransactionDetailView_PayoutTransactionDetailView_WalletTransactionDetailView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Toggle expense completion for a transaction",
                "description": "<p>This endpoint marks a transaction expenses as completed or not complete.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Eligibility:</b> The transaction type must be enabled in the business partner expense settings targets.</p> <p><b>Request Body:</b></p> <ul> <li><b>markAsComplete</b>: Boolean flag to set expense as complete or put back in not completed.</li></ul> <p><b>Validation Errors:</b> Responses return status <b>422</b> with an <b>errors</b> array containing <b>field</b>, <b>code</b>, and <b>message</b>. Possible <b>code</b> values include:</p> <ul> <li><b>transaction.type.not_supported</b></li> <li><b>input.mark_as_complete.not_valid</b></li> <li><b>invalid</b></li></ul>",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Transaction identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Transaction.TransactionExpenseCompletedDTO-TransactionExpenseComplete"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/transactions/{id}/expense-upload": {
            "post": {
                "operationId": "transaction-expense-upload",
                "tags": [
                    "Transaction"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Document-DocumentView"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "detail": {
                                            "type": "string",
                                            "example": "The `file` parameter is required."
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "An error occurred"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Upload an expense document for a transaction",
                "description": "<p>This endpoint uploads an expense document for an existing transaction.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Eligibility:</b> The transaction type must be enabled in the business partner expense settings targets.</p>",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Transaction identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "file"
                                ],
                                "properties": {
                                    "file": {
                                        "type": "string",
                                        "format": "binary"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/transactions/{id}/expense": {
            "patch": {
                "operationId": "transaction-expense-update",
                "tags": [
                    "Transaction"
                ],
                "responses": {
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. ",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "example": 422
                                        },
                                        "message": {
                                            "type": "string",
                                            "example": "Validation failed"
                                        },
                                        "errors": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "field": {
                                                        "type": "string",
                                                        "example": "category"
                                                    },
                                                    "code": {
                                                        "type": "string",
                                                        "example": "input.category.not_valid"
                                                    },
                                                    "message": {
                                                        "type": "string",
                                                        "example": "Category is not valid."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 422,
                                    "message": "Validation failed",
                                    "errors": [
                                        {
                                            "field": "category",
                                            "code": "input.category.not_valid",
                                            "message": "Category is not valid."
                                        },
                                        {
                                            "field": "vatRate",
                                            "code": "input.vat_rate.not_valid",
                                            "message": "VAT rate must be an array of 1-3 numeric values."
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transaction-TransactionView_FeeTransactionDetailView_FxTransactionDetailView_CardTransactionDetailView_PayinTransactionDetailView_PayoutTransactionDetailView_WalletTransactionDetailView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Update expense information for a transaction",
                "description": "<p>This endpoint updates expense information for an existing transaction.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Eligibility:</b> The transaction type must be enabled in the business partner expense settings targets.</p> <p><b>Request Body:</b></p> <ul> <li><b>category</b>: Expense category ID.</li> <li><b>costCenter</b>: Expense cost center ID.</li> <li><b>vats</b>: Array of 1-3 VAT rows containing <b>expenseVat</b>, <b>rate</b>, <b>amount</b>, <b>grossAmount</b>, <b>externalId</b>.</li> <li><b>vatRate</b>/<b>vatAmount</b>: Deprecated legacy format, still accepted for backward compatibility.</li> <li><b>note</b>: Optional comment.</li></ul> <p><b>Completion update:</b> Expense completion is recalculated during the request, and the response contains the latest <b>expenseCompletedAt</b> value.</p> <p><b>Validation Errors:</b> Responses return status <b>422</b> with an <b>errors</b> array containing <b>field</b>, <b>code</b>, and <b>message</b>. Possible <b>code</b> values include:</p> <ul> <li><b>transaction.type.not_supported</b></li> <li><b>input.category.not_valid</b></li> <li><b>input.cost_center.not_valid</b></li> <li><b>input.vat_rate.not_valid</b></li> <li><b>input.vat_amount.not_valid</b></li> <li><b>input.comment.not_valid</b></li> <li><b>expense.vat.not_valid</b></li> <li><b>expense.category.transaction_type_not_allowed</b></li> <li><b>expense.cost_center.transaction_type_not_allowed</b></li> <li><b>expense.category.card_group_not_allowed</b></li> <li><b>expense.cost_center.card_group_not_allowed</b></li> <li><b>invalid</b></li></ul>",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Transaction identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Transaction.TransactionExpenseUpdateDTO-TransactionExpenseUpdate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/transactions/{id}": {
            "get": {
                "operationId": "get-transaction",
                "tags": [
                    "Transaction"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transaction-TransactionView_FeeTransactionDetailView_FxTransactionDetailView_CardTransactionDetailView_PayinTransactionDetailView_PayoutTransactionDetailView_WalletTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single account transaction",
                "description": "This API endpoint is tailored to retrieve detailed information about an individual transaction, serving as a valuable tool for accessing specific transaction data within your system.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Transaction identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/transactions": {
            "get": {
                "operationId": "get-transaction-list",
                "tags": [
                    "Transaction"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/ld+json": {
                                "example": {
                                    "hydra:member": [
                                        {
                                            "id": 1,
                                            "currency": "CHF",
                                            "amount": "100.00",
                                            "type": "payin",
                                            "executionDate": "2023-01-01T00:00:00+00:00",
                                            "executed": true,
                                            "createdAt": "2023-01-01T00:00:00+00:00",
                                            "updatedAt": "2023-01-01T00:00:00+00:00",
                                            "account": 1,
                                            "transactionDetailId": 1,
                                            "tags": [
                                                "tag1",
                                                "tag2"
                                            ],
                                            "documents": [],
                                            "externalIntegrations": [
                                                {
                                                    "externalId": "282",
                                                    "type": "initial",
                                                    "documentId": "111-111",
                                                    "lastTriggeredAt": "2025-02-21T17:40:32+00:00",
                                                    "integrationType": "bexio"
                                                }
                                            ]
                                        }
                                    ],
                                    "hydra:totalItems": 1
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of transactions",
                "description": "This API endpoint is designed to retrieve a collection of transactions, providing a valuable tool for accessing recent transaction data for an account within your system.",
                "parameters": [
                    {
                        "name": "includeTransactionDetail",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "includeExternalIntegrations",
                        "in": "query",
                        "description": "Include externalIntegrations field in response items.",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "abs_amount[lt]",
                        "in": "query",
                        "description": "Filter by absolute amount",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "abs_amount[lte]",
                        "in": "query",
                        "description": "Filter by absolute amount",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "abs_amount[gt]",
                        "in": "query",
                        "description": "Filter by absolute amount",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "abs_amount[gte]",
                        "in": "query",
                        "description": "Filter by absolute amount",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "description": "Select transactions by transaction type",
                            "type": "string",
                            "enum": [
                                "fee",
                                "fx",
                                "peer",
                                "payout",
                                "payin",
                                "card"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "account",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "contact",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executed",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[createdAt]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[updatedAt]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[executionDate]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/token": {
            "post": {
                "operationId": "generate-access-token",
                "tags": [
                    "Authentication"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ClientCredentialsAuthenticationOutput"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Authentication error.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Generate Access Token",
                "parameters": [
                    {
                        "name": "Content-Type",
                        "in": "header",
                        "description": "",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "application/json"
                            ]
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ClientCredentialsAuthenticationBody"
                            }
                        }
                    },
                    "required": false
                }
            }
        },
        "/api/rebel/v1/consents/{id}": {
            "get": {
                "operationId": "rebel-api-get-consent",
                "tags": [
                    "RebelConsent"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RebelConsent-ConsentView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieves a RebelConsent resource.",
                "description": "Retrieves a RebelConsent resource.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "RebelConsent identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false
            }
        },
        "/api/rebel/v1/consents": {
            "post": {
                "operationId": "rebel-api-create-consent",
                "tags": [
                    "RebelConsent"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RebelConsent-ConsentCreateView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Creates a RebelConsent resource.",
                "description": "Creates a RebelConsent resource.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RebelConsent"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false
            }
        },
        "/api/rebel/v1/accounts/{resourceId}/transactions": {
            "get": {
                "operationId": "rebel-api-get-account-transactions-export",
                "tags": [
                    "RebelAccount"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/xml": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "Document": {
                                            "type": "string",
                                            "example": "..."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Export Camt53 file for account movements",
                "description": "This API endpoint has been purposefully crafted to gather account movements into a Camt53 file.",
                "parameters": [
                    {
                        "name": "resourceId",
                        "in": "path",
                        "description": "Resource identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "dateFrom",
                        "in": "query",
                        "description": "",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "2021-01-01"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "dateTo",
                        "in": "query",
                        "description": "",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "2021-01-31"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/rebel/v1/accounts/{resourceId}": {
            "get": {
                "operationId": "rebel-api-get-account",
                "tags": [
                    "RebelAccount"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RebelAccount-RebelAccountView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieves a RebelAccount resource.",
                "description": "Retrieves a RebelAccount resource.",
                "parameters": [
                    {
                        "name": "resourceId",
                        "in": "path",
                        "description": "RebelAccount identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/rebel/v1/accounts": {
            "get": {
                "operationId": "rebel-api-get-account-list",
                "tags": [
                    "RebelAccount"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/RebelAccount-RebelAccountView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieves the collection of RebelAccount resources.",
                "description": "Retrieves the collection of RebelAccount resources.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 500
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/paypal_orders/{orderId}/capture": {
            "post": {
                "operationId": "capture-paypal-order",
                "tags": [
                    "PayPalOrder"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "captured": {
                                            "type": "boolean",
                                            "example": true
                                        }
                                    },
                                    "required": [
                                        "captured"
                                    ]
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PayPalOrder-PayPalOrderView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Capture a PayPal Order",
                "description": "Captures an approved PayPal order and returns its status.",
                "parameters": [
                    {
                        "name": "orderId",
                        "in": "path",
                        "description": "The PayPal order ID to capture",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false,
                        "example": "6MR709191W4328148"
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            }
        },
        "/api/paypal_orders": {
            "post": {
                "operationId": "create-paypal-order",
                "tags": [
                    "PayPalOrder"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PayPalOrder-PayPalOrderView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a PayPal Order",
                "description": "Creates a new PayPal order and returns its ID.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PayPalOrder.PayPalOrderCreateDTO"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            }
        },
        "/api/payout_transaction_details/{id}/tracking": {
            "get": {
                "operationId": "get-payout-transaction-detail-tracking",
                "tags": [
                    "PayoutTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "transaction_status": {
                                            "type": "string"
                                        },
                                        "transaction_status_reason": {
                                            "type": "string"
                                        },
                                        "initiation_time": {
                                            "type": "string"
                                        },
                                        "completion_time": {
                                            "type": "string"
                                        },
                                        "last_update_time": {
                                            "type": "string"
                                        },
                                        "events": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "tracker_event_type": {
                                                        "type": "string"
                                                    },
                                                    "last_update_time": {
                                                        "type": "string"
                                                    },
                                                    "charge_type": {
                                                        "type": "string"
                                                    },
                                                    "from_bic": {
                                                        "type": "string"
                                                    },
                                                    "from_name": {
                                                        "type": "string"
                                                    },
                                                    "to_bic": {
                                                        "type": "string"
                                                    },
                                                    "to_name": {
                                                        "type": "string"
                                                    },
                                                    "instructed": {
                                                        "type": "object",
                                                        "properties": {
                                                            "amount": {
                                                                "type": "string"
                                                            },
                                                            "currency": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    },
                                                    "confirmed": {
                                                        "type": "object",
                                                        "properties": {
                                                            "amount": {
                                                                "type": "string"
                                                            },
                                                            "currency": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "nbr_events": {
                                            "type": "integer"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single payout payment tracking info",
                "description": "This API endpoint is designed to retrieve tracking information about a specific payout payment. Note: this endpoint is only applicable for SWIFT payments.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PayoutTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/payout_transaction_details/{id}/submission-info": {
            "get": {
                "operationId": "get-payout-transaction-detail-submission-info",
                "tags": [
                    "PayoutTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "fileName": {
                                            "type": "string"
                                        },
                                        "content": {
                                            "type": "string"
                                        },
                                        "format": {
                                            "type": "string",
                                            "enum": [
                                                "MT103",
                                                "PACS008"
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve payment submission info",
                "description": "Retrieves the payment submission document (MT103 or pacs.008) for a SWIFT payment processed via CurrencyCloud.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PayoutTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/payout_transaction_details/{id}/mt103": {
            "get": {
                "operationId": "get-payout-transaction-detail-mt-103",
                "tags": [
                    "PayoutTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "filename": {
                                            "type": "string"
                                        },
                                        "content": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "title": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "detail": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "(Deprecated - use /submission-info instead) Retrieve MT103 payment submission info",
                "description": "Deprecated. Use /submission-info instead. Returns MT103 content for SWIFT payments. Returns 404 for pacs.008 payments.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PayoutTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": true,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/payout_transaction_details/{id}": {
            "get": {
                "operationId": "get-payout-transaction-detail",
                "tags": [
                    "PayoutTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PayoutTransactionDetail-PayoutTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single payout payment",
                "description": "This API endpoint is designed to retrieve detailed information about a specific payout payment, providing access to all relevant details of an individual payout payment transaction.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PayoutTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/payout_transaction_details": {
            "get": {
                "operationId": "get-payout-transaction-detail-list",
                "tags": [
                    "PayoutTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/PayoutTransactionDetail-PayoutTransactionDetailView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of payout payments",
                "description": "This API endpoint is intended to retrieve a collection of payout payments, specifically recent payout payments for an account.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "create-payout-transaction-detail",
                "tags": [
                    "PayoutTransactionDetail"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "$ref": "#/components/schemas/PayoutTransactionDetail-PayoutTransactionDetailView"
                                        },
                                        {
                                            "$ref": "#/components/schemas/WalletTransactionDetail-WalletTransactionDetailView"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a payment",
                "description": "<p>This endpoint is intended to create a new payment.</p><p><b>Prerequisites:</b></p><p>To use this endpoint you need to have the <b>PAYMENT_CREATE</b> scope for the API Key. Please contact your relation manager to get this permission.</p><p><b>Request Parameters:</b></p><p><b>Beneficiary</b> Object is represented as <a href=\"/amnis/get-contact\">Contact</a> Object.</p><ul><li><b>beneficiary.type</b> : specifies the type of beneficiary and can be either \"legal_entity\" or \"person\"</li><li><b>beneficiary.country</b> : indicates the two-letter ISO country code of the beneficiary's country (e.g., \"CH\" for Switzerland)</li><li>either <b>bankAccount.iban</b> or <b>bankAccount.accountNumber</b> is mandatory</li></ul><p>Payment signoff <ul><li><b>Default</b>: payments created with API <b>are not signed off</b>, they must be signed off in amnis Web App before being processed</li><li><b>PEER</b>: payments created with API to an IBAN of current amnis customers are <b>automatically signed and immediately processed</b> as PEER payment. Learn more here about <a href=\"https://help.amnistreasury.com/en/articles/5653001-p2p-payment-meaning-what-are-peer-payments\"><b>amnis PEER</b></a>.</li></ul></p>",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PayoutTransactionDetail-PayoutTransactionDetailCreate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYMENT_CREATE"
                        ]
                    }
                ]
            }
        },
        "/api/payment_requests/{id}/documents/upload": {
            "post": {
                "operationId": "upload-payment-request-document",
                "tags": [
                    "PaymentRequest"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaymentRequest.Document-PaymentRequestView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Upload payment request attachment",
                "description": "**Requires the `PAYPAL` OAuth scope.** Upload an attachment for an existing payment request draft.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PaymentRequest identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "file": {
                                        "type": "string",
                                        "format": "binary",
                                        "description": "Allowed file types: PDF, JPG, JPEG, PNG."
                                    },
                                    "description": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string",
                                        "example": "payment_request"
                                    }
                                },
                                "required": [
                                    "file",
                                    "type"
                                ]
                            }
                        }
                    },
                    "required": false
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            }
        },
        "/api/payment_requests/{id}/activate": {
            "patch": {
                "operationId": "activate-payment-request",
                "tags": [
                    "PaymentRequest"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaymentRequest-PaymentRequestView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Activate payment request",
                "description": "**Requires the `PAYPAL` OAuth scope.** Finalize a draft payment request. This call creates the PayPal order and sends notifications when applicable.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PaymentRequest identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            }
        },
        "/api/payment_requests/{id}": {
            "get": {
                "operationId": "get-payment-request",
                "tags": [
                    "PaymentRequest"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaymentRequest-PaymentRequestView"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single payment request",
                "description": "**Requires the `PAYPAL` OAuth scope.** Retrieve details for a payment request created by your business partner.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PaymentRequest identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            }
        },
        "/api/payment_requests": {
            "get": {
                "operationId": "get-payment-request-list",
                "tags": [
                    "PaymentRequest"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/PaymentRequest-PaymentRequestView"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve payment requests",
                "description": "**Requires the `PAYPAL` OAuth scope.** Retrieve payment requests created by your business partner.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "create-payment-request",
                "tags": [
                    "PaymentRequest"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaymentRequest-PaymentRequestView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a payment request",
                "description": "**Requires the `PAYPAL` OAuth scope.** Create a draft payment request for a selected contact. You can upload attachments before finalizing it via /payment_requests/{id}/activate.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PaymentRequest.PaymentRequestCreateDTO"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "PAYPAL"
                        ]
                    }
                ]
            }
        },
        "/api/payin_transaction_details/{id}": {
            "get": {
                "operationId": "get-payin-transaction-detail",
                "tags": [
                    "PayinTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PayinTransactionDetail-PayinTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single pay-in payment",
                "description": "This API endpoint is your gateway to acquiring a wealth of information concerning an individual pay-in payment.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "PayinTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/payin_transaction_details": {
            "get": {
                "operationId": "get-payin-transaction-detail-list",
                "tags": [
                    "PayinTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/PayinTransactionDetail-PayinTransactionDetailView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of pay-in payments",
                "description": "This API endpoint has been purposefully crafted to gather a compilation of pay-in payments, with a specific emphasis on acquiring all the latest pay-in transactions associated with a designated account.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate",
                        "in": "query",
                        "description": "Select transactions by transaction execution date",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/info": {
            "get": {
                "operationId": "get-info",
                "tags": [
                    "Info"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Info"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve an available BP information",
                "description": "This endpoint is tailored to retrieve the available BP (business partner) information.",
                "parameters": [],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/fx_transaction_details/{id}": {
            "get": {
                "operationId": "get-fx-transaction-detail",
                "tags": [
                    "FxTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FxTransactionDetail-FxTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single FX transaction",
                "description": "This API endpoint is your gateway to delving into the intricacies of an individual foreign exchange (FX) transaction, enabling you to uncover a treasure trove of details about a specific FX transaction.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "FxTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/fx_transaction_details": {
            "get": {
                "operationId": "get-fx-transaction-detail-list",
                "tags": [
                    "FxTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/FxTransactionDetail-FxTransactionDetailView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of FX transactions",
                "description": "This API endpoint allows you to retrieve a collection of FX transactions, providing you with a list of recent FX transactions. You can use various query parameters to customize your request and filter the results according to your specific needs.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currencyFrom",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currencyTo",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountFrom[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountFrom[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountFrom[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountFrom[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountTo[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountTo[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountTo[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amountTo[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "dealDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "dealDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "dealDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "dealDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "valueDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "valueDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "valueDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "valueDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "create-fx-transaction-detail",
                "tags": [
                    "FxTransactionDetail"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FxTransactionDetail-FxTransactionDetailView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a FX transaction",
                "description": "Creates a new FX transaction using the specified currency pair, value date, and either amountFrom or amountTo. Only one of the two amounts may be provided per request.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/FxTransactionDetail.FxTransactionDetailCreateDTO"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "FX"
                        ]
                    }
                ]
            }
        },
        "/api/fee_transaction_details/{id}": {
            "get": {
                "operationId": "get-fee-transaction-detail",
                "tags": [
                    "FeeTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FeeTransactionDetail-FeeTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single fee",
                "description": "The endpoint is designed to retrieve the details of a single fee based on a specific fee ID.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "FeeTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/fee_transaction_details": {
            "get": {
                "operationId": "get-fee-transaction-detail-list",
                "tags": [
                    "FeeTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/FeeTransactionDetail-FeeTransactionDetailView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of fees",
                "description": "This API endpoint is designed to provide you with a detailed list of fees associated with an account, with the flexibility to filter and paginate the results to meet your specific needs.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/expense_vats/{id}": {
            "get": {
                "operationId": "get-expense-vat",
                "tags": [
                    "Expense VAT"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Expense.VAT-ExpenseVATView"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single expense VAT",
                "description": "<p>This API endpoint is tailored to retrieve detailed information about an individual expense VAT, serving as a valuable tool for accessing specific expense VAT data within your system.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p>",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Expense VAT identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/expense_vats": {
            "get": {
                "operationId": "get-expense-vat-list",
                "tags": [
                    "Expense VAT"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/Expense.VAT-ExpenseVATView"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of expense VAT rates",
                "description": "<p>This API endpoint is designed to retrieve a collection of expense VAT rates, providing a valuable tool for accessing recent expense VAT rates data for an account within your system.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p>",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "create-expense-vat",
                "tags": [
                    "Expense VAT"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseVAT-ExpenseVATView"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Expense.VAT-ExpenseVATView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create an expense VAT",
                "description": "<p>This endpoint is intended to create a new expense VAT.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Request Body:</b></p> <ul> <li><b>name</b>: The name of the VAT. Multiple VATs with the same name cannot be added.</li> <li><b>value</b>: Required.</li><li><b>externalId</b>: Optional.</li><li><b>importTax</b>: Optional.</li></ul>",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Expense.VAT-ExpenseVATCreate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/expense_cost_centers/{id}": {
            "get": {
                "operationId": "get-expense-cost-center",
                "tags": [
                    "ExpenseCostCenter"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseCostCenter-ExpenseCostCenterView"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single expense cost center",
                "description": "<p>This API endpoint is tailored to retrieve detailed information about an individual expense cost center, serving as a valuable tool for accessing specific expense cost center data within your system.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p>",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "ExpenseCostCenter identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/expense_cost_centers": {
            "get": {
                "operationId": "get-expense-cost-center-list",
                "tags": [
                    "ExpenseCostCenter"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ExpenseCostCenter-ExpenseCostCenterView"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of expense cost centers",
                "description": "<p>This API endpoint is designed to retrieve a collection of expense cost centers, providing a valuable tool for accessing recent expense cost center data for an account within your system.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p>",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "create-expense-cost-center",
                "tags": [
                    "ExpenseCostCenter"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseCostCenter-ExpenseCostCenterView"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseCostCenter-ExpenseCostCenterView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create an expense cost center",
                "description": "<p>This endpoint is intended to create a new expense cost center.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Request Body:</b></p> <ul> <li><b>name</b>: The name of the cost center. Multiple cost centers with the same name and number combination cannot be added.</li> <li><b>number</b>: Optional.</li><li><b>allowedTransactionTypes</b>: Optional. Defines which type of transactions can be attached to this category. Multiple choices can be added.</li><li><b>allowedCardGroups</b>: Optional. Defines which card groups can be attached to this category. Multiple choices can be added.</li></ul>",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExpenseCostCenter-ExpenseCostCenterCreate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/expense_categories/{id}": {
            "get": {
                "operationId": "get-expense-category",
                "tags": [
                    "ExpenseCategory"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseCategory-ExpenseCategoryView"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single expense category",
                "description": "<p>This API endpoint is tailored to retrieve detailed information about an individual expense category, serving as a valuable tool for accessing specific expense category data within your system.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p>",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "ExpenseCategory identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/expense_categories": {
            "get": {
                "operationId": "get-expense-category-list",
                "tags": [
                    "ExpenseCategory"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ExpenseCategory-ExpenseCategoryView"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of expense categories",
                "description": "<p>This API endpoint is designed to retrieve a collection of expense categories, providing a valuable tool for accessing recent expense category data for an account within your system.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p>",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "create-expense-category",
                "tags": [
                    "ExpenseCategory"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseCategory-ExpenseCategoryView"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExpenseCategory-ExpenseCategoryView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create an expense category",
                "description": "<p>This endpoint is intended to create a new expense category.</p> <p><b>Prerequisites:</b></p> <p>To use this endpoint you need to have the <b>ACCOUNTING</b> scope for the API Key. Please contact your relation manager to get this permission.</p> <p><b>Request Body:</b></p> <ul> <li><b>name</b>: The name of the category. Multiple categories with the same name cannot be added.</li> <li><b>accountingAccountNumber</b>: Optional.</li> <li><b>externalId</b>: Optional. The identifier in the external accounting program. Multiple categories with the same name cannot be added.</li><li><b>allowedTransactionTypes</b>: Optional. Defines which type of transactions can be attached to this category. Multiple choices can be added.</li><li><b>allowedCardGroups</b>: Optional. Defines which card groups can be attached to this category. Multiple choices can be added.</li></ul>",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExpenseCategory-ExpenseCategoryCreate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "ACCOUNTING"
                        ]
                    }
                ]
            }
        },
        "/api/documents/{id}/download": {
            "get": {
                "operationId": "download-document",
                "tags": [
                    "Document"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/octet-stream": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Export expense document file",
                "description": "This API endpoint has been purposefully crafted to export expense document.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Document identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/documents/{id}": {
            "get": {
                "operationId": "get-document",
                "tags": [
                    "Document"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Document-DocumentView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Get expense document information",
                "description": "This API endpoint has been purposefully crafted to get expense document details.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Document identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false
            }
        },
        "/api/documents": {
            "get": {
                "operationId": "get-documents",
                "tags": [
                    "Document"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/ld+json": {
                                "example": {
                                    "hydra:member": [
                                        {
                                            "id": "1",
                                            "name": "invoice.pdf",
                                            "mimeType": "application/pdf",
                                            "transactionId": 1,
                                            "createdAt": "2027-11-22T13:00:00+00:00",
                                            "externalIntegrations": [
                                                {
                                                    "externalId": "95",
                                                    "type": "uploaded",
                                                    "documentId": "111-111",
                                                    "lastTriggeredAt": "2025-02-21T17:45:30+00:00",
                                                    "integrationType": "bexio"
                                                }
                                            ]
                                        }
                                    ],
                                    "hydra:totalItems": 1
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Get list of expense documents.",
                "description": "This API endpoint has been purposefully crafted to get expense documents list.",
                "parameters": [
                    {
                        "name": "includeExternalIntegrations",
                        "in": "query",
                        "description": "Include externalIntegrations field in response items.",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 500
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[createdAt]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false
            }
        },
        "/api/deal_requests/{id}": {
            "get": {
                "operationId": "get-deal-request",
                "tags": [
                    "DealRequest"
                ],
                "responses": {
                    "204": {
                        "description": "OK - The request was processed successfully but no content to return.",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieves a DealRequest resource.",
                "description": "Retrieves a DealRequest resource.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "DealRequest identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false
            }
        },
        "/api/deal_request": {
            "post": {
                "operationId": "create-deal-request",
                "tags": [
                    "DealRequest"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DealRequest-DealRequestView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Request an FX rate",
                "description": "This endpoint allows users to request an FX (foreign exchange) rate based on provided parameters such as currency pair and amounts.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DealRequest.FxTransactionDetailCreateDTO"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/contacts/{id}": {
            "get": {
                "operationId": "get-contact",
                "tags": [
                    "Contact"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact-ContactView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single contact information",
                "description": "This API endpoint is designed to provide detailed information about a specific contact, making it a valuable tool for retrieving contact data within your system.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Contact identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/contacts": {
            "get": {
                "operationId": "get-contact-list",
                "tags": [
                    "Contact"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/Contact-ContactView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of contacts information",
                "description": "This API endpoint is crafted to offer you an extensive list of user contacts, empowering you with the ability to filter, paginate, and access in-depth contact information seamlessly within your system.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}/terminate": {
            "post": {
                "operationId": "card-terminate",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardStatus"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Terminate a card",
                "description": "This API endpoint empowers you to terminate a card. Terminated cards cannot be reactivated.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-EmptyBody"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}/suspend": {
            "post": {
                "operationId": "card-suspend",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardStatus"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Suspend a card",
                "description": "This API endpoint empowers you to suspend a card. Suspend is a temporary status that can be reversed by reactivating the card.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-EmptyBody"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}/secure_info": {
            "get": {
                "operationId": "card-get-secure-info",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "cvv": {
                                            "type": "string"
                                        },
                                        "cardNumber": {
                                            "type": "string"
                                        },
                                        "expireDate": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Get secure info of a card",
                "description": "This API endpoint empowers you to get secure info of a card.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "card-post-secure-info-deprecated",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "cvv": {
                                            "type": "string"
                                        },
                                        "cardNumber": {
                                            "type": "string"
                                        },
                                        "expireDate": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardSecureInfo"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "(Deprecated - use GET verb) Get secure info of a card",
                "description": "(Deprecated - use GET verb) This API endpoint empowers you to get secure info of a card.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-EmptyBody"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}/reactivate": {
            "post": {
                "operationId": "card-reactivate",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardStatus"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Reactivate a card",
                "description": "This API endpoint empowers you to reactivate a card. Call this endpoint to reactivate a card that has been suspended. Terminated cards cannot be reactivated.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-EmptyBody"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}/get_pin": {
            "get": {
                "operationId": "card-get-pin",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "pin": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Get the pin of a card",
                "description": "This API endpoint empowers you to get the pin of a card.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "card-post-pin-deprecated",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "pin": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardPin"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "(Deprecated - use GET verb) Get the pin of a card",
                "description": "(Deprecated - use GET verb) This API endpoint empowers you to get the pin of a card.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-EmptyBody"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}/activate": {
            "post": {
                "operationId": "card-activate",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardStatus"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Activate a card",
                "description": "This API endpoint empowers you to activate a card. Call this endpoint to activate a card that has been ordered and delivered.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-EmptyBody"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards/{id}": {
            "get": {
                "operationId": "card-get-detail",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardView"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single card information",
                "description": "This API endpoint allows you to retrieve detailed information about a specific card, making it a valuable tool for accessing precise card details in your system.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            },
            "patch": {
                "operationId": "card-update",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Edit a card",
                "description": "This API endpoint empowers you to update a card.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Card identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-CardEdit"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/cards": {
            "get": {
                "operationId": "card-get-list",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/Card-CardView"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of cards",
                "description": "This API endpoint empowers you to access a list of cards associated with an account, providing valuable insights into card details.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[createdAt]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[updatedAt]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "card-create",
                "tags": [
                    "Card"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Card-CardView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Order a card",
                "description": "This API endpoint empowers you to order a card.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Card-CardCreate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/card_transaction_details/{id}": {
            "get": {
                "operationId": "get-card-transaction-detail",
                "tags": [
                    "CardTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardTransactionDetail-CardTransactionDetailView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single card transaction information",
                "description": "This API endpoint allows you to retrieve detailed information about a specific card transaction, making it a valuable tool for accessing precise transaction details in your system.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "CardTransactionDetail identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/card_transaction_details": {
            "get": {
                "operationId": "get-card-transaction-detail-list",
                "tags": [
                    "CardTransactionDetail"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/CardTransactionDetail-CardTransactionDetailView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of card transactions",
                "description": "This API endpoint empowers you to access a list of recent card transactions associated with an account, providing valuable insights into transaction details.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "executionDate[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "createdAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[lte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[lt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[gte]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "updatedAt[gt]",
                        "in": "query",
                        "description": "The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: \"2024-11-21T11:54:39.000Z\"",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "1970-01-01T00:00:00.000Z"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "cardHolder",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "card",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[lte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gt]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "amount[gte]",
                        "in": "query",
                        "description": "",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/card_holders/{id}": {
            "get": {
                "operationId": "card-holder-get-detail",
                "tags": [
                    "CardHolder"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardHolder-CardHolderView"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a single card holder information",
                "description": "This API endpoint allows you to retrieve detailed information about a specific card hodler, making it a valuable tool for accessing precise card details in your system.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "CardHolder identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            },
            "patch": {
                "operationId": "card-holder-edit",
                "tags": [
                    "CardHolder"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardHolder-CardHolderView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Updates the CardHolder resource.",
                "description": "Updates the CardHolder resource.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "CardHolder identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CardHolder-CardHolderEdit"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false
            }
        },
        "/api/card_holders": {
            "get": {
                "operationId": "card-holder-get-list",
                "tags": [
                    "CardHolder"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/CardHolder-CardHolderView"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of card holders",
                "description": "This API endpoint empowers you to access a list of card holders associated with an account, providing valuable insights into card holders details.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "pagination",
                        "in": "query",
                        "description": "Enable or disable pagination",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "boolean"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            },
            "post": {
                "operationId": "card-holder-create",
                "tags": [
                    "CardHolder"
                ],
                "responses": {
                    "201": {
                        "description": "Created - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CardHolder-CardHolderView"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid."
                    },
                    "422": {
                        "description": "Unprocessable Content -- We could not process your request due to invalid data provided. "
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a card holder",
                "description": "This API endpoint empowers you to access a create card holder associated with an account.",
                "parameters": [
                    {
                        "name": "Unique-Request-Id",
                        "in": "header",
                        "description": "An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 50,
                            "example": "123e4567-e89b-12d3-a456-426614174000"
                        }
                    }
                ],
                "requestBody": {
                    "description": "",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CardHolder-CardHolderCreate"
                            }
                        }
                    },
                    "required": true
                },
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "CARD_MANAGEMENT"
                        ]
                    }
                ]
            }
        },
        "/api/accounts/{id}/camt53-export": {
            "get": {
                "operationId": "get-account-camt53-export",
                "tags": [
                    "Account"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/xml": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "Document": {
                                            "type": "string",
                                            "example": "..."
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request -- Your request is invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BadRequestException"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Export Camt53 file for account movements",
                "description": "This API endpoint has been purposefully crafted to gather account movements into a Camt53 file. The endpoint must be filtered by day (with the startDate equal to the endDate) or by month (with the startDate equal to the first day of the month and the endDate equal to the last day of the month).",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Resource identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "startDate",
                        "in": "query",
                        "description": "Equal to endDate or equal to first day of the month",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "2021-01-01"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "endDate",
                        "in": "query",
                        "description": "Equal to startDate or equal to last day of the month",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "example": "2021-01-31"
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/accounts/{id}": {
            "get": {
                "operationId": "get-account",
                "tags": [
                    "Account"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Account-AccountView"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found -- The requested resource could not be found."
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve an account",
                "description": "This API endpoint is used to retrieve comprehensive details about an account. It serves as a valuable tool for accessing specific account data within your system, given the presence of fields like \"currency,\" \"availableBalance,\" and \"forecastedBalance.\"",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "Account identifier",
                        "required": true,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        },
        "/api/accounts": {
            "get": {
                "operationId": "get-account-list",
                "tags": [
                    "Account"
                ],
                "responses": {
                    "200": {
                        "description": "OK - The request was processed successfully.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/Account-AccountView"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorised -- Your access token is wrong.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AuthenticationFailed"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden -- Access to the requested resource or action is forbidden.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessDenied"
                                }
                            }
                        }
                    }
                },
                "summary": "Retrieve a collection of accounts information",
                "description": "This API endpoint is designed to retrieve a collection of account information, providing a convenient way to access data related to multiple accounts within your system. The retrieved data includes fields such as \"currency,\" \"availableBalance,\" and \"forecastedBalance.\"",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 1
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": true,
                        "schema": {
                            "type": "integer",
                            "default": 30,
                            "minimum": 0,
                            "maximum": 50
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Select accounts by type",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "normal",
                                "collateral",
                                "guarantee"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    },
                    {
                        "name": "order[id]",
                        "in": "query",
                        "description": "Sort the results by the specified field",
                        "required": false,
                        "deprecated": false,
                        "allowEmptyValue": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ASC",
                                "DESC"
                            ]
                        },
                        "style": "form",
                        "explode": false,
                        "allowReserved": false
                    }
                ],
                "deprecated": false,
                "security": [
                    {
                        "bearerAuth": [
                            "USER"
                        ]
                    }
                ]
            }
        }
    },
    "components": {
        "schemas": {
            "Account-AccountView": {
                "type": "object",
                "description": "Retrieves account information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "normal",
                            "collateral",
                            "guarantee",
                            "escrow",
                            "paypal"
                        ],
                        "example": "normal"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "baseCurrency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "availableBalance": {
                        "example": "1000.00",
                        "type": "number"
                    },
                    "baseCurrencyBalance": {
                        "example": "1000.00",
                        "type": "number"
                    },
                    "forecastedBalance": {
                        "example": "950.00",
                        "type": "number"
                    },
                    "ibans": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "normal",
                                        "qr"
                                    ],
                                    "example": "normal"
                                },
                                "value": {
                                    "type": "string",
                                    "example": "DE89370400440532013000",
                                    "description": "Can be IBAN or account number. If the first 2 characters are letters, it is an IBAN, otherwise, an account number."
                                },
                                "routingType": {
                                    "type": "string",
                                    "example": "BLZ"
                                },
                                "routingCode": {
                                    "type": "string",
                                    "example": "37040044"
                                }
                            }
                        }
                    }
                }
            },
            "Card-CardCreate": {
                "type": "object",
                "description": "Order a card",
                "deprecated": false,
                "required": [
                    "name",
                    "cardHolder",
                    "type",
                    "atmWithdrawalsAllowed",
                    "posAllowed",
                    "onlineAllowed"
                ],
                "properties": {
                    "name": {
                        "maxLength": 50,
                        "type": "string",
                        "description": "A user-friendly name for the card, used internally for easier identification and management. This name is not printed on the card.",
                        "example": "Person card"
                    },
                    "cardHolder": {
                        "type": "string",
                        "description": "A ID for the card holder, used internally for easier identification and management.",
                        "example": 1
                    },
                    "type": {
                        "enum": [
                            "virtual",
                            "physical"
                        ],
                        "maxLength": 8,
                        "type": "string",
                        "example": "physical"
                    },
                    "globalLimit": {
                        "minimum": 0,
                        "maximum": 10000000000,
                        "type": "string",
                        "description": "Represent the maximum limit for a card. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "1000.0",
                        "default": "0.0"
                    },
                    "dayLimit": {
                        "minimum": 0,
                        "maximum": 10000000000,
                        "type": "string",
                        "description": "Represent the maximum limit for a card per day. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "100.0",
                        "default": "0.0"
                    },
                    "monthLimit": {
                        "minimum": 0,
                        "maximum": 10000000000,
                        "type": "string",
                        "description": "Represent the maximum limit for a card per month. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "100.0",
                        "default": "0.0"
                    },
                    "atmWithdrawalsAllowed": {
                        "type": "boolean",
                        "description": "Indicates whether ATM withdrawals are allowed."
                    },
                    "posAllowed": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Indicates whether POS transactions are allowed."
                    },
                    "onlineAllowed": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Indicates whether Online transactions are allowed."
                    },
                    "expire": {
                        "externalDocs": {
                            "url": "https://schema.org/DateTime"
                        },
                        "type": "string",
                        "description": "Indicates the expiration date of the card in format Y-m-d. Default: first day of next month + 3 years. In this date the card will be terminated permanently and cannot longer be used. Max first day of the next month 3 years from creation date. Example: creating a card on 2024-11-22, the expiration date should be max 2027-12-01.",
                        "example": "2026-11-22"
                    },
                    "countries": {
                        "type": "array",
                        "description": "Optional. Default is EEA countries + CH. This property should be an array with two letter country codes only.",
                        "example": [
                            "IT",
                            "FR",
                            "CH"
                        ]
                    },
                    "swipeAllowed": {
                        "type": "boolean",
                        "description": "Relevant just for Physical Cards. Determines whether a card can be used for swipe payments.",
                        "default": false
                    }
                }
            },
            "Card-CardEdit": {
                "type": "object",
                "description": "Update a card",
                "deprecated": false,
                "required": [
                    "name",
                    "cardHolder",
                    "atmWithdrawalsAllowed",
                    "posAllowed",
                    "onlineAllowed"
                ],
                "properties": {
                    "name": {
                        "maxLength": 50,
                        "type": "string",
                        "description": "A user-friendly name for the card, used internally for easier identification and management. This name is not printed on the card.",
                        "example": "Person card"
                    },
                    "cardHolder": {
                        "type": "string",
                        "description": "A ID for the card holder, used internally for easier identification and management.",
                        "example": 1
                    },
                    "globalLimit": {
                        "minimum": 0,
                        "maximum": 10000000000,
                        "type": "string",
                        "description": "Represent the maximum limit for a card. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "1000.0",
                        "default": "0.0"
                    },
                    "dayLimit": {
                        "minimum": 0,
                        "maximum": 10000000000,
                        "type": "string",
                        "description": "Represent the maximum limit for a card per day. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "100.0",
                        "default": "0.0"
                    },
                    "monthLimit": {
                        "minimum": 0,
                        "maximum": 10000000000,
                        "type": "string",
                        "description": "Represent the maximum limit for a card per month. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "100.0",
                        "default": "0.0"
                    },
                    "atmWithdrawalsAllowed": {
                        "type": "boolean",
                        "description": "Indicates whether ATM withdrawals are allowed."
                    },
                    "posAllowed": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Indicates whether POS transactions are allowed."
                    },
                    "onlineAllowed": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Indicates whether Online transactions are allowed."
                    },
                    "expire": {
                        "externalDocs": {
                            "url": "https://schema.org/DateTime"
                        },
                        "type": "string",
                        "description": "Indicates the expiration date of the card in format Y-m-d. Default: first day of next month + 3 years. In this date the card will be terminated permanently and cannot longer be used. Max first day of the next month 3 years from creation date. Example: creating a card on 2024-11-22, the expiration date should be max 2027-12-01.",
                        "example": "2026-11-22"
                    },
                    "countries": {
                        "type": "array",
                        "description": "Optional. Default is EEA countries + CH. This property should be an array with two letter country codes only.",
                        "example": [
                            "IT",
                            "FR",
                            "CH"
                        ]
                    },
                    "swipeAllowed": {
                        "type": "boolean",
                        "description": "Relevant just for Physical Cards. Determines whether a card can be used for swipe payments.",
                        "default": false
                    }
                }
            },
            "Card-CardPin": {
                "type": "object",
                "description": "Get pin of a card",
                "deprecated": false
            },
            "Card-CardSecureInfo": {
                "type": "object",
                "description": "Get secure info of a card",
                "deprecated": false
            },
            "Card-CardStatus": {
                "type": "object",
                "description": "Activates a card",
                "deprecated": false,
                "properties": {
                    "status": {
                        "type": "string",
                        "enum": [
                            "activation",
                            "active",
                            "suspended",
                            "terminated"
                        ],
                        "example": "activation"
                    }
                }
            },
            "Card-CardView": {
                "type": "object",
                "description": "Retrieves card information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "name": {
                        "type": "string",
                        "description": "A user-friendly name for the card, used internally for easier identification and management. This name is not printed on the card.",
                        "example": "Person card"
                    },
                    "cardHolder": {
                        "type": "string",
                        "description": "A ID for the card holder, used internally for easier identification and management.",
                        "example": 1
                    },
                    "pan4": {
                        "type": "string",
                        "description": "The last 4 digits of the card number.",
                        "example": "1234"
                    },
                    "embossedName": {
                        "type": "string",
                        "description": "The name to be embossed on the card. It must follow the regex pattern `/^[A-Z'\\.\\s-]+$/`.",
                        "example": "JOHN DOE"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "virtual",
                            "physical"
                        ],
                        "example": "physical"
                    },
                    "limitCurrency": {
                        "type": "string",
                        "description": "The currency in which all limits are set. This field should contain a valid ISO 4217 currency code",
                        "example": "CHF"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "activation",
                            "active",
                            "suspended",
                            "terminated"
                        ],
                        "example": "activation"
                    },
                    "globalLimit": {
                        "type": "string",
                        "description": "Represent the maximum limit for a card. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "1000.0",
                        "default": "0.0"
                    },
                    "dayLimit": {
                        "type": "string",
                        "description": "Represent the maximum limit for a card per day. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "100.0",
                        "default": "0.0"
                    },
                    "monthLimit": {
                        "type": "string",
                        "description": "Represent the maximum limit for a card per month. Default: `0.0`. `0.0` means no limit. Positive values enforce the corresponding limit.",
                        "example": "100.0",
                        "default": "0.0"
                    },
                    "atmWithdrawalsAllowed": {
                        "type": "boolean",
                        "description": "Indicates whether ATM withdrawals are allowed."
                    },
                    "posAllowed": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Indicates whether POS transactions are allowed."
                    },
                    "onlineAllowed": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Indicates whether Online transactions are allowed."
                    },
                    "expire": {
                        "type": "string",
                        "description": "Indicates the expiration date of the card in format Y-m-d. Default: first day of next month + 3 years. In this date the card will be terminated permanently and cannot longer be used. Max first day of the next month 3 years from creation date. Example: creating a card on 2024-11-22, the expiration date should be max 2027-12-01.",
                        "example": "2026-11-22"
                    },
                    "createdAt": {
                        "type": "string",
                        "description": "Datetime of the card creation in format Y-m-d H:i:s. Useful to calculate the max allowed expiration date in edit card (creation date + 3 years).",
                        "example": "2027-11-22"
                    },
                    "countries": {
                        "type": "array",
                        "description": "Optional. Default is EEA countries + CH. This property should be an array with two letter country codes only.",
                        "example": [
                            "IT",
                            "FR",
                            "CH"
                        ]
                    },
                    "swipeAllowed": {
                        "type": "boolean",
                        "description": "Relevant just for Physical Cards. Determines whether a card can be used for swipe payments.",
                        "default": false
                    },
                    "daySpending": {
                        "type": "number",
                        "format": "float",
                        "description": "The amount spent today, used to track and enforce the daily spending limit defined in the dayLimit property.",
                        "example": "100.0"
                    },
                    "monthSpending": {
                        "type": "number",
                        "format": "float",
                        "description": "The amount spent this month, used to track and enforce the monthly spending limit defined in the monthLimit property.",
                        "example": "300.0"
                    },
                    "yearSpending": {
                        "type": "number",
                        "format": "float",
                        "description": "The amount spent this year, used to track and enforce the yearly spending limit defined in the yearSpending property.",
                        "example": "950.0"
                    },
                    "totalSpending": {
                        "type": "number",
                        "format": "float",
                        "description": "The amount spent in total, used to track and enforce the global spending limit defined in the globalLimit property.",
                        "example": "1500.0"
                    }
                }
            },
            "Card-EmptyBody": {
                "type": "object",
                "description": "Activates a card",
                "deprecated": false
            },
            "CardHolder-CardHolderCreate": {
                "type": "object",
                "description": "Create a card holder",
                "deprecated": false,
                "required": [
                    "firstName",
                    "lastName",
                    "embossedName",
                    "gender",
                    "nationality",
                    "dateOfBirth",
                    "phoneNumber"
                ],
                "properties": {
                    "firstName": {
                        "type": "string",
                        "nullable": true
                    },
                    "lastName": {
                        "type": "string",
                        "nullable": true
                    },
                    "embossedName": {
                        "maxLength": 21,
                        "pattern": "^([A-Z'.\\s-]+)$",
                        "type": "string",
                        "description": "The name to be embossed on the card. It must follow the regex pattern `/^[A-Z'\\.\\s-]+$/`.",
                        "example": "JOHN DOE"
                    },
                    "gender": {
                        "maxLength": 6,
                        "enum": [
                            "male",
                            "female"
                        ],
                        "type": "string",
                        "example": "male"
                    },
                    "email": {
                        "format": "email",
                        "externalDocs": {
                            "url": "https://schema.org/email"
                        },
                        "example": "example@example.com",
                        "type": "string",
                        "nullable": true
                    },
                    "nationality": {
                        "type": "string",
                        "example": "DE",
                        "description": "ISO 3166-1 alpha-2 country code"
                    },
                    "dateOfBirth": {
                        "externalDocs": {
                            "url": "https://schema.org/DateTime"
                        },
                        "type": "string",
                        "example": "2024-12-26"
                    },
                    "phoneNumber": {
                        "minLength": 2,
                        "maxLength": 255,
                        "type": "string",
                        "example": "+4593872813",
                        "description": "E164 format phone number"
                    },
                    "shipToBusinessPartnerAddress": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Ship to business partner address or custom? <code>true</code> if want to ship to business partner address. <code>false</code> if want to send to custom address."
                    },
                    "shippingAddress": {
                        "type": "string",
                        "example": "Broadway 1",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for the Street and Street Number of the custom address."
                    },
                    "shippingCity": {
                        "type": "string",
                        "example": "London",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for City of the custom address."
                    },
                    "shippingCountry": {
                        "description": "ISO 3166-1 alpha-2 country code. If **shipToBusinessPartnerAddress**=<code>false</code> use this field for Country of the custom address.",
                        "type": "string",
                        "example": "DE"
                    },
                    "shippingZip": {
                        "type": "string",
                        "example": "11000",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for the Zip Code of the custom address."
                    },
                    "shippingStateOrProvince": {
                        "type": "string",
                        "example": "TX",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for the US State of the custom address. Used just for US."
                    }
                }
            },
            "CardHolder-CardHolderEdit": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "required": [
                    "phoneNumber"
                ],
                "properties": {
                    "phoneNumber": {
                        "minLength": 2,
                        "maxLength": 255,
                        "type": "string",
                        "example": "+4593872813",
                        "description": "E164 format phone number"
                    }
                }
            },
            "CardHolder-CardHolderView": {
                "type": "object",
                "description": "Retrieves card information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "firstName": {
                        "type": "string",
                        "nullable": true
                    },
                    "lastName": {
                        "type": "string",
                        "nullable": true
                    },
                    "embossedName": {
                        "type": "string",
                        "description": "The name to be embossed on the card. It must follow the regex pattern `/^[A-Z'\\.\\s-]+$/`.",
                        "example": "JOHN DOE"
                    },
                    "gender": {
                        "type": "string",
                        "enum": [
                            "male",
                            "female"
                        ],
                        "example": "male"
                    },
                    "email": {
                        "example": "example@example.com",
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "active",
                            "closed",
                            "suspended",
                            "activation",
                            "compliance_blocked"
                        ],
                        "example": "active"
                    },
                    "nationality": {
                        "type": "string",
                        "example": "DE",
                        "description": "ISO 3166-1 alpha-2 country code"
                    },
                    "cards": {
                        "type": "array",
                        "example": [
                            {
                                "id": 1,
                                "name": "Example Card Name",
                                "pan4": "1234"
                            }
                        ]
                    },
                    "dateOfBirth": {
                        "type": "string",
                        "example": "2024-12-26"
                    },
                    "phoneNumber": {
                        "type": "string",
                        "example": "+4593872813",
                        "description": "E164 format phone number"
                    },
                    "shipToBusinessPartnerAddress": {
                        "default": true,
                        "example": true,
                        "type": "boolean",
                        "description": "Ship to business partner address or custom? <code>true</code> if want to ship to business partner address. <code>false</code> if want to send to custom address."
                    },
                    "shippingAddress": {
                        "type": "string",
                        "example": "Broadway 1",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for the Street and Street Number of the custom address."
                    },
                    "shippingCity": {
                        "type": "string",
                        "example": "London",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for City of the custom address."
                    },
                    "shippingCountry": {
                        "description": "ISO 3166-1 alpha-2 country code. If **shipToBusinessPartnerAddress**=<code>false</code> use this field for Country of the custom address.",
                        "type": "string",
                        "example": "DE"
                    },
                    "shippingZip": {
                        "type": "string",
                        "example": "11000",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for the Zip Code of the custom address."
                    },
                    "shippingStateOrProvince": {
                        "type": "string",
                        "example": "TX",
                        "description": "If **shipToBusinessPartnerAddress**=<code>false</code> use this field for the US State of the custom address. Used just for US."
                    },
                    "shippingCompany": {
                        "type": "string",
                        "example": "Joe Doe",
                        "description": "Will be set to the first name and last name of the cardholder. If **shipToBusinessPartnerAddress**=<code>false</code> the physical cards will be sent to \"c/o firstName lastName\"."
                    }
                }
            },
            "CardTransactionDetail-CardTransactionDetailView": {
                "type": "object",
                "description": "Retrieves card transaction information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "100.00",
                        "type": "string"
                    },
                    "originalCurrency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "originalAmount": {
                        "example": "100.00",
                        "type": "string"
                    },
                    "type": {
                        "example": "transaction",
                        "type": "string",
                        "enum": [
                            "authorization",
                            "transaction",
                            "reversal"
                        ]
                    },
                    "executionDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "settlementDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "example": "executed",
                        "type": "string",
                        "enum": [
                            "executed",
                            "pending"
                        ]
                    },
                    "card": {
                        "example": {
                            "id": 1,
                            "name": "Example Card Name",
                            "pan4": "1234"
                        },
                        "$ref": "#/components/schemas/Card-CardTransactionDetailView"
                    },
                    "merchant": {
                        "example": {
                            "id": 1,
                            "name": "Example Merchant Name Italy",
                            "country": "IT",
                            "mccCode": "1234"
                        },
                        "$ref": "#/components/schemas/Merchant-CardTransactionDetailView"
                    },
                    "documents": {
                        "$ref": "#/components/schemas/Document-TransactionView"
                    },
                    "expenseCategory": {
                        "$ref": "#/components/schemas/ExpenseCategory-TransactionView"
                    },
                    "expenseCostCenter": {
                        "$ref": "#/components/schemas/ExpenseCostCenter-TransactionView"
                    },
                    "comment": {
                        "example": "Travel expense",
                        "type": "string",
                        "nullable": true
                    },
                    "vat": {
                        "example": [
                            {
                                "rate": "5",
                                "amount": "20"
                            },
                            {
                                "rate": "10",
                                "amount": "30"
                            }
                        ],
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "deprecated": true
                    },
                    "vats": {
                        "example": [
                            {
                                "expenseVat": 1,
                                "rate": "5",
                                "amount": "20",
                                "grossAmount": "120",
                                "externalId": "vat-5"
                            }
                        ],
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "expenseVat": {
                                    "type": "integer",
                                    "example": 1,
                                    "nullable": true
                                },
                                "rate": {
                                    "type": "string",
                                    "example": "5"
                                },
                                "amount": {
                                    "type": "string",
                                    "example": "20"
                                },
                                "grossAmount": {
                                    "type": "string",
                                    "example": "120"
                                },
                                "externalId": {
                                    "type": "string",
                                    "example": "vat-5",
                                    "nullable": true
                                }
                            }
                        }
                    },
                    "createdAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "updatedAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "magicLinkUrl": {
                        "example": "https://app.amnis.com/expenses-public/4cb001f8-2b57-4b4a-8d2c-7d1a2f3b4c5d",
                        "type": "string",
                        "nullable": true
                    },
                    "error": {
                        "example": {
                            "key": "card.expired",
                            "message": "Card expired"
                        },
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "nullable": true
                    }
                }
            },
            "Contact-ContactView": {
                "type": "object",
                "description": "Retrieves contact information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "name": {
                        "example": "AMNIS Treasury Services AG",
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "legal_entity",
                            "person"
                        ],
                        "example": "legal_entity"
                    },
                    "country": {
                        "example": "CH",
                        "type": "string"
                    },
                    "address": {
                        "example": "Baslerstrasse 60",
                        "type": "string",
                        "nullable": true
                    },
                    "city": {
                        "example": "Z\u00fcrich",
                        "type": "string",
                        "nullable": true
                    },
                    "zip": {
                        "example": "8048",
                        "type": "string",
                        "nullable": true
                    },
                    "state": {
                        "example": "Canton of Z\u00fcrich",
                        "type": "string",
                        "nullable": true
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "en",
                            "de",
                            "fr",
                            "it",
                            "cs",
                            "pl"
                        ],
                        "example": "en"
                    },
                    "selfContact": {
                        "type": "boolean"
                    },
                    "expenseCategory": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                            "id": {
                                "type": "integer",
                                "example": 1
                            },
                            "name": {
                                "type": "string",
                                "example": "Travels"
                            }
                        }
                    },
                    "expenseCostCenter": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                            "id": {
                                "type": "integer",
                                "example": 1
                            },
                            "name": {
                                "type": "string",
                                "example": "Finance"
                            }
                        }
                    },
                    "expenseVat": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                            "id": {
                                "type": "integer",
                                "example": 1
                            },
                            "name": {
                                "type": "string",
                                "example": "Standard VAT"
                            },
                            "value": {
                                "type": "string",
                                "example": "8.1"
                            }
                        }
                    },
                    "autoCompleteExpenseManagement": {
                        "type": "boolean",
                        "description": "Whether accounting details from the contact should automatically mark related expense management as completed.",
                        "example": false
                    }
                }
            },
            "DealRequest-DealRequestView": {
                "type": "object",
                "description": "Create a new Deal Request",
                "deprecated": false,
                "properties": {
                    "id": {
                        "readOnly": true,
                        "example": 1,
                        "type": "string"
                    },
                    "currencyFrom": {
                        "example": "CHF",
                        "type": "string",
                        "nullable": true
                    },
                    "currencyTo": {
                        "example": "EUR",
                        "type": "string",
                        "nullable": true
                    },
                    "amountFrom": {
                        "pattern": "^(\\d+.\\d\\d)$",
                        "example": "100.00",
                        "type": "string",
                        "nullable": true
                    },
                    "amountTo": {
                        "pattern": "^(\\d+.\\d\\d)$",
                        "example": "105.53",
                        "type": "string",
                        "nullable": true
                    },
                    "valueDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "spotRate": {
                        "example": "1.0553",
                        "type": "string",
                        "nullable": true
                    },
                    "platformRate": {
                        "example": "1.0553",
                        "type": "string",
                        "nullable": true
                    },
                    "forwardPoints": {
                        "example": "1.0553",
                        "type": "string",
                        "nullable": true
                    }
                },
                "required": [
                    "currencyFrom",
                    "currencyTo",
                    "valueDate"
                ]
            },
            "DealRequest.FxTransactionDetailCreateDTO": {
                "type": "object",
                "description": "Create a new Deal Request",
                "deprecated": false,
                "required": [
                    "currencyFrom",
                    "currencyTo",
                    "valueDate"
                ],
                "properties": {
                    "currencyFrom": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "currencyTo": {
                        "example": "EUR",
                        "type": "string"
                    },
                    "amountTo": {
                        "pattern": "^(\\d+.\\d\\d)$",
                        "example": "105.53",
                        "type": "string",
                        "nullable": true
                    },
                    "amountFrom": {
                        "pattern": "^(\\d+.\\d\\d)$",
                        "example": "105.53",
                        "type": "string",
                        "nullable": true
                    },
                    "valueDate": {
                        "example": "2023-01-01",
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "Document-DocumentView": {
                "type": "object",
                "description": "Get expense documents information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "string"
                    },
                    "name": {
                        "example": "document.pdf",
                        "type": "string",
                        "nullable": true
                    },
                    "mimeType": {
                        "example": "application/pdf",
                        "type": "string"
                    },
                    "transactionId": {
                        "example": "1",
                        "type": "integer",
                        "nullable": true
                    },
                    "createdAt": {
                        "type": "string",
                        "description": "Datetime of the creation in format Y-m-d H:i:s.",
                        "example": "2027-11-22 13:00:00"
                    }
                }
            },
            "Expense.VAT-ExpenseVATCreate": {
                "type": "object",
                "description": "Creates a new expense VAT",
                "deprecated": false,
                "required": [
                    "name",
                    "value"
                ],
                "properties": {
                    "name": {
                        "example": "Travels",
                        "type": "string"
                    },
                    "value": {
                        "example": "11",
                        "type": "string"
                    },
                    "externalId": {
                        "example": "11234534",
                        "type": "string",
                        "nullable": true
                    },
                    "importTax": {
                        "example": "11",
                        "type": "boolean"
                    }
                }
            },
            "Expense.VAT-ExpenseVATView": {
                "type": "object",
                "description": "Retrieves expense VAT information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "example": "Travels",
                        "type": "string"
                    },
                    "value": {
                        "example": "11",
                        "type": "string"
                    },
                    "externalId": {
                        "example": "11234534",
                        "type": "string",
                        "nullable": true
                    },
                    "importTax": {
                        "example": "11",
                        "type": "boolean"
                    }
                }
            },
            "ExpenseCategory-ExpenseCategoryCreate": {
                "type": "object",
                "description": "Creates a new expense category",
                "deprecated": false,
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "example": "Travels",
                        "type": "string"
                    },
                    "accountingAccountNumber": {
                        "example": "123132",
                        "type": "string",
                        "nullable": true
                    },
                    "externalId": {
                        "example": "123132",
                        "type": "string",
                        "nullable": true
                    },
                    "allowedTransactionTypes": {
                        "type": "string",
                        "enum": [
                            "card_transaction",
                            "fee_transaction",
                            "fx_transaction",
                            "payin_transaction",
                            "payout_transaction",
                            "wallet_transaction"
                        ],
                        "example": [
                            "fee_transaction",
                            "fx_transaction"
                        ]
                    },
                    "allowedCardGroups": {
                        "type": "string",
                        "example": [
                            "2",
                            "7"
                        ]
                    }
                }
            },
            "ExpenseCategory-ExpenseCategoryView": {
                "type": "object",
                "description": "Retrieves expense category information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "example": "Travels",
                        "type": "string"
                    },
                    "accountingAccountNumber": {
                        "example": "123132",
                        "type": "string",
                        "nullable": true
                    },
                    "externalId": {
                        "example": "123132",
                        "type": "string",
                        "nullable": true
                    },
                    "allowedTransactionTypes": {
                        "type": "string",
                        "enum": [
                            "card_transaction",
                            "fee_transaction",
                            "fx_transaction",
                            "payin_transaction",
                            "payout_transaction",
                            "wallet_transaction"
                        ],
                        "example": [
                            "fee_transaction",
                            "fx_transaction"
                        ]
                    },
                    "allowedCardGroups": {
                        "type": "string",
                        "example": [
                            "2",
                            "7"
                        ]
                    }
                }
            },
            "ExpenseCostCenter-ExpenseCostCenterCreate": {
                "type": "object",
                "description": "Creates a new expense cost center",
                "deprecated": false,
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "example": "Finance",
                        "type": "string"
                    },
                    "number": {
                        "example": "123145",
                        "type": "string",
                        "nullable": true
                    },
                    "allowedTransactionTypes": {
                        "type": "string",
                        "enum": [
                            "card_transaction",
                            "fee_transaction",
                            "fx_transaction",
                            "payin_transaction",
                            "payout_transaction",
                            "wallet_transaction"
                        ],
                        "example": [
                            "fee_transaction",
                            "fx_transaction"
                        ]
                    },
                    "allowedCardGroups": {
                        "type": "string",
                        "example": [
                            "2",
                            "7"
                        ]
                    }
                }
            },
            "ExpenseCostCenter-ExpenseCostCenterView": {
                "type": "object",
                "description": "Retrieves expense cost center information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "example": "Finance",
                        "type": "string"
                    },
                    "number": {
                        "example": "123145",
                        "type": "string",
                        "nullable": true
                    },
                    "allowedTransactionTypes": {
                        "type": "string",
                        "enum": [
                            "card_transaction",
                            "fee_transaction",
                            "fx_transaction",
                            "payin_transaction",
                            "payout_transaction",
                            "wallet_transaction"
                        ],
                        "example": [
                            "fee_transaction",
                            "fx_transaction"
                        ]
                    },
                    "allowedCardGroups": {
                        "type": "string",
                        "example": [
                            "2",
                            "7"
                        ]
                    }
                }
            },
            "ExpenseVAT-ExpenseVATView": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "id": {
                        "readOnly": true,
                        "type": "integer"
                    },
                    "businessPartner": {
                        "type": "string",
                        "format": "iri-reference",
                        "example": "https://example.com/"
                    },
                    "value": {
                        "minimum": 0,
                        "type": "number"
                    },
                    "name": {
                        "type": "string",
                        "nullable": true
                    },
                    "externalId": {
                        "type": "string",
                        "nullable": true
                    },
                    "visible": {
                        "default": true,
                        "example": true,
                        "type": "boolean"
                    },
                    "importTax": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "businessPartner",
                    "value"
                ]
            },
            "FeeTransactionDetail-FeeTransactionDetailView": {
                "type": "object",
                "description": "Retrieves fee information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "account": {
                        "example": 1,
                        "type": "integer"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "10.00",
                        "type": "string"
                    },
                    "executionDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "comment": {
                        "example": "Fee related comment",
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "pending",
                            "executed"
                        ],
                        "example": "executed"
                    }
                }
            },
            "FxTransactionDetail-FxTransactionDetailView": {
                "type": "object",
                "description": "Retrieves FX transaction information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "currencyFrom": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "currencyTo": {
                        "example": "EUR",
                        "type": "string"
                    },
                    "amountFrom": {
                        "example": "100.00",
                        "type": "string"
                    },
                    "amountTo": {
                        "example": "105.53",
                        "type": "string"
                    },
                    "direction": {
                        "type": "string",
                        "enum": [
                            "sell",
                            "buy"
                        ],
                        "example": "sell"
                    },
                    "dealDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "valueDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "spot",
                            "forward"
                        ],
                        "example": "forward"
                    },
                    "spotRate": {
                        "example": "1.0553",
                        "type": "string"
                    },
                    "forwardPoints": {
                        "example": "1.0553",
                        "type": "string",
                        "nullable": true
                    },
                    "platformRate": {
                        "example": "1.0553",
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "created",
                            "pending",
                            "transferred",
                            "canceled"
                        ],
                        "example": "hedged"
                    },
                    "fromAutomation": {
                        "type": "boolean"
                    }
                }
            },
            "FxTransactionDetail.FxTransactionDetailCreateDTO": {
                "type": "object",
                "description": "Create FX transaction",
                "deprecated": false,
                "required": [
                    "currencyFrom",
                    "currencyTo",
                    "valueDate"
                ],
                "properties": {
                    "currencyFrom": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "currencyTo": {
                        "example": "EUR",
                        "type": "string"
                    },
                    "amountTo": {
                        "pattern": "^(\\d+.\\d\\d)$",
                        "example": "105.53",
                        "type": "string",
                        "nullable": true
                    },
                    "amountFrom": {
                        "pattern": "^(\\d+.\\d\\d)$",
                        "example": "105.53",
                        "type": "string",
                        "nullable": true
                    },
                    "valueDate": {
                        "example": "2023-01-01",
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "Info": {
                "type": "object",
                "description": "Retrieves info about the account",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "legalForm": {
                        "example": "public limited company",
                        "type": "string",
                        "nullable": true
                    },
                    "countryOfIncorporation": {
                        "example": "CH",
                        "type": "string",
                        "nullable": true
                    },
                    "address": {
                        "example": "Baslerstrasse 60",
                        "type": "string",
                        "nullable": true
                    },
                    "city": {
                        "example": "Z\u00fcrich",
                        "type": "string",
                        "nullable": true
                    },
                    "zip": {
                        "example": "8048",
                        "type": "string",
                        "nullable": true
                    },
                    "stateOrProvince": {
                        "example": "Canton of Z\u00fcrich",
                        "type": "string",
                        "nullable": true
                    },
                    "activePackage": {
                        "example": 1,
                        "type": "integer"
                    },
                    "availableBalance": {
                        "$ref": "#/components/schemas/AvailableBalance"
                    }
                }
            },
            "PayPalOrder-PayPalOrderView": {
                "type": "object",
                "description": "Create a PayPal Order",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": "6MR709191W4328148",
                        "type": "string"
                    }
                }
            },
            "PayPalOrder.PayPalOrderCreateDTO": {
                "type": "object",
                "description": "Create a PayPal Order",
                "deprecated": false,
                "required": [
                    "referenceId",
                    "description",
                    "amount",
                    "returnUrl",
                    "cancelUrl"
                ],
                "properties": {
                    "referenceId": {
                        "example": "ORDER-REF-12345",
                        "type": "string"
                    },
                    "description": {
                        "example": "Payment for invoice INV-2024-001",
                        "type": "string"
                    },
                    "amount": {
                        "$ref": "#/components/schemas/PayPalOrderAmountDTO"
                    },
                    "returnUrl": {
                        "format": "uri",
                        "externalDocs": {
                            "url": "https://schema.org/url"
                        },
                        "example": "https://example.com/paypal/return",
                        "type": "string"
                    },
                    "cancelUrl": {
                        "format": "uri",
                        "externalDocs": {
                            "url": "https://schema.org/url"
                        },
                        "example": "https://example.com/paypal/cancel",
                        "type": "string"
                    }
                }
            },
            "PayinTransactionDetail-PayinTransactionDetailView": {
                "type": "object",
                "description": "Retrieves pay-in payment information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "100.00",
                        "type": "string"
                    },
                    "executionDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "comment": {
                        "example": "Comment",
                        "type": "string",
                        "nullable": true
                    },
                    "subType": {
                        "type": "string",
                        "enum": [
                            "pay_in",
                            "returned_payment"
                        ],
                        "example": "pay_in"
                    },
                    "payerName": {
                        "example": "Name of the payer",
                        "type": "string",
                        "nullable": true
                    },
                    "qrReference": {
                        "example": "QR reference",
                        "type": "string",
                        "nullable": true
                    },
                    "isInstant": {
                        "type": "boolean"
                    }
                }
            },
            "PaymentRequest-PaymentRequestView": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 42,
                        "type": "integer"
                    },
                    "contactId": {
                        "example": 145,
                        "type": "integer"
                    },
                    "currencyCode": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "5000.50",
                        "type": "string"
                    },
                    "invoiceReference": {
                        "example": "Invoice INV-2026-001",
                        "type": "string",
                        "nullable": true
                    },
                    "invoiceDate": {
                        "example": "2026-04-21",
                        "type": "string",
                        "nullable": true
                    },
                    "dueDate": {
                        "example": "2026-05-01",
                        "type": "string",
                        "nullable": true
                    },
                    "message": {
                        "example": "Please settle this invoice until due date.",
                        "type": "string",
                        "nullable": true
                    },
                    "reminderEnabled": {
                        "example": true,
                        "type": "boolean"
                    },
                    "tagIds": {
                        "example": [
                            1,
                            2,
                            3
                        ],
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "email": {
                        "example": "recipient@example.com",
                        "type": "string",
                        "nullable": true
                    },
                    "pending": {
                        "default": true,
                        "example": true,
                        "type": "boolean"
                    },
                    "draft": {
                        "type": "boolean"
                    },
                    "hash": {
                        "example": "a5eb1c1f-a4ad-4a19-ad72-f57ba5acf795",
                        "type": "string"
                    },
                    "paymentPageUrl": {
                        "example": "https://www.paypal.com/checkoutnow?token=XYZ",
                        "type": "string",
                        "nullable": true
                    }
                }
            },
            "PaymentRequest.Document-PaymentRequestView": {
                "type": "object",
                "description": "",
                "deprecated": false
            },
            "PaymentRequest.PaymentRequestCreateDTO": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "contactId": {
                        "exclusiveMinimum": 0,
                        "example": 123,
                        "type": "integer",
                        "nullable": true
                    },
                    "contact": {
                        "type": "object",
                        "description": "Alternative recipient definition when contactId is not provided.",
                        "properties": {
                            "name": {
                                "type": "string",
                                "example": "Acme GmbH"
                            },
                            "countryCode": {
                                "type": "string",
                                "example": "CH"
                            },
                            "type": {
                                "type": "string",
                                "example": "legal_entity"
                            },
                            "email": {
                                "type": "string",
                                "format": "email",
                                "example": "recipient@example.com"
                            }
                        },
                        "required": [
                            "name",
                            "countryCode"
                        ]
                    },
                    "amount": {
                        "pattern": "^(\\d+(\\.\\d{1,2})?)$",
                        "example": "5000.50",
                        "type": "string",
                        "nullable": true
                    },
                    "currencyCode": {
                        "minLength": 3,
                        "maxLength": 3,
                        "example": "CHF",
                        "type": "string",
                        "nullable": true
                    },
                    "invoiceReference": {
                        "maxLength": 255,
                        "example": "Invoice INV-2026-001",
                        "type": "string",
                        "nullable": true
                    },
                    "invoiceDate": {
                        "externalDocs": {
                            "url": "https://schema.org/DateTime"
                        },
                        "example": "2026-04-21",
                        "type": "string",
                        "nullable": true
                    },
                    "dueDate": {
                        "externalDocs": {
                            "url": "https://schema.org/DateTime"
                        },
                        "example": "2026-05-01",
                        "type": "string",
                        "nullable": true
                    },
                    "message": {
                        "example": "Please settle this invoice until due date.",
                        "type": "string",
                        "nullable": true
                    },
                    "reminderEnabled": {
                        "example": true,
                        "type": "boolean"
                    },
                    "tagIds": {
                        "example": [
                            1,
                            2,
                            3
                        ],
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "deliveryChannel": {
                        "enum": [
                            "email_and_url",
                            "url_only"
                        ],
                        "default": "email_and_url",
                        "example": "email_and_url",
                        "type": "string"
                    },
                    "email": {
                        "format": "email",
                        "externalDocs": {
                            "url": "https://schema.org/email"
                        },
                        "example": "recipient@example.com",
                        "type": "string",
                        "nullable": true
                    }
                },
                "required": [
                    "amount",
                    "currencyCode",
                    "invoiceDate",
                    "dueDate",
                    "deliveryChannel"
                ]
            },
            "PayoutTransactionDetail-PayoutTransactionDetailCreate": {
                "type": "object",
                "description": "Creates a new payment",
                "deprecated": false,
                "required": [
                    "amount",
                    "reference",
                    "bankAccount"
                ],
                "properties": {
                    "amount": {
                        "example": "100.00",
                        "type": "string",
                        "nullable": true
                    },
                    "executionDate": {
                        "description": "If left empty, the next possible execution date will be selected automatically",
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "reference": {
                        "minLength": 3,
                        "maxLength": 140,
                        "description": "This text will be seen by the beneficiary",
                        "example": "Payment for car rental",
                        "type": "string",
                        "nullable": true
                    },
                    "feeSchedule": {
                        "enum": [
                            "DEBT",
                            "SHAR",
                            "CRED"
                        ],
                        "maxLength": 4,
                        "description": "For LOCAL payments leave it empty, for SWIFT payments provide a value",
                        "type": "string",
                        "example": "SHAR"
                    },
                    "beneficiary": {
                        "description": "The beneficiary field is required, except for payments to IBANs linked to existing amnis customers.",
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/Beneficiary-PayoutTransactionDetailCreate"
                            }
                        ],
                        "nullable": true
                    },
                    "bankAccount": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/BankAccount-PayoutTransactionDetailCreate"
                            }
                        ],
                        "nullable": true
                    },
                    "externalId": {
                        "description": "This should be a unique ID used to identify this payment in your system.",
                        "example": "f0f94bbd-bd5c-48a8-b45d-f32a376c7ffe",
                        "type": "string",
                        "nullable": true
                    }
                }
            },
            "PayoutTransactionDetail-PayoutTransactionDetailView": {
                "type": "object",
                "description": "(Deprecated) Retrieves MT103 payment submission info",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "account": {
                        "example": 1,
                        "type": "integer"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "100.00",
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "created",
                            "pending",
                            "transferred",
                            "canceled",
                            "pending_execution",
                            "executed",
                            "execution_error"
                        ],
                        "example": "executed"
                    },
                    "executionDate": {
                        "description": "If left empty, the next possible execution date will be selected automatically",
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "transferredAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "finishedAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "reference": {
                        "description": "This text will be seen by the beneficiary",
                        "example": "Payment for car rental",
                        "type": "string",
                        "nullable": true
                    },
                    "feeSchedule": {
                        "description": "For LOCAL payments leave it empty, for SWIFT payments provide a value",
                        "type": "string",
                        "enum": [
                            "DEBT",
                            "SHAR",
                            "CRED"
                        ],
                        "example": "SHAR"
                    },
                    "qrReference": {
                        "example": "QR reference",
                        "type": "string",
                        "nullable": true
                    },
                    "contact": {
                        "example": 1,
                        "type": "integer"
                    },
                    "beneficiary": {
                        "description": "The beneficiary field is required, except for payments to IBANs linked to existing amnis customers.",
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/Beneficiary-PayoutTransactionDetailView"
                            }
                        ],
                        "nullable": true
                    },
                    "fromAutomation": {
                        "type": "boolean"
                    }
                }
            },
            "RebelAccount-RebelAccountView": {
                "type": "object",
                "description": "Retrieves pay-in payment information",
                "deprecated": false,
                "properties": {
                    "resourceId": {
                        "example": 1,
                        "type": "integer"
                    },
                    "iban": {
                        "example": "CH8589144564374146431",
                        "type": "string"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "name": {
                        "example": "CHF Main Account",
                        "type": "string"
                    }
                }
            },
            "RebelConsent": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "consentId": {
                        "example": "7b27dab5-2211-4a9f-95b2-8f4ebd8b47ae",
                        "type": "string",
                        "nullable": true
                    },
                    "consentStatus": {
                        "type": "string",
                        "nullable": true
                    },
                    "_links": {
                        "readOnly": true,
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "scaOAuth": {
                        "readOnly": true,
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "RebelConsent-ConsentCreateView": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "consentId": {
                        "example": "7b27dab5-2211-4a9f-95b2-8f4ebd8b47ae",
                        "type": "string",
                        "nullable": true
                    },
                    "consentStatus": {
                        "type": "string",
                        "nullable": true
                    },
                    "scaOAuth": {
                        "readOnly": true,
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "RebelConsent-ConsentView": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "consentId": {
                        "example": "7b27dab5-2211-4a9f-95b2-8f4ebd8b47ae",
                        "type": "string",
                        "nullable": true
                    },
                    "consentStatus": {
                        "type": "string",
                        "nullable": true
                    },
                    "_links": {
                        "readOnly": true,
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "Transaction-TransactionView_FeeTransactionDetailView_FxTransactionDetailView_CardTransactionDetailView_PayinTransactionDetailView_PayoutTransactionDetailView_WalletTransactionDetailView": {
                "type": "object",
                "description": "Retrieves transaction information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": "1",
                        "type": "integer"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "100.00",
                        "type": "string"
                    },
                    "type": {
                        "example": "payin",
                        "type": "string",
                        "enum": [
                            "fee",
                            "payin",
                            "payout",
                            "peer",
                            "fx",
                            "card"
                        ]
                    },
                    "executionDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "executed": {
                        "example": true,
                        "type": "boolean"
                    },
                    "createdAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "updatedAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "account": {
                        "example": 1,
                        "type": "integer"
                    },
                    "transactionDetailId": {
                        "example": 1,
                        "type": "integer",
                        "nullable": true
                    },
                    "tags": {
                        "example": [
                            "tag1",
                            "tag2"
                        ],
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "documents": {
                        "$ref": "#/components/schemas/Document-TransactionView"
                    },
                    "expenseCategory": {
                        "$ref": "#/components/schemas/ExpenseCategory-TransactionView"
                    },
                    "expenseCostCenter": {
                        "$ref": "#/components/schemas/ExpenseCostCenter-TransactionView"
                    },
                    "vat": {
                        "example": [
                            {
                                "rate": "5",
                                "amount": "20",
                                "grossAmount": "120"
                            },
                            {
                                "rate": "10",
                                "amount": "30",
                                "grossAmount": "330"
                            }
                        ],
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "deprecated": true
                    },
                    "vats": {
                        "example": [
                            {
                                "expenseVat": 1,
                                "rate": "5",
                                "amount": "20",
                                "grossAmount": "120",
                                "externalId": "vat-5"
                            }
                        ],
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "expenseVat": {
                                    "type": "integer",
                                    "example": 1,
                                    "nullable": true
                                },
                                "rate": {
                                    "type": "string",
                                    "example": "5"
                                },
                                "amount": {
                                    "type": "string",
                                    "example": "20"
                                },
                                "grossAmount": {
                                    "type": "string",
                                    "example": "120"
                                },
                                "externalId": {
                                    "type": "string",
                                    "example": "vat-5",
                                    "nullable": true
                                }
                            }
                        }
                    },
                    "comment": {
                        "type": "string",
                        "nullable": true
                    },
                    "expenseCompletedAt": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string",
                        "nullable": true
                    },
                    "magicLinkUrl": {
                        "example": "https://app.amnis.com/expenses-public/4cb001f8-2b57-4b4a-8d2c-7d1a2f3b4c5d",
                        "type": "string",
                        "nullable": true
                    },
                    "contact": {
                        "$ref": "#/components/schemas/Contact-TransactionView"
                    }
                }
            },
            "Transaction.TransactionExpenseCompletedDTO-TransactionExpenseComplete": {
                "type": "object",
                "description": "Toggles expense completion for a transaction",
                "deprecated": false,
                "properties": {
                    "markAsComplete": {
                        "example": true,
                        "type": "boolean",
                        "nullable": true
                    }
                }
            },
            "Transaction.TransactionExpenseUpdateDTO-TransactionExpenseUpdate": {
                "type": "object",
                "description": "Updates expense information for a transaction",
                "deprecated": false,
                "properties": {
                    "category": {
                        "example": 1,
                        "type": "integer",
                        "nullable": true
                    },
                    "costCenter": {
                        "example": 1,
                        "type": "integer",
                        "nullable": true
                    },
                    "vatRate": {
                        "example": [
                            "7.7",
                            "2.5"
                        ],
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "nullable": true
                    },
                    "vatAmount": {
                        "example": [
                            "100.00",
                            "50.00"
                        ],
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "nullable": true
                    },
                    "vats": {
                        "example": [
                            {
                                "expenseVat": 1,
                                "rate": "7.7",
                                "amount": "7.15",
                                "grossAmount": "100.00",
                                "externalId": "vat-ch-77"
                            }
                        ],
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "expenseVat": {
                                    "type": "integer",
                                    "example": 1,
                                    "nullable": true
                                },
                                "rate": {
                                    "type": "string",
                                    "example": "7.7"
                                },
                                "amount": {
                                    "type": "string",
                                    "example": "7.15",
                                    "nullable": true
                                },
                                "grossAmount": {
                                    "type": "string",
                                    "example": "100.00"
                                },
                                "externalId": {
                                    "type": "string",
                                    "example": "vat-ch-77",
                                    "nullable": true
                                }
                            }
                        },
                        "nullable": true
                    },
                    "note": {
                        "example": "Team lunch",
                        "type": "string",
                        "nullable": true
                    }
                }
            },
            "WalletTransactionDetail-WalletTransactionDetailView": {
                "type": "object",
                "description": "Retrieves PEER payment information",
                "deprecated": false,
                "properties": {
                    "id": {
                        "example": 1,
                        "type": "integer"
                    },
                    "currency": {
                        "example": "CHF",
                        "type": "string"
                    },
                    "amount": {
                        "example": "100.00",
                        "type": "string"
                    },
                    "executionDate": {
                        "example": "2023-01-01T00:00:00+00:00",
                        "type": "string"
                    },
                    "collateral": {
                        "type": "boolean"
                    },
                    "side": {
                        "type": "string",
                        "enum": [
                            "sender",
                            "receiver"
                        ],
                        "example": "sender"
                    },
                    "senderCompanyName": {
                        "example": "Example Sender Company AG",
                        "type": "string"
                    },
                    "receiverCompanyName": {
                        "example": "Example Receiver Company AG",
                        "type": "string"
                    },
                    "senderAccount": {
                        "example": 1,
                        "type": "integer",
                        "nullable": true
                    },
                    "receiverAccount": {
                        "example": 2,
                        "type": "integer",
                        "nullable": true
                    },
                    "comment": {
                        "example": "Example comment",
                        "type": "string",
                        "nullable": true
                    },
                    "contact": {
                        "example": 1,
                        "type": "integer"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "created",
                            "pending",
                            "transferred",
                            "canceled"
                        ],
                        "example": "transferred"
                    },
                    "fromAutomation": {
                        "type": "boolean"
                    }
                }
            },
            "AuthenticationFailed": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "detail": {
                        "type": "string"
                    }
                }
            },
            "AccessDenied": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "detail": {
                        "type": "string"
                    }
                }
            },
            "AvailableBalance": {
                "type": "object",
                "properties": {
                    "currency": {
                        "type": "string",
                        "nullable": true
                    },
                    "amount": {
                        "type": "string"
                    }
                }
            },
            "Beneficiary-PayoutTransactionDetailView": {
                "type": "object",
                "properties": {
                    "accountNumber": {
                        "type": "string"
                    },
                    "bankName": {
                        "type": "string",
                        "nullable": true
                    },
                    "bankCountry": {
                        "type": "string",
                        "nullable": true
                    },
                    "name": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string",
                        "nullable": true
                    },
                    "city": {
                        "type": "string",
                        "nullable": true
                    },
                    "zip": {
                        "type": "string",
                        "nullable": true
                    },
                    "country": {
                        "type": "string",
                        "nullable": true
                    },
                    "contact": {
                        "type": "string",
                        "nullable": true
                    }
                }
            },
            "Beneficiary-PayoutTransactionDetailCreate": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    },
                    "city": {
                        "type": "string"
                    },
                    "zip": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    }
                }
            },
            "BankAccount-PayoutTransactionDetailCreate": {
                "type": "object",
                "properties": {
                    "iban": {
                        "type": "string"
                    },
                    "accountNumber": {
                        "type": "string"
                    },
                    "swift": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    },
                    "additionalFields": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "name": {
                                    "type": "string",
                                    "example": "qrReference"
                                },
                                "value": {
                                    "type": "string",
                                    "example": "210000000003139471430009017"
                                }
                            }
                        },
                        "nullable": true
                    }
                }
            },
            "Card-CardHolderView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "pan4": {
                        "type": "string"
                    }
                }
            },
            "Card-CardTransactionDetailView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "pan4": {
                        "type": "string"
                    }
                }
            },
            "Document-TransactionView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": "1"
                    },
                    "name": {
                        "type": "string",
                        "example": "example_document.jpg"
                    },
                    "mimeType": {
                        "type": "string",
                        "example": "image/jpeg"
                    }
                }
            },
            "Document-TransactionView_FeeTransactionDetailView_FxTransactionDetailView_CardTransactionDetailView_PayinTransactionDetailView_PayoutTransactionDetailView_WalletTransactionDetailView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "mimeType": {
                        "type": "string"
                    }
                }
            },
            "ClientCredentialsAuthenticationOutput": {
                "type": "object",
                "properties": {
                    "access_token": {
                        "type": "string"
                    },
                    "expires_in": {
                        "type": "string",
                        "example": 3600
                    },
                    "token_type": {
                        "type": "string",
                        "example": "Bearer"
                    }
                }
            },
            "ClientCredentialsAuthenticationBody": {
                "type": "object",
                "required": [
                    "grant_type",
                    "client_id",
                    "client_secret"
                ],
                "properties": {
                    "grant_type": {
                        "type": "string",
                        "enum": [
                            "client_credentials"
                        ]
                    },
                    "client_id": {
                        "type": "string"
                    },
                    "client_secret": {
                        "type": "string"
                    },
                    "scopes": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": [
                                "USER",
                                "PAYMENT_CREATE",
                                "CARD_MANAGEMENT",
                                "FX",
                                "ACCOUNTING",
                                "PAYPAL"
                            ]
                        }
                    }
                }
            },
            "Merchant-CardTransactionDetailView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    },
                    "mccCode": {
                        "type": "string"
                    }
                }
            },
            "Tag-View": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                }
            },
            "BadRequestException": {
                "type": "object",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "detail": {
                        "type": "string"
                    }
                }
            },
            "NotFoundException": {
                "type": "object",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "detail": {
                        "type": "string"
                    }
                }
            },
            "ExpenseCategory-TransactionView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": "1"
                    },
                    "name": {
                        "type": "string",
                        "example": "Travel expense"
                    },
                    "accountingAccountNumber": {
                        "type": "string",
                        "example": "123456"
                    },
                    "externalId": {
                        "type": "string",
                        "example": "abcefg"
                    }
                }
            },
            "ExpenseCostCenter-TransactionView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": "1"
                    },
                    "name": {
                        "type": "string",
                        "example": "Travel expense"
                    },
                    "number": {
                        "type": "string",
                        "example": "123456"
                    }
                }
            },
            "PayPalOrderAmountDTO": {
                "type": "object",
                "properties": {
                    "currencyCode": {
                        "type": "string",
                        "example": "USD"
                    },
                    "value": {
                        "type": "number",
                        "example": 10
                    }
                }
            },
            "Contact-TransactionView": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": "1"
                    }
                }
            }
        },
        "responses": {},
        "parameters": {},
        "examples": {},
        "requestBodies": {},
        "headers": {},
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "bearerFormat": "JWT"
            }
        }
    },
    "security": [],
    "tags": [],
    "webhooks": {}
}