{"openapi":"3.0.1","info":{"title":"ABB","description":"ABB API","version":"v1"},"servers":[{"url":"/","description":"Default Server URL"}],"paths":{"/api/v1/person/details":{"get":{"tags":["Person"],"summary":"fetch an authenticated person's details.","operationId":"personDetails","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/back-office/files":{"post":{"tags":["Back Office"],"summary":"upload a binary file to the shared file storage","description":"the back-end may need to pass binary files to the internet bank, such as attachments to back-office-originated banking messages.\n        this call facilitates such uploads. files uploaded via this resource will only be accessible...\n        1) ...directly by the back-end through the use of the /api/v1/back-office/files/{fileId} API.\n        2) ...indirectly by certain internet bank users.\n        \"indirectly\" means that users will not be able to download such files via their /api/v1/files/{fileId} API;\n        users, however, will be able to access such attachments provided they have permissions to access the entities (such as payments, bank messages, etc...)\n        the attachments are bound to via e.g. /api/v1/payments/{paymentId}/files/{fileId} for payment attachments,\n        or via /api/v1/bank-messages/{bankMessageId}/files/{fileId} for bank message attachments.","operationId":"uploadFile","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","format":"binary"}}}},"responses":{"201":{"description":"the attachment was uploaded successfully; the response contains a FileIdWrapper that can be used to address the file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/back-office/files/{fileId}":{"get":{"tags":["Back Office"],"summary":"download the specified file from file storage","description":"download the file denoted by a fileId obtained from when the file was uploaded to the file storage.\n        the server will supply the original file name and MIME type, as well as binary file content.\n        there are no file access restrictions for back-end components that this API is exclusively available to.","operationId":"getFile","parameters":[{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"12344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/back-office/files/{fileId}/meta-data":{"get":{"tags":["Back Office"],"summary":"fetch file meta-data","description":"the server will supply the original file name, MIME type and file length.\n        in case the user is permitted access to a bank message, the user is also permitted to fetch the bank message's attachments' meta-data.","operationId":"getBankMessageFileMetaData","parameters":[{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"12344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentMetaData"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/back-office/init/banks":{"post":{"tags":["Back Office"],"summary":"refresh the internet bank's directory of BankMail banks","description":" client applications use this directory to perform client-side validation of BankMail account numbers on e.g. payment creation forms.\n        the administrative console may use this resource to upload an up-to-date complete directory of BankMail banks.\n        the old copy of the directory is purged prior to applying the new one (non-incremental synchronization).\n        note that there is a tool to convert a dump of the [InternetBank].[dbo].[BANKS] table into an object consumable by this call.","operationId":"initBankMailBanks","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankMailBanks"}}}},"responses":{"201":{"description":"the directory was (re)created successfully"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/back-office/init/countries":{"post":{"tags":["Back Office"],"summary":"refresh the internet bank's directory of countries","description":"client applications use this directory to provide drop-down lists of countries on e.g. payment creation forms.\n        the administrative console may use this resource to upload an up-to-date complete directory of countries.\n        the old copy of the directory is purged prior to applying the new one (non-incremental synchronization).\n        note that there is a tool to create an object consumable by this call from a combination of country data at https://github.com/mledoze/countries and a CSV dump of the [Usucum].[dbo].[TREES] table.","operationId":"refreshCountries","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncCountries"}}}},"responses":{"201":{"description":"the directory was (re)created successfully"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/back-office/user/info":{"get":{"tags":["Back Office"],"summary":"this call returns information about the user who is currently logged in.","operationId":"userInfo","responses":{"201":{"description":"User info was successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/back-office/user/offboard":{"post":{"tags":["Back Office"],"summary":"Method to offboard user from new ibank system","description":"Drop all user data from postgres db, to prevent login into ibank","operationId":"offboardUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRequest"}}}},"responses":{"201":{"description":"The projection was a success."}}}},"/back-office/user/onboard":{"post":{"tags":["Back Office"],"summary":"Method to initial onboard of users into new ibank system","description":"In order for end-user to be able to log into the internet bank, a corresponding user record first needs to be registered with the internet bank serverMethod creates user, permissions and synchronizes customer objects into postgres db, to allow login into ibank","operationId":"onboardUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRequest"}}}},"responses":{"201":{"description":"The projection was a success."}}}},"/api/v1/files":{"post":{"tags":["Files"],"summary":"upload a user binary file","description":"this resource can be used to upload a file on behalf of a user, to be used in a subsequent operation, such as being attached\n        to a payment order or a bank message being created, etc..\n        the file will be able to be downloaded directly only by ...\n        1) ... the current user.\n        2) ... the back-end via the /api/v1/back-office/files resource\n        no indirect access to the file is provided.","operationId":"uploadFile_1","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","format":"binary"}}}},"responses":{"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/files/{fileId}":{"get":{"tags":["Files"],"summary":"download the specified file from file storage","description":"download the file denoted by a fileId obtained from when the file was uploaded to the file storage.\n        the server will supply the original file name and MIME type, as well as binary file content.\n        there are no file access restrictions for back-end components that this API is exclusively available to.","operationId":"getFile_1","parameters":[{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"12344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/loans":{"get":{"tags":["Loans"],"summary":"fetch all loans of a client","description":"Request loans for authenticated customer from CORE","operationId":"listLoans","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoansWrapper"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/loans/applications/offers":{"get":{"tags":["Loans"],"summary":"fetch all loans offers of a client","description":"Request loans offers for authenticated customer from CORE","operationId":"findLoanOffers","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanOffer"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/loans/offer":{"put":{"tags":["Loans"],"summary":"Request loan offer","description":"Request loan offer for authenticated client","operationId":"requestLoanOffer","responses":{"200":{"description":"OK"}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/loans/{loanAgreementNumber}":{"get":{"tags":["Loans"],"summary":"fetch loan by given loan agreement number","description":"Request loan by agreement number for authenticated customer from CORE","operationId":"findLoan","parameters":[{"name":"loanAgreementNumber","in":"path","description":"identifies the loan agreement number","required":true,"schema":{"type":"string"},"example":"V19-032059"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Loan"}}}},"404":{"description":"Not found for given loan agreement number"}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/loans/{loanAgreementNumber}/repayment-schedule":{"get":{"tags":["Loans"],"summary":"fetch repayment schedule of loan by given loan agreement number","description":"Request loan' repayment schedule by agreement number for authenticated customer from CORE","operationId":"getRepaymentSchedule","parameters":[{"name":"loanAgreementNumber","in":"path","description":"identifies the loan agreement number","required":true,"schema":{"type":"string"},"example":"V19-032059"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanRepaymentSchedule"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/loans/{loanAgreementNumber}/repayments":{"get":{"tags":["Loans"],"summary":"Fetch loan's repayments by agreement number","operationId":"findLoanRepayments","parameters":[{"name":"loanAgreementNumber","in":"path","description":"identifies the loan agreement number","required":true,"schema":{"type":"string"},"example":"V19-032059"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanRepaymentsWrapper"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cross-exchange-rates":{"post":{"tags":["Currency Exchange"],"summary":"Current cross exchange rate of currencies other than AMD","operationId":"getCrossRate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrencyCrossRatesQueryForm"},"examples":{"Example request body":{"$ref":"#/components/examples/currency_cross_rates_request.json"}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrencyCrossRate"},"examples":{"Example response":{"$ref":"#/components/examples/200_currency_cross_rate.json"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbbAuthenticationException"},"examples":{"Bad credentials":{"$ref":"#/components/examples/401_bad_credentials.json"},"Expired credentials":{"$ref":"#/components/examples/401_expired_credentials.json"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/currency-exchange-rates":{"get":{"tags":["Currency Exchange"],"summary":"acquire actual currency exchange rates","description":"this API fetches a list of actual currency exchange rates for all currencies traded.","operationId":"listExchangeRates","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrencyExchangeRatesWrapper"},"examples":{"Example response":{"$ref":"#/components/examples/200_currency_exchange_rates.json"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbbAuthenticationException"},"examples":{"Bad credentials":{"$ref":"#/components/examples/401_bad_credentials.json"},"Expired credentials":{"$ref":"#/components/examples/401_expired_credentials.json"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/user/permissions":{"get":{"tags":["User API"],"summary":"Retrieve the permissions associated with a current user and customer","operationId":"getUserPermissions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPermission"},"examples":{"Success response":{"description":"Success response","value":{"permissions":{"cards":["cards.view"],"payments":["payments.*"]}}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/deposits":{"get":{"tags":["Deposits"],"summary":"query deposits from CORE","description":"Request deposits for authenticated customer from CORE","operationId":"deposits","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositsWrapper"},"examples":{"Example successful response":{"$ref":"#/components/examples/200_deposits.json"}}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/applications":{"get":{"tags":["Deposits"],"summary":"fetch all deposit opening applications of a client","description":"fetch all deposit opening applications owned by the client associated with the current user logon session.\n        items are sorted by creation date, newer items first.\n        all deposit opening applications, regardless of the state, are returned.","operationId":"listDepositOpeningApplications","responses":{"200":{"description":"the response contains a list of deposit opening applications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositOpeningApplicationsWrapper"},"examples":{"Example successful response":{"$ref":"#/components/examples/200_deposit_applications.json"}}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"post":{"tags":["Deposits"],"summary":"create a new deposit opening application","description":"once a deposit template is found via the use of the /api/v1/deposit-templates/queries resource, a deposit \n        opening application may be created. note that the actual submission of an application requires an explicit\n        authorization by the user through the use of the /api/v1/deposit-applications/{depositApplicationId}/authorizations resource.","operationId":"createDeposit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositOpeningApplicationCreationRequest"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositApplicationIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/applications/{depositApplicationId}":{"get":{"tags":["Deposits"],"summary":"get a deposit opening application","description":"obtain information regarding an individual internet bank deposit opening application.\n        the application has to be owned by the client that the current user logon session is associated with.","operationId":"getDepositApplication","parameters":[{"name":"depositApplicationId","in":"path","description":"identifies the deposit opening application","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositOpeningApplication"}}}},"404":{"description":"Deposit opening application not found"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"put":{"tags":["Deposits"],"summary":"update existing deposit opening application in  editable state","operationId":"updateDepositApplication","parameters":[{"name":"depositApplicationId","in":"path","description":"identifies the deposit opening application","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositOpeningApplicationCreationRequest"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositApplicationIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"delete":{"tags":["Deposits"],"summary":"delete existing deposit opening application in editable state","operationId":"deleteDepositApplication","parameters":[{"name":"depositApplicationId","in":"path","description":"identifies the deposit opening application","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"204":{"description":"OK"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/applications/{depositApplicationId}/authorize":{"post":{"tags":["Deposits"],"summary":"fully authorize the deposit opening application and post it for analysis to back-end","description":"a deposit opening application is only sent to the back-end once the end-user authorizes the action via this resource.\n        the deposit opening application must be owned by the client the current user logon session is associated with.","operationId":"authorizeAndSubmitDeposit","parameters":[{"name":"depositApplicationId","in":"path","description":"identifies the deposit opening application","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/details/{depositId}":{"get":{"tags":["Deposits"],"summary":"get deposit by id from CORE","description":"Request deposit for authenticated customer from CORE","operationId":"deposits_1","parameters":[{"name":"depositId","in":"path","description":"identifies the deposit (contract number)","required":true,"schema":{"type":"string","format":"string"},"example":"A22-18747"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deposit"},"examples":{"Example successful response":{"$ref":"#/components/examples/200_deposit.json"}}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/replenishments/check/allowed/{depositId}":{"post":{"tags":["Deposits"],"summary":"check if replenishment is allowed for a given deposit","description":"validates if deposit replenish is allowed and limits not exceeded","operationId":"checkReplenishmentAllowed","parameters":[{"name":"depositId","in":"path","description":"deposit identifier","required":true,"schema":{"type":"string","format":"string"},"example":"AB-232344"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositReplenishmentIdWrapper"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/replenishments/check/order":{"post":{"tags":["Deposits"],"summary":"validate a replenishment order for given deposit","description":"Check if deposit replenishment is valid","operationId":"checkReplenishmentOrder","requestBody":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DepositReplenishmentCreationRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositReplenishmentIdWrapper"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/replenishments/list/{depositId}":{"get":{"tags":["Deposits"],"summary":"get list of deposit replenishments by given deposit","operationId":"listDepositReplenishments","parameters":[{"name":"depositId","in":"path","description":"deposit identifier","required":true,"schema":{"type":"string","format":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositReplenishment"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/replenishments/processing/{replenishmentId}":{"get":{"tags":["Deposits"],"summary":"get processing info of deposit replenishment","operationId":"getDepositReplenishmentProcessingInfo","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositReplenishmentProcessData"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/replenishments/submit":{"post":{"tags":["Deposits"],"summary":"submit a replenishment order for given deposit","description":"a replenishment is validated and submitted for the deposit","operationId":"submitDepositReplenishment","requestBody":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DepositReplenishmentCreationRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositReplenishmentIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/deposits/templates":{"post":{"tags":["Deposits"],"summary":"query deposit templates by criteria","description":"in order to create a deposit opening application via the /api/v1/deposit-applications resource,\n        the client needs to supply the identifier of a deposit template.\n        deposit templates can be looked up by this resource. in case no search criteria are specified,\n        all deposit templates available to the internet bank are returned.","operationId":"listDepositTemplates","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositTemplatesQueryForm"},"examples":{"Example request":{"$ref":"#/components/examples/deposit_templates_request.json"}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositTemplatesWrapper"},"examples":{"Example successful response":{"$ref":"#/components/examples/200_deposit_templates.json"}}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payment-templates":{"get":{"tags":["Payment Templates"],"summary":"fetch all payment templates of a client","description":"this resource fetches a list of all payment templates for the client associated with the current user logon session.\n        available filtering options are by template name and template type.\n        note that payment templates do not support attachments.","operationId":"listPaymentTemplates","parameters":[{"name":"paymentTypeFilter","in":"query","description":"this is an optional specification of a \"filter by type\".\n            if no filter is specified, payment orders of all types are returned.\n            if one or several payment types are specified, only payments of any of those types are returned.\n            several filter specifications with different values can be specified within the URL, such as:\n            .../api/v1/payments?paymentTypeFilter=communal-individual&paymentTypeFilter=swift","required":true,"schema":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]},"example":"swift"},{"name":"templateNameFilter","in":"query","description":"this is an optional specification of a \"filter by a partial match on template name\".\n            if no filter is specified, all payment templates are returned.\n            if a filter is specified, only payment templates whose names contain the value of templateNameFilter as a substring are returned.\n            note that several specifications of the templateNameFilter filter are not allowed.","schema":{"type":"string"}}],"responses":{"200":{"description":"the response contains the list of payment templates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentTemplatesWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"post":{"tags":["Payment Templates"],"summary":"create a new payment template","description":"payment templates may have any of their fields unspecified.\n        in case a field value is specified, however, that value has to pass validation.\n        if specified, the sender account of the payment template needs to be owned by the client that is bound to the current user logon session.\n        no attachments are allowed to be specified for a template.","operationId":"createPaymentTemplate","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentTemplateRequestInternal"},{"$ref":"#/components/schemas/PaymentTemplateRequestSwift"},{"$ref":"#/components/schemas/PaymentTemplateRequestLoanRepayment"},{"$ref":"#/components/schemas/PaymentTemplateRequestBankMailPrivatePerson"},{"$ref":"#/components/schemas/PaymentTemplateRequestCommunalGroup"},{"$ref":"#/components/schemas/PaymentTemplateRequestCommunalIndividual"},{"$ref":"#/components/schemas/PaymentTemplateRequestCurrencyExchange"}]}}}},"responses":{"201":{"description":"the payment template was created successfully;\n            the response contains a PaymentTemplateIdWrapper that can be used to later address the payment template (in the e.g. payment template modification API)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentTemplateIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payment-templates/{paymentTemplateId}":{"get":{"tags":["Payment Templates"],"summary":"fetch an individual payment template","description":"obtain information regarding an internet bank payment template by its identifier.","operationId":"findPaymentTemplate","parameters":[{"name":"paymentTemplateId","in":"path","description":"identifies the payment template","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"the response contains the list of payment templates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentTemplate"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"put":{"tags":["Payment Templates"],"summary":"update a payment template","description":"a record-level update of a payment template that already exists.\n        payment templates may have any of their fields unspecified.\n        in case a field value is specified, however, that value has to pass validation.\n        if specified, the sender account of the payment template needs to be owned by the client that is bound to the current user logon session.\n        the existing payment template must have originally belonged to the client that is bound to the current user logon session.\n        no attachments are allowed to be specified for a template.","operationId":"updatePaymentTemplate","parameters":[{"name":"paymentTemplateId","in":"path","description":"identifies the payment template","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentTemplateRequestInternal"},{"$ref":"#/components/schemas/PaymentTemplateRequestSwift"},{"$ref":"#/components/schemas/PaymentTemplateRequestLoanRepayment"},{"$ref":"#/components/schemas/PaymentTemplateRequestBankMailPrivatePerson"},{"$ref":"#/components/schemas/PaymentTemplateRequestCommunalGroup"},{"$ref":"#/components/schemas/PaymentTemplateRequestCommunalIndividual"},{"$ref":"#/components/schemas/PaymentTemplateRequestCurrencyExchange"}]}}}},"responses":{"204":{"description":"the payment template content was successfully replaced"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"delete":{"tags":["Payment Templates"],"summary":"delete a payment template","description":"the existing payment template must have originally belonged to the client that is bound to the current user logon session.","operationId":"deletePaymentTemplate","parameters":[{"name":"paymentTemplateId","in":"path","description":"identifies the payment template","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"204":{"description":"the payment template was successfully deleted"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payments":{"get":{"tags":["Payments"],"summary":"fetch all payments of a client","description":"this resource fetches a list of all payments for the client associated with the current user logon session.\n        the only filtering available is by payment type.\n        note that all payments returned by this call will have their list of attachment IDs empty -\n        in order to fetch the list of attachment IDs for a payment, use the GET /api/v1/payments/{paymentId} call.","operationId":"listPaymentOrders","parameters":[{"name":"paymentTypeFilter","in":"query","description":"this is an optional specification of a \"filter by type\".\n            if no filter is specified, payment orders of all types are returned.\n            if one or several payment types are specified, only payments of any of those types are returned.\n            several filter specifications with different values can be specified within the URL, such as:\n            .../api/v1/payments?paymentTypeFilter=communal-individual&paymentTypeFilter=swift","required":true,"schema":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]},"example":"swift"}],"responses":{"200":{"description":"the response contains the list of payments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentsWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"post":{"tags":["Payments"],"summary":"create a new payment order","description":"the creation of a payment order does not entail its submission to the back-end for execution.\n        the submission can be authorized by the end-user via the use of /api/v1/payments/{paymentId}/authorizations.\n        the sender account of the payment needs to be owned by the client that is bound to the current user logon session.","operationId":"createPayment","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentRequestInternal"},{"$ref":"#/components/schemas/PaymentRequestSwift"},{"$ref":"#/components/schemas/PaymentRequestLoanRepayment"},{"$ref":"#/components/schemas/PaymentRequestBankMailPrivatePerson"},{"$ref":"#/components/schemas/PaymentRequestCommunalGroup"},{"$ref":"#/components/schemas/PaymentRequestCommunalIndividual"},{"$ref":"#/components/schemas/PaymentRequestCurrencyExchange"}]}}}},"responses":{"201":{"description":"the payment order was created successfully;\n            the response contains a PaymentIdWrapper that can be used to later address the payment (in the e.g. payment authorization API)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payments/{paymentId}":{"get":{"tags":["Payments"],"summary":"fetch an individual payment order","description":"obtain information regarding an internet bank payment order by its identifier.\n        the sender account of the payment needs to be owned by the client that is bound to the current user logon session.","operationId":"getPaymentOrder","parameters":[{"name":"paymentId","in":"path","description":"identifies the payment","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payment"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"put":{"tags":["Payments"],"summary":"update a prepared payment order","description":"a record-level update of a payment order that already exists.\n        only payment orders in the PaymentStatus.Prepared state are allowed to be modified.\n        the sender account of the payment needs to be owned by the client that is bound to the current user logon session.\n        any attachments that were associated with the payment order being modified but not listed in the updated payment order are kept intact\n        and are available to be re-attached to another payment order, provided that the user does have access to the attachments.","operationId":"updatePaymentOrder","parameters":[{"name":"paymentId","in":"path","description":"identifies the payment","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentUpdateRequestInternal"},{"$ref":"#/components/schemas/PaymentUpdateRequestSwift"},{"$ref":"#/components/schemas/PaymentUpdateRequestLoanRepayment"},{"$ref":"#/components/schemas/PaymentUpdateRequestBankMailPrivatePerson"},{"$ref":"#/components/schemas/PaymentUpdateRequestCommunalGroup"},{"$ref":"#/components/schemas/PaymentUpdateRequestCommunalIndividual"},{"$ref":"#/components/schemas/PaymentUpdateRequestCurrencyExchange"}]}}}},"responses":{"204":{"description":"the payment order content was successfully replaced"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"delete":{"tags":["Payments"],"summary":"delete a prepared payment order","description":"only payment orders in the PaymentStatus.Prepared state are allowed to be deleted.\n        the sender account of the payment needs to be owned by the client that is bound to the current user logon session.\n        in case the payment order had attachments associated with it, the attachments are kept intact\n        and are available to be re-attached to another payment order, provided that the user does have access to the attachments.","operationId":"deletePaymentOrder","parameters":[{"name":"paymentId","in":"path","description":"identifies the payment","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"204":{"description":"the payment order was successfully deleted"}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payments/{paymentId}/authorizations":{"post":{"tags":["Payments"],"summary":"authorize a payment order","description":"use this resource to fully authorize a payment order and submit it for execution to the Core.","operationId":"authorizePaymentOrder","parameters":[{"name":"paymentId","in":"path","description":"identifies the payment","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"the submission was a success, the response contains the up-to-date state of the payment order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentStatus"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payments/{paymentId}/files/{fileId}":{"get":{"tags":["Payments"],"summary":"download a payment attachment","description":"a SWIFT payment may have attachments. each payment object contains a list of attachment identifiers (if any), which can be used with this resource.\n        in response, the server will supply the original file name and MIME type, as well as binary file content.\n        in case the user is permitted to access a payment, the user is also permitted to fetch the payment's attachments.","operationId":"downloadPaymentAttachment","parameters":[{"name":"paymentId","in":"path","description":"identifies the payment","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"},{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"12344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","description":"the response body contains the actual file content,\n                  and the Content-Disposition ('attachment') header contains the original file name,\n                  and the Content-Type header contains the original file MIME type","format":"binary","example":"the actual file content"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/payments/{paymentId}/files/{fileId}/meta-data":{"get":{"tags":["Payments"],"summary":"fetch file meta-data","description":"the server will supply the original file name, MIME type and file length.\n        in case the user is permitted to access a payment, the user is also permitted to fetch the payment's attachments' meta-data.","operationId":"getFileMetaData","parameters":[{"name":"paymentId","in":"path","description":"identifies the payment","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"},{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"12344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentMetaData"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/communal-consumers/queries":{"post":{"tags":["CommunalConsumer"],"summary":"find a communal consumer for a communal payment","description":"a communal payment requires a communal consumer to be specified, see /api/v1/payments and PaymentOrderCreationRequest::Communal*. this resource queries the back-end for a list of consumers and consumption details matching search criteria. at least one criterion must be specified; specifying only the region as a search criterion is not allowed. note that a consumer is uniquely identified by the following tuple: consumer legal entity type + consumer type + consumer code + region code (if applicable).","operationId":"findCommunalConsumer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerResolutionQuery"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerDataWrapper"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/common/bank-codes/{bankMailBankCode}":{"get":{"tags":["Common"],"summary":"resolve a BankMail bank code","description":"query the BankMail bank directory of the internet bank by the supplied BankMail code. client applications may use this resource to facilitate the validation of BankMail account numbers (e.g. on their payment forms).","operationId":"resolveBankMailCode","parameters":[{"name":"bankMailBankCode","in":"path","description":"a 5-digit BankMail bank code to resolve","required":true,"schema":{"maxLength":5,"minLength":5,"type":"string","format":"numeric"},"example":11500}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Absent"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/common/card-types":{"get":{"tags":["Common"],"summary":"fetch all cards types","description":"fetch all cards types","operationId":"listCardTypes","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardEmitent"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/common/countries":{"get":{"tags":["Common"],"summary":"fetch the directory of countries","description":"client applications may download the entire countries directory of the internet bank, optionally filtering the languages for which country names are returned. client applications may require to display drop-down lists of countries e.g. on their payment forms.","operationId":"listCountries","parameters":[{"name":"languages","in":"query","description":"a comma-separated list of 2-character uppercase language codes (ISO 639-1) for which to return country names","required":true,"schema":{"type":"string"},"example":"RU,HY"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Countries"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/common/iban/{possiblyIban}":{"get":{"tags":["Common"],"summary":"validate and describe an IBAN","description":"this call validates whether an IBAN is a valid one. in case the number is a valid one, the response will indicate so, but will not contain additional information regarding the number (such as the BIC code of the associated bank, etc...) - such information may get added in the future. in case the number is not valid, no information regarding the nature of the problem is conveyed other than a developer-readable diagnostic message (not available in production deployments).","operationId":"validateIBAN","parameters":[{"name":"possiblyIban","in":"path","description":"the IBAN number which should be validated","required":true,"schema":{"maxLength":34,"minLength":20,"type":"string","format":"IBAN"},"example":"EE440022123456789019"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IbanDescriptor"},"examples":{"Success response":{"description":"Success response","value":{"iban":"EE641010052031018009","valid":true}}}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/common/utility-regions/{utilityType}":{"get":{"tags":["Common"],"summary":"fetch the directory of countries","description":"client applications may download the entire countries directory of the internet bank, optionally filtering the languages for which country names are returned. client applications may require to display drop-down lists of countries e.g. on their payment forms.","operationId":"listRegCodesForUtility","parameters":[{"name":"utilityType","in":"path","description":"this enum denotes the type of utility for which regions are being queried. this is the same enum as the one used in the CommunalConsumer$* and ConsumerResolutionQuery$* types as their \"type\" discriminator.","required":true,"schema":{"type":"enum","enum":["gas-consumption","gas-service","water","electricity","mobile"]},"example":"gas-consumption"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UtilityRegionsWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/sync/v1/account/create":{"post":{"tags":["Core Sync"],"summary":"core informs system about new account","operationId":"createAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccount"}}}},"responses":{"201":{"description":"Account successfully created","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/sync/v1/account/state":{"post":{"tags":["Core Sync"],"summary":"core informs system about account status change","operationId":"updateAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccountState"}}}},"responses":{"200":{"description":"Account successfully updated","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/sync/v1/bank-message/create":{"post":{"tags":["Core Sync"],"summary":"core informs system about new bank message","operationId":"createBankMessage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostBankMessage"}}}},"responses":{"201":{"description":"Bank message successfully created","content":{"application/json":{"schema":{"type":"string","format":"uuid"}}}}}}},"/sync/v1/bank-message/status":{"post":{"tags":["Core Sync"],"summary":"core informs system about bank message status update","operationId":"updateBankMessageStatus","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBankMessageState"}}}},"responses":{"200":{"description":"Bank message successfully updated","content":{"application/json":{"schema":{"type":"string","format":"uuid"}}}}}}},"/sync/v1/card/create":{"post":{"tags":["Core Sync"],"summary":"core informs system about new card","operationId":"createCard","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCard"}}}},"responses":{"201":{"description":"Card successfully created","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/sync/v1/card/state":{"post":{"tags":["Core Sync"],"summary":"core informs system about card status change","operationId":"updateCard","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCardState"}}}},"responses":{"200":{"description":"Card successfully updated","content":{}}}}},"/sync/v1/customer/create":{"post":{"tags":["Core Sync"],"summary":"core informs system about new customer","operationId":"createCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomer"}}}},"responses":{"201":{"description":"Customer successfully created","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/sync/v1/deposit/status":{"post":{"tags":["Core Sync"],"summary":"core informs system about deposit status update","operationId":"updateDepositStatus","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDepositOpeningApplicationState"}}}},"responses":{"200":{"description":"Deposit successfully updated","content":{"application/json":{"schema":{"type":"string","format":"uuid"}}}}}}},"/sync/v1/payment/status":{"post":{"tags":["Core Sync"],"summary":"core informs system about payment status update","operationId":"updatePaymentStatus","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePaymentOrderStatus"}}}},"responses":{"200":{"description":"Payment successfully updated","content":{"application/json":{"schema":{"type":"string","format":"uuid"}}}}}}},"/sync/v1/user/create":{"post":{"tags":["Core Sync"],"summary":"core informs system about new user","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUser"}}}},"responses":{"201":{"description":"User successfully updated","content":{"application/json":{"schema":{"type":"string","format":"uuid"}}}}}}},"/api/v1/accounts":{"get":{"tags":["Accounts"],"summary":"Fetch the list of a client's accounts","description":"Fetch the list of accounts (regardless of state) that are owned by the client that is associated with the JWT access token","operationId":"listAccounts","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountsWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/accounts/statement/paginated/{pageNumber}/{rowsCount}":{"get":{"tags":["Accounts"],"summary":"fetch the statement of all transactions in paginated form","description":"the number of transactions contained within the fetched account statement will depend on the arguments supplied within the query form.\n","operationId":"getPaginatedStatement","parameters":[{"name":"pageNumber","in":"path","description":"the number of the page to be fetched starting from 1","required":true,"schema":{"type":"string","format":"numeric"},"example":3},{"name":"rowsCount","in":"path","description":"the number of rows to be fetched","required":true,"schema":{"type":"string","format":"numeric"},"example":10}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedTransactions"},"examples":{"Example success response":{"$ref":"#/components/examples/200_statement.json"}}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/accounts/{accountNumber}":{"get":{"tags":["Accounts"],"summary":"Fetch in individual account","description":"Fetch information regarding the account specified by its account number, including account balance. The account needs to be owned by the client that is associated with the JWT access token","operationId":"findAccount","parameters":[{"name":"accountNumber","in":"path","description":"the account number whose details are being queried","required":true,"schema":{"type":"string","format":"numeric"},"example":1150030220079500}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/accounts/{accountNumber}/public-information":{"get":{"tags":["Accounts"],"summary":"fetch an individual account's public information, such as account holder name.","description":"the account number has to be a syntactically correct account of the underlying ABS; otherwise a non-remediable error is raised. in case the account number checks out, public information (such as the account owning client name, account currency and account type) associated with that account is attempted to be fetched from the underlying ABS.","operationId":"publicInformation","parameters":[{"name":"accountNumber","in":"path","description":"the account number whose info is requested","required":true,"schema":{"type":"string","format":"numeric"},"example":1150030220079500}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPublicInformation"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/accounts/{accountNumber}/statement":{"post":{"tags":["Accounts"],"summary":"fetch an individual account's statement","description":"the amount of information contained within the fetched account statement will depend on the arguments supplied within the query form.\nnote that the \"showEquivalentInAMD\" switch has no effect on AMD accounts.\nalso note that the \"showDailyBalance\" switch injects daily balance to each statement day,\nbut not the daily turnover that can be calculated by the caller.\nThe account needs to be owned by the client that is associated with the JWT access token","operationId":"getAccountStatement","parameters":[{"name":"accountNumber","in":"path","description":"the account number whose statement is to be fetched","required":true,"schema":{"type":"string","format":"numeric"},"example":1150030220079500}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatementQuery"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatement"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/accounts/{accountNumber}/statement/email":{"post":{"tags":["Accounts"],"summary":"send by email an individual account's statement in PDF format","description":"The amount of information contained within the fetched account statement will depend on the arguments supplied within the query form.\nAccount statement will be generated in PDF format and send by email. The account needs to be owned by the client that is associated with the JWT access token","operationId":"getAccountStatementByEmail","parameters":[{"name":"accountNumber","in":"path","description":"the account number whose statement is to be fetched","required":true,"schema":{"type":"string","format":"numeric"},"example":1150030220079500}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatementByEmailQuery"}}}},"responses":{"201":{"description":"Account statement in PDF format has been successfully send to customer email"}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/accounts/{accountNumber}/statement/paginated/{pageNumber}/{rowsCount}":{"get":{"tags":["Accounts"],"summary":"fetch the account statement transactions in paginated form","description":"the number of transactions contained within the fetched account statement will depend on the arguments supplied within the query form.\n","operationId":"getPaginatedAccountStatement","parameters":[{"name":"accountNumber","in":"path","description":"the account number whose statement is to be fetched","required":true,"schema":{"type":"string","format":"numeric"},"example":1150030220079500},{"name":"pageNumber","in":"path","description":"the number of the page to be fetched starting from 1","required":true,"schema":{"type":"string","format":"numeric"},"example":3},{"name":"rowsCount","in":"path","description":"the number of rows to be fetched","required":true,"schema":{"type":"string","format":"numeric"},"example":10}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAccountTransactions"}}}}},"security":[{"bearerAuth":["SCOPE_API"]}]}},"/api/v1/swift/bank-details/{bic}":{"get":{"tags":["Swift"],"summary":"Fetch swift bank details by BIC/SWIFT code","operationId":"getBankDetails","parameters":[{"name":"bic","in":"path","description":"BIC (Bank Identification Code) or SWIFT code of a financial institution","required":true,"schema":{"type":"string"},"example":"ARMNAM22XXX"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwiftBankDetails"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/bank-applications":{"get":{"tags":["Bank Applications"],"summary":"fetch the list of a client's bank applications","operationId":"listApplications","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AccountOpeningApplication"},{"$ref":"#/components/schemas/AccountClosingApplication"}]}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbbAuthenticationException"},"examples":{"Bad credentials":{"$ref":"#/components/examples/401_bad_credentials.json"},"Expired credentials":{"$ref":"#/components/examples/401_expired_credentials.json"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]},"post":{"tags":["Bank Applications"],"summary":"create new client's bank application","operationId":"createApplication","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AccountOpeningApplication"},{"$ref":"#/components/schemas/AccountClosingApplication"}]}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"uuid"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbbAuthenticationException"},"examples":{"Bad credentials":{"$ref":"#/components/examples/401_bad_credentials.json"},"Expired credentials":{"$ref":"#/components/examples/401_expired_credentials.json"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/bank-applications/{applicationId}":{"get":{"tags":["Bank Applications"],"summary":"fetch client's bank application by UUID","operationId":"getApplication","parameters":[{"name":"applicationId","in":"path","description":"unique application UUID, whose details are being queried","required":true,"schema":{"type":"string","format":"uuid"},"example":"dff38c36-11a7-4d3e-bebc-680d36187462"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankApplication"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbbAuthenticationException"},"examples":{"Bad credentials":{"$ref":"#/components/examples/401_bad_credentials.json"},"Expired credentials":{"$ref":"#/components/examples/401_expired_credentials.json"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]},"put":{"tags":["Bank Applications"],"summary":"update existing account opening/closing application in editable state","operationId":"updateApplication","parameters":[{"name":"applicationId","in":"path","description":"unique application UUID","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AccountOpeningApplication"},{"$ref":"#/components/schemas/AccountClosingApplication"}]}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearerAuth":["API_ACCESS"]}]},"delete":{"tags":["Bank Applications"],"summary":"delete existing account opening/closing application in editable state","operationId":"deleteApplication","parameters":[{"name":"applicationId","in":"path","description":"unique application UUID","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"204":{"description":"OK"}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/bank-applications/{applicationId}/authorizations":{"post":{"tags":["Bank Applications"],"summary":"fully authorize the account opening/closing application and post it for analysis to Core back-end","operationId":"authorizeAndSubmitApplication","parameters":[{"name":"applicationId","in":"path","description":"unique application UUID","required":true,"schema":{"type":"string","format":"uuid"},"example":"dff38c36-11a7-4d3e-bebc-680d36187462"}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbbAuthenticationException"},"examples":{"Bad credentials":{"$ref":"#/components/examples/401_bad_credentials.json"},"Expired credentials":{"$ref":"#/components/examples/401_expired_credentials.json"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2021-01-01T00:00:00Z"},"message":{"type":"string","example":"Account not found"},"code":{"type":"string","example":"AccountNotFound"},"diagnosticMessage":{"type":"string","example":"Account 32432432456 not found for user 123456"},"traceId":{"type":"string","example":"0da86d6c-bfb1-42d1-b018-68745c08b0d0"}}}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards":{"get":{"tags":["Cards"],"summary":"fetch all cards of a client","description":"Fetch the list of all payment cards (regardless of state) that are associated with accounts owned by the logged on client. only the cards that the current user has any access to are returned. each card is enriched with the user-specified alias, if any.","operationId":"listCards","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardsWrapper"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards/{cardId}":{"get":{"tags":["Cards"],"summary":"fetch an individual payment card","description":"fetch information regarding a specific payment card, including card current/available balance (but not the \"online\" balance). the returned card is enriched with the user-specified alias, if any.","operationId":"findCard","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"404":{"description":"Not found for given card id"}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards/{cardId}/lock":{"put":{"tags":["Cards"],"summary":"lock a payment card","description":"temporarily lock a payment card. only cards in the 'activated' state may be locked. The lock can later be lifted by getting deleted by the means of the \"DELETE /api/v1/cards/{cardId}/lock\" call.","operationId":"lockCard","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]},"delete":{"tags":["Cards"],"summary":"unlock a payment card","description":"unlock a payment card. only cards in the 'temporarily-locked' state may be unlocked. the lock must have previously been locked by e.g. the means of the \"PUT /api/v1/cards/{cardId}/lock\" call.","operationId":"unlockCard","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards/{cardId}/online-remainder":{"get":{"tags":["Cards"],"summary":"fetch balance for individual card","description":"fetch balance for individual card. the card needs to be associated with an account owned by the client that the current user logon session is associated with","operationId":"getCardOnlineRemainder","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardOnlineRemainder"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards/{cardId}/online-transactions/paginated/{pageNumber}/{rowsCount}":{"get":{"tags":["Cards"],"summary":"fetch the list of online transactions in paginated form","description":"fetch online transactions of a specific individual payment card in paginated form. the card needs to be associated with an account owned by the client that the current user logon session is associated with","operationId":"getCardPaginatedTransactions","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678},{"name":"pageNumber","in":"path","description":"the number of the page to be fetched starting from 1","required":true,"schema":{"type":"string","format":"numeric"},"example":3},{"name":"rowsCount","in":"path","description":"the number of rows to be fetched","required":true,"schema":{"type":"string","format":"numeric"},"example":10}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardOnlineTransactions"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards/{cardId}/online-transactions/period/{fromDate}/{toDate}":{"get":{"tags":["Cards"],"summary":"fetch the list of online transactions of a card","description":"fetch online transactions of a specific individual payment card. the card needs to be associated with an account owned by the client that the current user logon session is associated with","operationId":"getCardOnlineTransactions","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardOnlineTransactions"}}}}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/cards/{cardId}/statement/email":{"post":{"tags":["Cards"],"summary":"Send card statement of individual card by email","description":"Card statement will be generated in PDF format and send by email. The card needs to be associated with an account owned by the client that the current user logon session is associated with.","operationId":"sendCardStatement","parameters":[{"name":"cardId","in":"path","description":"identifier of a card","required":true,"schema":{"type":"string","format":"numeric"},"example":12345678}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatementByEmailQuery"}}}},"responses":{"201":{"description":"Card statement in PDF format has been successfully send to customer email"}},"security":[{"bearerAuth":["API_ACCESS"]}]}},"/api/v1/bank-messages":{"get":{"tags":["Bank Messages"],"summary":"get all bank messages of a client","description":"this resource fetches all bank messages owned by the client the current user logon session is associated with.\n        note that all bank messages returned by this call will have their list of attachment IDs empty -\n        in order to fetch the list of attachment IDs for a bank message, use the GET /api/v1/bank-messages/{bankMessageId} call.","operationId":"listBankMessages","responses":{"200":{"description":"the response contains a list of bank messages","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankMessagesWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]},"post":{"tags":["Bank Messages"],"summary":"create a new bank message","description":"this call can be used to create a new end-user-originated bank message to the back-end. should the user wish to attach\n        files to the message, the files will need to be previously uploaded via the use of the /api/v1/files resource.\n        in order for the message to be actually sent to the back-end, the message sending needs to be \"authorized\" via the use\n        of the following API: /api/v1/bank-messages/{bankMessageId}/authorizations","operationId":"createBankMessage_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankMessageCreationRequest"}}}},"responses":{"201":{"description":"the bank message was created successfully;\n            the response contains a BankMessageIdWrapper that can be used to later identify the bank message.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankMessageIdWrapper"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/bank-messages/{bankMessageId}":{"get":{"tags":["Bank Messages"],"summary":"get an individual bank message","description":"this resource fetches an individual bank message addressed by its internet bank message it.\n        the bank message must be owned by the client the current user logon session is associated with.","operationId":"getBankMessage","parameters":[{"name":"bankMessageId","in":"path","description":"identifies the bank message","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"the response contains a list of bank messages","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankMessage"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/bank-messages/{bankMessageId}/authorizations":{"post":{"tags":["Bank Messages"],"summary":"fully authorize a bank message and post it to back-end","description":" a bank message is only sent to the back-end once the end-user authorizes the action via this resource.\n        the bank message must be owned by the client the current user logon session is associated with.","operationId":"authorizeBankMessage","parameters":[{"name":"bankMessageId","in":"path","description":"identifies the bank message","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"}],"responses":{"200":{"description":"message was sent; the response contains the current state of the bank message","content":{"application/json":{"schema":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/bank-messages/{bankMessageId}/files/{fileId}":{"get":{"tags":["Bank Messages"],"summary":"download a bank message attachment","description":"download the specified bank message attachment. the server will supply the original file name and MIME type, as well as binary file content.\n        in case the user is permitted access to a bank message, the user is also permitted to fetch the bank message's attachments.","operationId":"getBankMessageFile","parameters":[{"name":"bankMessageId","in":"path","description":"identifies the bank message","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"},{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"712344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","description":"the response body contains the actual file content,\n                  and the Content-Disposition ('attachment') header contains the original file name,\n                  and the Content-Type header contains the original file MIME type","format":"binary","example":"the actual file content"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}},"/api/v1/bank-messages/{bankMessageId}/files/{fileId}/meta-data":{"get":{"tags":["Bank Messages"],"summary":"fetch file meta-data","description":"the server will supply the original file name, MIME type and file length.\n        in case the user is permitted access to a bank message, the user is also permitted to fetch the bank message's attachments' meta-data.","operationId":"getBankMessageFileMetaData_1","parameters":[{"name":"bankMessageId","in":"path","description":"identifies the bank message","required":true,"schema":{"type":"string","format":"uuid"},"example":"75cf32be-06be-4627-9b4c-bc7ad12c61e5"},{"name":"fileId","in":"path","description":"identifies the file to be downloaded","required":true,"schema":{"type":"string","format":"uuid"},"example":"12344e50-5390-4907-b1f4-82618d710000"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentMetaData"}}}}},"security":[{"bearerAuth":["SCOPE_API_ACCESS"]}]}}},"components":{"schemas":{"Document":{"required":["country","number","type","validFrom","validThrough"],"type":"object","properties":{"type":{"type":"string","enum":["passport","id-card"]},"country":{"type":"string"},"number":{"type":"string"},"validFrom":{"type":"string","format":"date"},"validThrough":{"type":"string","format":"date"}}},"Name":{"required":["first","last"],"type":"object","properties":{"first":{"pattern":".{1,1024}","type":"string"},"last":{"pattern":".{1,1024}","type":"string"}}},"Person":{"required":["citizenship","customerId","dateOfBirth","isResident","name","residentialPostalAddress","type"],"type":"object","properties":{"type":{"type":"string","enum":["individual person","private entrepreneur","legal person"]},"customerId":{"type":"string"},"name":{"$ref":"#/components/schemas/Name"},"dateOfBirth":{"type":"string","format":"date"},"citizenship":{"type":"array","items":{"type":"string"}},"residentialPostalAddress":{"$ref":"#/components/schemas/PostalAddress"},"contactPostalAddress":{"$ref":"#/components/schemas/PostalAddress"},"contactPhoneNumber":{"type":"string"},"contactEmailAddress":{"type":"string"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/Document"}},"isResident":{"type":"boolean"}}},"PostalAddress":{"required":["postalCode","state","streetAddressAndApartment"],"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"city":{"type":"string"},"streetAddressAndApartment":{"pattern":".{0,1024}","type":"string"},"postalCode":{"type":"string"}}},"FileIdWrapper":{"required":["fileId"],"type":"object","properties":{"fileId":{"type":"string","format":"uuid"}}},"DocumentMetaData":{"required":["id","mimeType","name","size","type","userId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string"},"name":{"type":"string"},"mimeType":{"type":"string"},"type":{"type":"string"},"size":{"type":"integer","format":"int64"}}},"BankMailBank":{"required":["areTransfersAllowed","code","name"],"type":"object","properties":{"code":{"type":"string"},"areTransfersAllowed":{"type":"boolean"},"name":{"type":"object","additionalProperties":{"type":"string"}}}},"BankMailBanks":{"required":["banks"],"type":"object","properties":{"banks":{"type":"array","items":{"$ref":"#/components/schemas/BankMailBank"}}}},"SyncCountries":{"required":["countries"],"type":"object","properties":{"countries":{"type":"array","items":{"$ref":"#/components/schemas/SyncCountry"}}}},"SyncCountry":{"required":["callingCodes","countryCode","flagUrl","isSepa","name"],"type":"object","properties":{"countryCode":{"pattern":"[A-Z]{2}","type":"string"},"callingCodes":{"type":"array","items":{"type":"string"}},"isSepa":{"type":"boolean"},"flagUrl":{"type":"string"},"name":{"type":"object","additionalProperties":{"type":"string"}}}},"User":{"required":["customerId","id"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"customerId":{"type":"string"}}},"UserRequest":{"required":["username"],"type":"object","properties":{"username":{"type":"string"}}},"DetailOfNextPayment":{"required":["additionalInformation","amount","repaymentDate"],"type":"object","properties":{"repaymentDate":{"type":"string","format":"date"},"additionalInformation":{"$ref":"#/components/schemas/DetailOfNextPaymentAdditionalInformation"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}}}},"DetailOfNextPaymentAdditionalInformation":{"required":["feeAmount","interestAmount"],"type":"object","properties":{"interestAmount":{"type":"number"},"feeAmount":{"type":"number"},"overduePrincipalAmount":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"overdueInterestAmount":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"penaltyAmount":{"minimum":0,"exclusiveMinimum":false,"type":"number"}}},"Loan":{"required":["accruedInterest","currency","customerId","interestRate","loanAgreementName","loanAgreementNumber","loanTemplateName","loanTemplateNumber","maturityDate","originalDate","originalPrincipal","outstandingPrincipal"],"type":"object","properties":{"customerId":{"type":"string"},"loanAgreementNumber":{"type":"string"},"currency":{"type":"string","example":"AMD"},"loanAgreementName":{"type":"string"},"loanTemplateNumber":{"type":"string"},"loanTemplateName":{"type":"string"},"originalDate":{"type":"string","format":"date"},"maturityDate":{"type":"string","format":"date"},"originalPrincipal":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"interestRate":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"outstandingPrincipal":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"accruedInterest":{"type":"number"},"detailOfNextPayment":{"$ref":"#/components/schemas/DetailOfNextPayment"},"closingDate":{"type":"string","format":"date"}}},"LoansWrapper":{"required":["loans"],"type":"object","properties":{"loans":{"type":"array","items":{"$ref":"#/components/schemas/Loan"}}}},"LoanApplication":{"required":["authorizationDate","body","state","subject"],"type":"object","properties":{"authorizationDate":{"type":"string","format":"date"},"subject":{"type":"string"},"body":{"type":"string"},"state":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]},"applicationId":{"type":"string"}}},"LoanOffer":{"required":["customerId","loanApplication"],"type":"object","properties":{"customerId":{"type":"string"},"loanApplication":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplication"}}}},"LoanRepaymentSchedule":{"required":["currency","loanAgreementNumber","schedule"],"type":"object","properties":{"loanAgreementNumber":{"type":"string"},"currency":{"type":"string","example":"AMD"},"schedule":{"type":"array","items":{"$ref":"#/components/schemas/LoanRepaymentScheduleLine"}}}},"LoanRepaymentScheduleLine":{"required":["capitalAmount","date","dayOfWeek","interestAmount"],"type":"object","properties":{"date":{"type":"string","format":"date"},"dayOfWeek":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]},"capitalAmount":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"interestAmount":{"minimum":0,"exclusiveMinimum":false,"type":"number"}}},"LoanRepaymentsWrapper":{"required":["repayments"],"type":"object","properties":{"repayments":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLoanRepayment"}}}},"PaymentLoanRepayment":{"required":["amount","beneficiaryName","createdAt","description","loanAgreementNumber","loanRepaymentType","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"loanAgreementNumber":{"type":"string"},"loanRepaymentType":{"type":"string","enum":["scheduled-repayment","prepayment-of-principal-partial","prepayment-of-principal-full"]}}}]},"PaymentStatus":{"required":["type"],"type":"object","properties":{"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},"CurrencyCrossRatesQueryForm":{"required":["isCentralBankRate","purchaseCurrency","saleCurrency"],"type":"object","properties":{"purchaseCurrency":{"type":"string","example":"AMD"},"saleCurrency":{"type":"string","example":"AMD"},"isCentralBankRate":{"type":"boolean"}}},"CurrencyCrossRate":{"required":["crossRate","isCentralBankRate","purchaseCurrency","saleCurrency"],"type":"object","properties":{"purchaseCurrency":{"type":"string","example":"AMD"},"saleCurrency":{"type":"string","example":"AMD"},"isCentralBankRate":{"type":"boolean"},"crossRate":{"type":"number"}}},"AbbAuthenticationException":{"required":["errorCode","status"],"type":"object","properties":{"cause":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"nativeMethod":{"type":"boolean"},"className":{"type":"string"}}}},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"nativeMethod":{"type":"boolean"},"className":{"type":"string"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"nativeMethod":{"type":"boolean"},"className":{"type":"string"}}}},"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"errorCode":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"nativeMethod":{"type":"boolean"},"className":{"type":"string"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"ErrorCode":{"type":"string","enum":["Unauthorized"]},"CurrencyExchangeRate":{"required":["centralBankRate","purchaseRate","saleRate","unitCurrency"],"type":"object","properties":{"purchaseRate":{"type":"number"},"saleRate":{"type":"number"},"centralBankRate":{"type":"number"},"unitCurrency":{"type":"string","example":"AMD"}}},"CurrencyExchangeRatesWrapper":{"required":["currencyExchangeRates"],"type":"object","properties":{"currencyExchangeRates":{"type":"array","items":{"$ref":"#/components/schemas/CurrencyExchangeRate"}}}},"UserPermission":{"required":["permissions"],"type":"object","properties":{"permissions":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"Deposit":{"required":["calculatedInterest","category","currency","displayCategory","id","interestRate","isCapitalizable","isExtendable","isReplenishable","maturityDate","name","originalDate","originalPrincipal","outstandingPrincipal"],"type":"object","properties":{"id":{"type":"string"},"displayContract":{"type":"string"},"category":{"type":"string"},"displayCategory":{"type":"string"},"currency":{"type":"string","example":"AMD"},"name":{"type":"string"},"originalDate":{"type":"string","format":"date"},"maturityDate":{"type":"string","format":"date"},"originalPrincipal":{"type":"number"},"interestRate":{"type":"string"},"outstandingPrincipal":{"type":"number"},"calculatedInterest":{"type":"number"},"closingDate":{"type":"string","format":"date"},"isReplenishable":{"type":"boolean"},"isCapitalizable":{"type":"boolean"},"isExtendable":{"type":"boolean"},"payPeriod":{"type":"integer","format":"int32"}}},"DepositsWrapper":{"required":["deposits"],"type":"object","properties":{"deposits":{"type":"array","items":{"$ref":"#/components/schemas/Deposit"}}}},"DepositInterestPaymentPeriod":{"required":["type"],"type":"object","properties":{"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},"DepositOpeningApplication":{"required":["creationDate","creationRequest","customerId","depositOpeningApplicationId"],"type":"object","properties":{"customerId":{"type":"string"},"depositOpeningApplicationId":{"type":"string","format":"uuid"},"creationDate":{"type":"string","format":"date-time"},"modificationDate":{"type":"string","format":"date-time"},"authorizationDate":{"type":"string","format":"date-time"},"depositOpeningApplicationState":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]},"comment":{"type":"string"},"creationRequest":{"$ref":"#/components/schemas/DepositOpeningApplicationCreationRequest"},"template":{"$ref":"#/components/schemas/DepositTemplate"}}},"DepositOpeningApplicationCreationRequest":{"required":["accountNumber","amount","currency","description","isExtendable","maturityDate","openingDate","templateNumber"],"type":"object","properties":{"templateNumber":{"type":"string"},"openingDate":{"type":"string","format":"date"},"accountNumber":{"type":"string"},"amount":{"type":"number"},"currency":{"type":"string","example":"AMD"},"maturityDate":{"type":"string","format":"date"},"interestPaymentAccountNumber":{"type":"string"},"isExtendable":{"type":"boolean"},"description":{"type":"string"}}},"DepositOpeningApplicationsWrapper":{"required":["depositOpeningApplications"],"type":"object","properties":{"depositOpeningApplications":{"type":"array","items":{"$ref":"#/components/schemas/DepositOpeningApplication"}}}},"DepositTemplate":{"required":["currency","interestPaymentPeriod","interestRate","isCapitalizable","isReplenishable","maximalAmount","maximalTermInDays","minimalAmount","minimalTermInDays","name","templateNumber"],"type":"object","properties":{"templateNumber":{"type":"string"},"name":{"type":"string"},"currency":{"type":"string","example":"AMD"},"minimalAmount":{"type":"number"},"maximalAmount":{"type":"number"},"minimalTermInDays":{"type":"integer","format":"int64"},"maximalTermInDays":{"type":"integer","format":"int64"},"interestRate":{"type":"number"},"interestPaymentPeriod":{"$ref":"#/components/schemas/DepositInterestPaymentPeriod"},"isReplenishable":{"type":"boolean"},"isCapitalizable":{"type":"boolean"}}},"DepositApplicationIdWrapper":{"required":["depositOpeningApplicationId"],"type":"object","properties":{"depositOpeningApplicationId":{"type":"string","format":"uuid"}}},"DepositReplenishmentIdWrapper":{"required":["depositReplenishmentOrderId"],"type":"object","properties":{"depositReplenishmentOrderId":{"type":"integer","format":"int64"}}},"DepositReplenishmentCreationRequest":{"required":["amount","currency","depositId","payerAccount","paymentDate"],"type":"object","properties":{"depositId":{"type":"string"},"payerAccount":{"type":"string"},"amount":{"type":"number"},"currency":{"type":"string","example":"AMD"},"paymentDate":{"type":"string","format":"date"}}},"DepositReplenishment":{"required":["amount","currency","depositId","replenishmentAccountNumber","replenishmentDate","status"],"type":"object","properties":{"id":{"type":"string"},"depositId":{"type":"string"},"replenishmentDate":{"type":"string","format":"date"},"replenishmentAccountNumber":{"type":"string"},"amount":{"type":"number"},"currency":{"type":"string","example":"AMD"},"status":{"type":"string"}}},"DepositReplenishmentProcessData":{"required":["isNotified","processAttempt","processDate","processStatus"],"type":"object","properties":{"processDate":{"type":"string","format":"date"},"processStatus":{"type":"string"},"processAttempt":{"type":"integer","format":"int32"},"processBankId":{"type":"integer","format":"int32"},"processErrorCode":{"type":"integer","format":"int32"},"processErrorMessage":{"type":"string"},"isNotified":{"type":"boolean"}}},"DepositTemplatesQueryForm":{"type":"object","properties":{"templateNumber":{"type":"string"},"amount":{"minimum":0,"type":"number"},"currency":{"type":"string","example":"AMD"},"termInDays":{"type":"integer","format":"int64"},"interestPaymentPeriod":{"$ref":"#/components/schemas/DepositInterestPaymentPeriod"},"isReplenishable":{"type":"boolean"},"isCapitalizable":{"type":"boolean"}}},"DepositTemplatesWrapper":{"required":["depositTemplates"],"type":"object","properties":{"depositTemplates":{"type":"array","items":{"$ref":"#/components/schemas/DepositTemplate"}}}},"PaymentTemplate":{"required":["createdAt","customerId","paymentTemplateCreationRequest","paymentTemplateId"],"type":"object","properties":{"paymentTemplateId":{"type":"string","format":"uuid"},"customerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"modifiedAt":{"type":"string","format":"date-time"},"paymentTemplateCreationRequest":{"$ref":"#/components/schemas/PaymentTemplateCreationRequest"}}},"PaymentTemplateCreationRequest":{"required":["templateName","type"],"type":"object","properties":{"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]},"templateName":{"type":"string"},"senderAccount":{"type":"string"}},"discriminator":{"propertyName":"type"}},"PaymentTemplatesWrapper":{"required":["paymentTemplates"],"type":"object","properties":{"paymentTemplates":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTemplate"}}}},"PaymentTemplateRequestInternal":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"receiverNameAM":{"type":"string"},"receiverNameEN":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"BankDetails":{"type":"object","properties":{"bic":{"type":"string"},"name":{"type":"string"},"streetAddressAndApartment":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"accountNumber":{"type":"string"}}},"PaymentTemplateRequestSwift":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"beneficiaryName":{"type":"string"},"beneficiaryStreetAddressAndApartment":{"type":"string"},"beneficiaryCity":{"type":"string"},"beneficiaryCountry":{"type":"string"},"beneficiaryAccount":{"type":"string"},"beneficiaryBank":{"$ref":"#/components/schemas/BankDetails"},"correspondentBank":{"$ref":"#/components/schemas/BankDetails"},"paymentDescription":{"type":"string"},"additionalInformation":{"type":"string"},"serviceFeePaidBy":{"type":"string","enum":["SHA","OUR","OURG","BEN"]},"serviceFeeAccount":{"type":"string"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentTemplateRequestLoanRepayment":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"description":{"type":"string"},"beneficiaryName":{"type":"string"},"loanAgreementNumber":{"type":"string"},"loanRepaymentType":{"type":"string","enum":["scheduled-repayment","prepayment-of-principal-partial","prepayment-of-principal-full"]},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentTemplateRequestBankMailPrivatePerson":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"receiverNameAM":{"type":"string"},"receiverNameEN":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"CommunalConsumer":{"required":["consumerType","type"],"type":"object","properties":{"consumerType":{"type":"string","enum":["natural-person","juridical-person"]},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},"CommunalConsumption":{"required":["address","debt","description","details","prePaid"],"type":"object","properties":{"description":{"type":"string"},"address":{"type":"string"},"details":{"type":"string"},"debt":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"prePaid":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"debtBy":{"type":"string","format":"date"},"operator":{"type":"string"}}},"CommunalPayment":{"required":["consumer","consumption","paymentAmount"],"type":"object","properties":{"consumer":{"$ref":"#/components/schemas/CommunalConsumer"},"consumption":{"$ref":"#/components/schemas/CommunalConsumption"},"paymentAmount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}}}},"PaymentTemplateRequestCommunalGroup":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"beneficiaryName":{"type":"string"},"paymentDescription":{"type":"string"},"communalPayments":{"type":"array","items":{"$ref":"#/components/schemas/CommunalPayment"}},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentTemplateRequestCommunalIndividual":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"beneficiaryName":{"type":"string"},"paymentDescription":{"type":"string"},"communalPayment":{"$ref":"#/components/schemas/CommunalPayment"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"CurrencyExchangeRateOrder":{"required":["exchangeRate","pairCurrency","unitCurrency"],"type":"object","properties":{"unitCurrency":{"type":"string","example":"AMD"},"pairCurrency":{"type":"string","example":"AMD"},"exchangeRate":{"type":"number"}}},"PaymentTemplateRequestCurrencyExchange":{"required":["templateName","type"],"type":"object","properties":{"templateName":{"type":"string"},"senderAccount":{"type":"string"},"paymentDate":{"type":"string","format":"date"},"currencyExchangeRateOrder":{"$ref":"#/components/schemas/CurrencyExchangeRateOrder"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentTemplateIdWrapper":{"required":["paymentTemplateId"],"type":"object","properties":{"paymentTemplateId":{"type":"string","format":"uuid"}}},"Payment":{"required":["amount","beneficiaryName","createdAt","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","properties":{"paymentType":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]},"paymentId":{"type":"string","format":"uuid"},"authorizedAt":{"type":"string","format":"date-time"},"paymentStatus":{"$ref":"#/components/schemas/PaymentStatus"},"paymentComment":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"modifiedAt":{"type":"string","format":"date-time"},"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"description":{"type":"string"},"beneficiaryName":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}}},"discriminator":{"propertyName":"paymentType"},"oneOf":[{"$ref":"#/components/schemas/PaymentInternal"},{"$ref":"#/components/schemas/PaymentBankMailPrivatePerson"},{"$ref":"#/components/schemas/PaymentSwift"},{"$ref":"#/components/schemas/PaymentCommunalIndividual"},{"$ref":"#/components/schemas/PaymentCommunalGroup"},{"$ref":"#/components/schemas/PaymentLoanRepayment"},{"$ref":"#/components/schemas/PaymentCurrencyExchange"}]},"PaymentBankMailPrivatePerson":{"required":["amount","beneficiaryAccount","beneficiaryName","createdAt","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"beneficiaryNameAM":{"type":"string"},"beneficiaryNameEN":{"type":"string"},"beneficiaryAccount":{"type":"string"},"beneficiaryBankName":{"type":"string"},"socialSecurityCardNumber":{"type":"string"}}}]},"PaymentCommunalGroup":{"required":["amount","beneficiaryName","communalPayments","createdAt","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"communalPayments":{"type":"array","items":{"$ref":"#/components/schemas/CommunalPayment"}}}}]},"PaymentCommunalIndividual":{"required":["amount","beneficiaryName","communalPayment","createdAt","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"communalPayment":{"$ref":"#/components/schemas/CommunalPayment"}}}]},"PaymentCurrencyExchange":{"required":["amount","beneficiaryAccount","beneficiaryName","createdAt","currencyExchangeRateOrder","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"beneficiaryAccount":{"type":"string"},"currencyExchangeRateOrder":{"$ref":"#/components/schemas/CurrencyExchangeRateOrder"}}}]},"PaymentInternal":{"required":["amount","beneficiaryAccount","beneficiaryName","createdAt","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"beneficiaryNameAM":{"type":"string"},"beneficiaryNameEN":{"type":"string"},"beneficiaryAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"}}}]},"PaymentSwift":{"required":["amount","beneficiaryAccount","beneficiaryBank","beneficiaryName","createdAt","description","paymentDate","paymentId","paymentStatus","paymentType","senderAccount","serviceFeePaidBy"],"type":"object","allOf":[{"$ref":"#/components/schemas/Payment"},{"type":"object","properties":{"beneficiaryAccount":{"type":"string"},"beneficiaryStreetAddressAndApartment":{"type":"string"},"beneficiaryCity":{"type":"string"},"beneficiaryCountry":{"type":"string"},"beneficiaryBank":{"$ref":"#/components/schemas/BankDetails"},"correspondentBank":{"$ref":"#/components/schemas/BankDetails"},"additionalInformation":{"type":"string"},"serviceFeePaidBy":{"type":"string","enum":["SHA","OUR","OURG","BEN"]},"serviceFeeAccount":{"type":"string"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}}}}]},"PaymentsWrapper":{"required":["payments"],"type":"object","properties":{"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}}}},"PaymentRequestInternal":{"required":["amount","description","paymentDate","receiverAccount","receiverName","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"receiverNameAM":{"type":"string"},"receiverNameEN":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentRequestSwift":{"required":["amount","beneficiaryAccount","beneficiaryBank","beneficiaryName","paymentDate","paymentDescription","senderAccount","serviceFeePaidBy","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"beneficiaryName":{"type":"string"},"beneficiaryStreetAddressAndApartment":{"type":"string"},"beneficiaryCity":{"type":"string"},"beneficiaryCountry":{"maxLength":2,"minLength":2,"type":"string","format":"ISO 3166-1 alpha-2","example":"AM"},"beneficiaryAccount":{"type":"string"},"beneficiaryBank":{"$ref":"#/components/schemas/BankDetails"},"correspondentBank":{"$ref":"#/components/schemas/BankDetails"},"paymentDescription":{"type":"string"},"additionalInformation":{"type":"string"},"serviceFeePaidBy":{"type":"string","enum":["SHA","OUR","OURG","BEN"]},"serviceFeeAccount":{"type":"string"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentRequestLoanRepayment":{"required":["amount","beneficiaryName","description","loanAgreementNumber","loanRepaymentType","paymentDate","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"description":{"type":"string"},"beneficiaryName":{"type":"string"},"loanAgreementNumber":{"type":"string"},"loanRepaymentType":{"type":"string","enum":["scheduled-repayment","prepayment-of-principal-partial","prepayment-of-principal-full"]},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentRequestBankMailPrivatePerson":{"required":["amount","description","paymentDate","receiverAccount","receiverBankName","receiverName","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"receiverBankName":{"type":"string"},"description":{"type":"string"},"receiverNameAM":{"type":"string"},"receiverNameEN":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentRequestCommunalGroup":{"required":["beneficiaryName","communalPayments","paymentDate","paymentDescription","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"beneficiaryName":{"type":"string"},"paymentDescription":{"type":"string"},"communalPayments":{"type":"array","items":{"$ref":"#/components/schemas/CommunalPayment"}},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentRequestCommunalIndividual":{"required":["beneficiaryName","communalPayment","paymentDate","paymentDescription","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"beneficiaryName":{"type":"string"},"paymentDescription":{"type":"string"},"communalPayment":{"$ref":"#/components/schemas/CommunalPayment"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentRequestCurrencyExchange":{"required":["amount","currencyExchangeRateOrder","description","paymentDate","receiverAccount","receiverName","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"currencyExchangeRateOrder":{"$ref":"#/components/schemas/CurrencyExchangeRateOrder"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentIdWrapper":{"required":["paymentId"],"type":"object","properties":{"paymentId":{"type":"string","format":"uuid"}}},"PaymentUpdateRequestInternal":{"required":["amount","description","paymentDate","receiverAccount","receiverName","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"receiverNameAM":{"type":"string"},"receiverNameEN":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentUpdateRequestSwift":{"required":["amount","beneficiaryAccount","beneficiaryBank","beneficiaryName","paymentDate","paymentDescription","senderAccount","serviceFeePaidBy","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"beneficiaryName":{"type":"string"},"beneficiaryStreetAddressAndApartment":{"type":"string"},"beneficiaryCity":{"type":"string"},"beneficiaryCountry":{"maxLength":2,"minLength":2,"type":"string","format":"ISO 3166-1 alpha-2","example":"AM"},"beneficiaryAccount":{"type":"string"},"beneficiaryBank":{"$ref":"#/components/schemas/BankDetails"},"correspondentBank":{"$ref":"#/components/schemas/BankDetails"},"paymentDescription":{"type":"string"},"additionalInformation":{"type":"string"},"serviceFeePaidBy":{"type":"string","enum":["SHA","OUR","OURG","BEN"]},"serviceFeeAccount":{"type":"string"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentUpdateRequestLoanRepayment":{"required":["amount","beneficiaryName","description","loanAgreementNumber","loanRepaymentType","paymentDate","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"description":{"type":"string"},"beneficiaryName":{"type":"string"},"loanAgreementNumber":{"type":"string"},"loanRepaymentType":{"type":"string","enum":["scheduled-repayment","prepayment-of-principal-partial","prepayment-of-principal-full"]},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentUpdateRequestBankMailPrivatePerson":{"required":["amount","description","paymentDate","receiverAccount","receiverName","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"socialSecurityCardNumber":{"type":"string"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"receiverNameAM":{"type":"string"},"receiverNameEN":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentUpdateRequestCommunalGroup":{"required":["beneficiaryName","communalPayments","paymentDate","paymentDescription","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"beneficiaryName":{"type":"string"},"paymentDescription":{"type":"string"},"communalPayments":{"type":"array","items":{"$ref":"#/components/schemas/CommunalPayment"}},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentUpdateRequestCommunalIndividual":{"required":["beneficiaryName","communalPayment","paymentDate","paymentDescription","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"beneficiaryName":{"type":"string"},"paymentDescription":{"type":"string"},"communalPayment":{"$ref":"#/components/schemas/CommunalPayment"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"PaymentUpdateRequestCurrencyExchange":{"required":["amount","currencyExchangeRateOrder","description","paymentDate","receiverAccount","receiverName","senderAccount","type"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"senderAccount":{"type":"string"},"currencyExchangeRateOrder":{"$ref":"#/components/schemas/CurrencyExchangeRateOrder"},"amount":{"type":"object","properties":{"amount":{"type":"number","example":1000.45},"currency":{"type":"string","example":"AMD"}}},"receiverAccount":{"type":"string"},"receiverName":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["internal","bank-mail-private-person","swift","communal-individual","communal-group","loan-repayment","currency-exchange"]}}},"ConsumerResolutionQuery":{"required":["consumerType","type"],"type":"object","properties":{"consumerType":{"type":"string","enum":["natural-person","juridical-person"]},"type":{"type":"string"}},"discriminator":{"propertyName":"type"}},"ConsumerData":{"required":["consumer","consumption"],"type":"object","properties":{"consumer":{"$ref":"#/components/schemas/CommunalConsumer"},"consumption":{"$ref":"#/components/schemas/CommunalConsumption"}}},"ConsumerDataWrapper":{"required":["consumers"],"type":"object","properties":{"consumers":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerData"}}}},"Absent":{"type":"object"},"CardEmitent":{"required":["currency","emitent","standard"],"type":"object","properties":{"emitent":{"type":"string"},"standard":{"type":"string"},"currency":{"type":"array","items":{"type":"string"}}}},"Countries":{"required":["countries"],"type":"object","properties":{"countries":{"type":"array","items":{"$ref":"#/components/schemas/Country"}}}},"Country":{"required":["callingCodes","countryCode","createdAt","flagUrl","isSepa","name"],"type":"object","properties":{"countryCode":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"callingCodes":{"type":"array","items":{"type":"string"}},"isSepa":{"type":"boolean"},"flagUrl":{"type":"string"},"name":{"type":"object","additionalProperties":{"type":"string"}}}},"IbanDescriptor":{"required":["iban","valid"],"type":"object","properties":{"iban":{"type":"string"},"valid":{"type":"boolean"}}},"UtilityRegionWrapper":{"required":["code","name"],"type":"object","properties":{"code":{"type":"string"},"name":{"type":"object","additionalProperties":{"type":"string"}}}},"UtilityRegionsWrapper":{"required":["utilityRegionType","utilityRegions"],"type":"object","properties":{"utilityRegionType":{"type":"string","enum":["gas","water","electricity"]},"utilityRegions":{"type":"array","items":{"$ref":"#/components/schemas/UtilityRegionWrapper"}}}},"AccountCreationRequest":{"required":["accountCurrency","accountNumber","accountType"],"type":"object","properties":{"accountNumber":{"type":"string"},"accountCurrency":{"type":"string","example":"AMD"},"accountType":{"type":"string","enum":["current","card","other"]}}},"CreateAccount":{"required":["accountCreationRequest","clientId"],"type":"object","properties":{"clientId":{"type":"string"},"accountCreationRequest":{"$ref":"#/components/schemas/AccountCreationRequest"}}},"UpdateAccountState":{"required":["accountNumber","applicationId","clientId","status"],"type":"object","properties":{"applicationId":{"type":"string","format":"uuid"},"clientId":{"type":"string"},"accountNumber":{"type":"string"},"status":{"type":"string","enum":["new","processed","rejected","accepted","confirmed","cancelled"]}}},"PostBankMessage":{"required":["bankMessageId","body","clientId","creationDate","state","subject"],"type":"object","properties":{"clientId":{"type":"string"},"bankMessageId":{"type":"string","format":"uuid"},"creationDate":{"type":"string","format":"date-time"},"state":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]},"subject":{"type":"string"},"body":{"type":"string"},"languageHint":{"type":"string","enum":["AA","AB","AE","AF","AK","AM","AN","AR","AS","AV","AY","AZ","BA","BE","BG","BH","BI","BM","BN","BO","BR","BS","CA","CE","CH","CO","CR","CS","CU","CV","CY","DA","DE","DV","DZ","EE","EL","EN","EO","ES","ET","EU","FA","FF","FI","FJ","FO","FR","FY","GA","GD","GL","GN","GU","GV","HA","HE","HI","HO","HR","HT","HU","HY","HZ","IA","ID","IE","IG","II","IK","IO","IS","IT","IU","JA","JV","KA","KG","KI","KJ","KK","KL","KM","KN","KO","KR","KS","KU","KV","KW","KY","LA","LB","LG","LI","LN","LO","LT","LU","LV","MG","MH","MI","MK","ML","MN","MR","MS","MT","MY","NA","NB","ND","NE","NG","NL","NN","NO","NR","NV","NY","OC","OJ","OM","OR","OS","PA","PI","PL","PS","PT","QU","RM","RN","RO","RU","RW","SA","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SQ","SR","SS","ST","SU","SV","SW","TA","TE","TG","TH","TI","TK","TL","TN","TO","TR","TS","TT","TW","TY","UG","UK","UR","UZ","VE","VI","VO","WA","WO","XH","YI","YO","ZA","ZH","ZU"]},"reference":{"type":"string","format":"uuid"},"comment":{"type":"string"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"UpdateBankMessageState":{"required":["bankMessageId","clientId","state"],"type":"object","properties":{"clientId":{"type":"string"},"bankMessageId":{"type":"string","format":"uuid"},"modificationDate":{"type":"string","format":"date-time"},"state":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]},"comment":{"type":"string"}}},"CardCreationRequest":{"required":["cardCurrency","cardHolderName","cardId","cardState","cardType","emailAddress","obfuscatedCardNumber","validFrom","validThrough"],"type":"object","properties":{"cardId":{"type":"string"},"obfuscatedCardNumber":{"type":"string"},"cardType":{"type":"string"},"cardCurrency":{"type":"string","example":"AMD"},"cardHolderName":{"type":"string"},"validFrom":{"type":"string","format":"date"},"validThrough":{"type":"string","format":"date"},"emailAddress":{"type":"string"},"cardState":{"type":"string","enum":["not-activated","activated","temporarily-locked","permanently-locked","closed"]}}},"CreateCard":{"required":["accountNumber","cardCreationRequest"],"type":"object","properties":{"accountNumber":{"type":"string"},"cardCreationRequest":{"$ref":"#/components/schemas/CardCreationRequest"}}},"UpdateCardState":{"required":["applicationId","clientId","processedDate","status"],"type":"object","properties":{"applicationId":{"type":"string","format":"uuid"},"clientId":{"type":"string"},"status":{"type":"string","enum":["new","processed","rejected","accepted","confirmed","cancelled"]},"processedDate":{"type":"string","format":"date-time"}}},"CreateCustomer":{"required":["clientAgreementCreationRequest"],"type":"object","properties":{"clientAgreementCreationRequest":{"$ref":"#/components/schemas/PersonCustomerCreationRequest"}}},"PersonCustomerCreationRequest":{"required":["citizenship","clientId","dateOfBirth","name","residentialPostalAddress"],"type":"object","properties":{"clientId":{"type":"string"},"name":{"$ref":"#/components/schemas/Name"},"dateOfBirth":{"type":"string","format":"date"},"citizenship":{"type":"array","items":{"type":"string"}},"residentialPostalAddress":{"$ref":"#/components/schemas/PostalAddress"},"contactPostalAddress":{"$ref":"#/components/schemas/PostalAddress"},"contactPhoneNumber":{"type":"string"},"contactEmailAddress":{"type":"string"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}},"UpdateDepositOpeningApplicationState":{"required":["clientId","depositOpeningApplicationId","modificationDate","state"],"type":"object","properties":{"clientId":{"type":"string"},"depositOpeningApplicationId":{"type":"string","format":"uuid"},"modificationDate":{"type":"string","format":"date-time"},"state":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]},"comment":{"type":"string"}}},"UpdatePaymentOrderStatus":{"required":["clientId","paymentId","processDate","status"],"type":"object","properties":{"clientId":{"type":"string"},"paymentId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["new","cancelled","accepted","confirmed","processed","rejected"]},"processDate":{"type":"string","format":"date-time"},"errorCode":{"type":"string","enum":["NotEnoughFunds","IncorrectPayerAccountType","IncorrectReceiverAccountType","PayerAccountNotFound","ReceiverAccountNotFound","AccountCanNotReceivePayments","AccountCurrencyMismatch","UndefinedError"]},"comment":{"type":"string"}}},"CreateUser":{"required":["userCreationRequest"],"type":"object","properties":{"userCreationRequest":{"$ref":"#/components/schemas/UserCreationRequest"}}},"UserCreationRequest":{"required":["clearTextPassword","preferredLanguage","requirePasswordChangeAtLogin","username"],"type":"object","properties":{"preferredLanguage":{"type":"string","enum":["AA","AB","AE","AF","AK","AM","AN","AR","AS","AV","AY","AZ","BA","BE","BG","BH","BI","BM","BN","BO","BR","BS","CA","CE","CH","CO","CR","CS","CU","CV","CY","DA","DE","DV","DZ","EE","EL","EN","EO","ES","ET","EU","FA","FF","FI","FJ","FO","FR","FY","GA","GD","GL","GN","GU","GV","HA","HE","HI","HO","HR","HT","HU","HY","HZ","IA","ID","IE","IG","II","IK","IO","IS","IT","IU","JA","JV","KA","KG","KI","KJ","KK","KL","KM","KN","KO","KR","KS","KU","KV","KW","KY","LA","LB","LG","LI","LN","LO","LT","LU","LV","MG","MH","MI","MK","ML","MN","MR","MS","MT","MY","NA","NB","ND","NE","NG","NL","NN","NO","NR","NV","NY","OC","OJ","OM","OR","OS","PA","PI","PL","PS","PT","QU","RM","RN","RO","RU","RW","SA","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SQ","SR","SS","ST","SU","SV","SW","TA","TE","TG","TH","TI","TK","TL","TN","TO","TR","TS","TT","TW","TY","UG","UK","UR","UZ","VE","VI","VO","WA","WO","XH","YI","YO","ZA","ZH","ZU"]},"username":{"type":"string"},"clearTextPassword":{"type":"string"},"requirePasswordChangeAtLogin":{"type":"boolean"},"phoneNumber":{"type":"string"},"googleAuthenticatorKey":{"type":"string"},"emailAddress":{"type":"string"}}},"Account":{"required":["accountCurrency","accountDescription","accountNumber","accountType","availableRemainder","currentRemainder","customerId","frozenState"],"type":"object","properties":{"customerId":{"type":"string"},"accountNumber":{"type":"string"},"accountCurrency":{"type":"string","example":"AMD"},"accountType":{"type":"string","enum":["current","card","other"]},"accountDescription":{"type":"string"},"currentRemainder":{"type":"number"},"availableRemainder":{"type":"number"},"closingDate":{"type":"string","format":"date"},"frozenState":{"type":"string","enum":["not-frozen","debit-operation-frozen","credit-operation-frozen","debit-credit-operations-frozen","debit-operation-particually-frozen"]},"alias":{"type":"string"}}},"AccountsWrapper":{"required":["accountsWithAlias"],"type":"object","properties":{"accountsWithAlias":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}},"AccountCreditOrDebitAmount":{"required":["amount","currency","type"],"type":"object","properties":{"currency":{"type":"string","example":"AMD"},"amount":{"minimum":0,"type":"number"},"amountAMD":{"minimum":0,"type":"number"},"type":{"type":"string","enum":["debit","credit"]}}},"PaginatedTransactions":{"required":["isLast","transactions"],"type":"object","properties":{"transactions":{"type":"array","items":{"$ref":"#/components/schemas/StatementRow"}},"isLast":{"type":"boolean"}}},"StatementRow":{"required":["accountNumber","creditOrDebit","date","type"],"type":"object","properties":{"transactionAccountNumber":{"type":"string"},"operationId":{"type":"string"},"date":{"type":"string","format":"date"},"creationDate":{"type":"string","format":"date"},"type":{"type":"string","enum":["swift-payment","internal-payment","bankmail-payment","instant-payment","utility-payment","loan-payment","deposit-payment","currency-exchange","payment-fee","other"]},"accountNumber":{"type":"string"},"details":{"type":"string"},"creditOrDebit":{"$ref":"#/components/schemas/AccountCreditOrDebitAmount"},"remitterOrBeneficiary":{"type":"string"}}},"AccountPublicInformation":{"type":"object","properties":{"name":{"type":"object","additionalProperties":{"type":"string"}},"currency":{"type":"string","example":"AMD"},"accountType":{"type":"string","enum":["current","card","other"]}}},"AccountStatementQuery":{"required":["accountNumber","periodEndDate","periodStartDate","showDailyBalance","showEquivalentInAMD","showOverdraftRelatedOperations"],"type":"object","properties":{"accountNumber":{"type":"string"},"periodStartDate":{"type":"string","format":"date"},"periodEndDate":{"type":"string","format":"date"},"showEquivalentInAMD":{"type":"boolean"},"showDailyBalance":{"type":"boolean"},"showOverdraftRelatedOperations":{"type":"boolean"},"operationType":{"type":"string"}}},"AccountStatement":{"required":["accountCurrency","accountDescription","accountNumber","accountStatementDays","accountType","annualInterestRate","annualInterestYield","closingAvailableBalance","closingBalance","daysCount","interestPaid","interestPaidFromTheBeginningOfTheYear","openingBalance","overallCreditTurnover","overallDebitTurnover","periodEndDate","periodStartDate"],"type":"object","properties":{"accountNumber":{"type":"string"},"accountCurrency":{"type":"string","example":"AMD"},"accountType":{"type":"string","enum":["current","card","other"]},"accountDescription":{"type":"string"},"periodStartDate":{"type":"string","format":"date"},"periodEndDate":{"type":"string","format":"date"},"openingBalance":{"$ref":"#/components/schemas/AmountInDefaultCurrencyAndAMD"},"overallDebitTurnover":{"$ref":"#/components/schemas/NonNegativeAmountInDefaultCurrencyAndAMD"},"overallCreditTurnover":{"$ref":"#/components/schemas/NonNegativeAmountInDefaultCurrencyAndAMD"},"closingBalance":{"$ref":"#/components/schemas/AmountInDefaultCurrencyAndAMD"},"closingAvailableBalance":{"type":"number"},"annualInterestRate":{"minimum":0,"type":"number"},"annualInterestYield":{"minimum":0,"type":"number"},"interestPaid":{"minimum":0,"type":"number"},"interestPaidFromTheBeginningOfTheYear":{"minimum":0,"type":"number"},"daysCount":{"minimum":0,"type":"integer","format":"int32"},"accountStatementDays":{"type":"array","items":{"$ref":"#/components/schemas/AccountStatementDay"}}}},"AccountStatementDay":{"required":["date","statementRows"],"type":"object","properties":{"date":{"type":"string","format":"date"},"balance":{"$ref":"#/components/schemas/AmountInDefaultCurrencyAndAMD"},"statementRows":{"type":"array","items":{"$ref":"#/components/schemas/AccountStatementRow"}}}},"AccountStatementRow":{"required":["accountNumber","creditOrDebit","date","type"],"type":"object","properties":{"operationId":{"type":"string"},"date":{"type":"string","format":"date"},"creationDate":{"type":"string","format":"date"},"type":{"type":"string","enum":["swift-payment","internal-payment","bankmail-payment","instant-payment","utility-payment","loan-payment","deposit-payment","currency-exchange","payment-fee","other"]},"accountNumber":{"type":"string"},"details":{"type":"string"},"creditOrDebit":{"$ref":"#/components/schemas/AccountCreditOrDebitAmount"},"remitterOrBeneficiary":{"type":"string"}}},"AmountInDefaultCurrencyAndAMD":{"required":["amount","currency"],"type":"object","properties":{"currency":{"type":"string","example":"AMD"},"amount":{"type":"number"},"amountAMD":{"type":"number"}}},"NonNegativeAmountInDefaultCurrencyAndAMD":{"required":["amount","currency"],"type":"object","properties":{"currency":{"type":"string","example":"AMD"},"amount":{"minimum":0,"type":"number"},"amountAMD":{"minimum":0,"type":"number"}}},"StatementByEmailQuery":{"required":["periodEndDate","periodStartDate","showDailyBalance","showEquivalentInAMD","showOverdraftRelatedOperations"],"type":"object","properties":{"paymentDate":{"type":"string","format":"date"},"periodStartDate":{"type":"string","format":"date"},"periodEndDate":{"type":"string","format":"date"},"showEquivalentInAMD":{"type":"boolean"},"showDailyBalance":{"type":"boolean"},"showOverdraftRelatedOperations":{"type":"boolean"}}},"PaginatedAccountTransactions":{"required":["isLast","transactions"],"type":"object","properties":{"transactions":{"type":"array","items":{"$ref":"#/components/schemas/AccountStatementRow"}},"isLast":{"type":"boolean"}}},"SwiftBankDetails":{"required":["address","bic","city","country","countryCode","name"],"type":"object","properties":{"bic":{"type":"string"},"name":{"type":"string"},"country":{"type":"string"},"countryCode":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"}}},"AccountOpeningApplication":{"required":["accountCurrency","accountType","applicationDate","type"],"type":"object","properties":{"applicationDate":{"type":"string","format":"date-time"},"accountCurrency":{"type":"string","example":"AMD"},"accountType":{"type":"string","enum":["current","card","other"]},"type":{"type":"string","enum":["account-open","account-close"]}}},"AccountClosingApplication":{"required":["accountNumber","applicationDate","type"],"type":"object","properties":{"applicationDate":{"type":"string","format":"date-time"},"accountNumber":{"type":"string"},"type":{"type":"string","enum":["account-open","account-close"]}}},"BankApplication":{"required":["bankApplicationRequest"],"type":"object","properties":{"applicationId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["new","processed","rejected","accepted","confirmed","cancelled"]},"bankApplicationRequest":{"$ref":"#/components/schemas/BankApplicationRequest"}}},"BankApplicationRequest":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["account-open","account-close"]}},"discriminator":{"propertyName":"type"}},"Card":{"required":["accountNumber","availableRemainder","cardCurrency","cardHolderName","cardId","cardState","cardType","currentRemainder","emailAddress","obfuscatedCardNumber","standardNameAM","standardNameEN","validFrom","validThrough"],"type":"object","properties":{"cardId":{"type":"string"},"obfuscatedCardNumber":{"type":"string"},"accountNumber":{"type":"string"},"cardType":{"type":"string","enum":["Debit","Credit"]},"cardCurrency":{"type":"string","example":"AMD"},"cardHolderName":{"type":"string"},"currentRemainder":{"type":"number"},"availableRemainder":{"type":"number"},"validFrom":{"type":"string","format":"date"},"validThrough":{"type":"string","format":"date"},"emailAddress":{"type":"string"},"cardState":{"type":"string","enum":["not-activated","activated","temporarily-locked","permanently-locked","closed"]},"alias":{"type":"string"},"standardNameAM":{"type":"string"},"standardNameEN":{"type":"string"}}},"CardsWrapper":{"required":["cards"],"type":"object","properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/Card"}}}},"CardOnlineRemainder":{"required":["availableRemainder","cardId","currentRemainder","onlineRemainder"],"type":"object","properties":{"cardId":{"type":"string"},"onlineRemainder":{"type":"number"},"currentRemainder":{"type":"number"},"availableRemainder":{"type":"number"}}},"CardOnlineTransaction":{"required":["amount","currency","posTerminalDescriptor","responseCode","transactionId","type"],"type":"object","properties":{"transactionId":{"type":"integer","format":"int32"},"responseCode":{"type":"integer","format":"int32"},"creationDate":{"type":"string","format":"date"},"posTerminalDescriptor":{"$ref":"#/components/schemas/PosTerminalDescriptor"},"amount":{"type":"number"},"currency":{"type":"string","example":"AMD"},"type":{"type":"string","enum":["credit","debit","other"]}}},"CardOnlineTransactions":{"required":["cardId","onlineTransactions"],"type":"object","properties":{"cardId":{"type":"string"},"isLast":{"type":"boolean"},"onlineTransactions":{"type":"array","items":{"$ref":"#/components/schemas/CardOnlineTransaction"}}}},"PosTerminalDescriptor":{"required":["terminalAddress"],"type":"object","properties":{"terminalAddress":{"$ref":"#/components/schemas/PostalAddress"},"terminalName":{"type":"string"}}},"BankMessage":{"required":["bankMessageId","body","creationDate","customerId","originator","state","subject"],"type":"object","properties":{"customerId":{"type":"string"},"bankMessageId":{"type":"string","format":"uuid"},"backendBankMessageId":{"type":"string","format":"uuid"},"creationDate":{"type":"string","format":"date-time"},"modificationDate":{"type":"string","format":"date-time"},"authorizationDate":{"type":"string","format":"date-time"},"originator":{"type":"string","enum":["customer","bank"]},"state":{"type":"string","enum":["new","cancelled","processed","accepted","confirmed","rejected"]},"subject":{"type":"string"},"body":{"type":"string"},"languageHint":{"type":"string","enum":["AA","AB","AE","AF","AK","AM","AN","AR","AS","AV","AY","AZ","BA","BE","BG","BH","BI","BM","BN","BO","BR","BS","CA","CE","CH","CO","CR","CS","CU","CV","CY","DA","DE","DV","DZ","EE","EL","EN","EO","ES","ET","EU","FA","FF","FI","FJ","FO","FR","FY","GA","GD","GL","GN","GU","GV","HA","HE","HI","HO","HR","HT","HU","HY","HZ","IA","ID","IE","IG","II","IK","IO","IS","IT","IU","JA","JV","KA","KG","KI","KJ","KK","KL","KM","KN","KO","KR","KS","KU","KV","KW","KY","LA","LB","LG","LI","LN","LO","LT","LU","LV","MG","MH","MI","MK","ML","MN","MR","MS","MT","MY","NA","NB","ND","NE","NG","NL","NN","NO","NR","NV","NY","OC","OJ","OM","OR","OS","PA","PI","PL","PS","PT","QU","RM","RN","RO","RU","RW","SA","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SQ","SR","SS","ST","SU","SV","SW","TA","TE","TG","TH","TI","TK","TL","TN","TO","TR","TS","TT","TW","TY","UG","UK","UR","UZ","VE","VI","VO","WA","WO","XH","YI","YO","ZA","ZH","ZU"]},"reference":{"type":"string","format":"uuid"},"comment":{"type":"string"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"BankMessagesWrapper":{"required":["bankMessages"],"type":"object","properties":{"bankMessages":{"type":"array","items":{"$ref":"#/components/schemas/BankMessage"}}}},"BankMessageCreationRequest":{"required":["body","subject"],"type":"object","properties":{"subject":{"type":"string"},"body":{"type":"string"},"languageHint":{"type":"string","enum":["AA","AB","AE","AF","AK","AM","AN","AR","AS","AV","AY","AZ","BA","BE","BG","BH","BI","BM","BN","BO","BR","BS","CA","CE","CH","CO","CR","CS","CU","CV","CY","DA","DE","DV","DZ","EE","EL","EN","EO","ES","ET","EU","FA","FF","FI","FJ","FO","FR","FY","GA","GD","GL","GN","GU","GV","HA","HE","HI","HO","HR","HT","HU","HY","HZ","IA","ID","IE","IG","II","IK","IO","IS","IT","IU","JA","JV","KA","KG","KI","KJ","KK","KL","KM","KN","KO","KR","KS","KU","KV","KW","KY","LA","LB","LG","LI","LN","LO","LT","LU","LV","MG","MH","MI","MK","ML","MN","MR","MS","MT","MY","NA","NB","ND","NE","NG","NL","NN","NO","NR","NV","NY","OC","OJ","OM","OR","OS","PA","PI","PL","PS","PT","QU","RM","RN","RO","RU","RW","SA","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SQ","SR","SS","ST","SU","SV","SW","TA","TE","TG","TH","TI","TK","TL","TN","TO","TR","TS","TT","TW","TY","UG","UK","UR","UZ","VE","VI","VO","WA","WO","XH","YI","YO","ZA","ZH","ZU"]},"reference":{"type":"string","format":"uuid"},"attachmentFileIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"BankMessageIdWrapper":{"required":["bankMessageId"],"type":"object","properties":{"bankMessageId":{"type":"string","format":"uuid"}}}},"examples":{"200_statement.json":{"value":"{\"transactions\":[{\"transactionAccountNumber\":\"1150011597287283\",\"operationId\":\"15153478360000209081251225\",\"date\":\"2022-12-08\",\"creationDate\":\"2022-12-08\",\"type\":\"other\",\"accountNumber\":\"1150009081251225\",\"details\":\"% կապիտ. ըստ 11597287283 հաշվի\",\"creditOrDebit\":{\"currency\":\"AMD\",\"amount\":353.7,\"amountAMD\":353.7,\"type\":\"credit\"},\"remitterOrBeneficiary\":\"ՍԱՀԱԿՅԱՆ ՆԱՐԻՆԵ ՅՈՒՐԻԻ- քարտ- % կ.հ.\"},{\"transactionAccountNumber\":\"1150011597287283\",\"operationId\":\"091501030951618609081251225\",\"date\":\"2022-04-05\",\"creationDate\":\"2022-04-06\",\"type\":\"other\",\"accountNumber\":\"1150009081251225\",\"details\":\"% կապիտ. ըստ 11597287283 հաշվի\",\"creditOrDebit\":{\"currency\":\"AMD\",\"amount\":102.8,\"amountAMD\":102.8,\"type\":\"credit\"},\"remitterOrBeneficiary\":\"ՍԱՀԱԿՅԱՆ ՆԱՐԻՆԵ ՅՈՒՐԻԻ- քարտ- % կ.հ.\"},{\"transactionAccountNumber\":\"1150011597287283\",\"operationId\":\"080364048700000258047680  \",\"date\":\"2022-03-18\",\"creationDate\":\"2022-03-18\",\"type\":\"other\",\"accountNumber\":\"11500258047680\",\"details\":\"Ք: 21020045\\\\051\\\\YEREVAN\\\\ATM AEB TA\",\"creditOrDebit\":{\"currency\":\"AMD\",\"amount\":120000,\"amountAMD\":120000,\"type\":\"debit\"},\"remitterOrBeneficiary\":\"Տարանցիկ հաշիվ Պրոցեսինգի հաշվարկների գծով/Քլիրինգ\"},{\"transactionAccountNumber\":\"1150011597287283\",\"operationId\":\"16527963730000062010383500\",\"date\":\"2022-03-18\",\"creationDate\":\"2022-03-18\",\"type\":\"other\",\"accountNumber\":\"1150062010383500\",\"details\":\"Ք: Գանձում կանխիկացումից «ՀԱՅԲԻԶՆԵ\",\"creditOrDebit\":{\"currency\":\"AMD\",\"amount\":1200,\"amountAMD\":1200,\"type\":\"debit\"},\"remitterOrBeneficiary\":\"Պրոսեսինգ համակ.դուրս սպ. ռեզ.քարտ.եկ. Ասկերան\"},{\"transactionAccountNumber\":\"1150011597287283\",\"operationId\":\"152793978300000258047680  \",\"date\":\"2022-03-18\",\"creationDate\":\"2022-03-18\",\"type\":\"other\",\"accountNumber\":\"11500258047680\",\"details\":\"Ք: 22531611\\\\051\\\\YEREVAN\\\\SMART DEAL\",\"creditOrDebit\":{\"currency\":\"AMD\",\"amount\":700,\"amountAMD\":700,\"type\":\"debit\"},\"remitterOrBeneficiary\":\"Տարանցիկ հաշիվ Պրոցեսինգի հաշվարկների գծով/Քլիրինգ\"}],\"isLast\":false}","$ref":"#/components/examples/200_statement.json"},"200_currency_cross_rate.json":{"value":"{\"purchaseCurrency\":\"EUR\",\"saleCurrency\":\"USD\",\"isCentralBankRate\":true,\"crossRate\":1.25}","$ref":"#/components/examples/200_currency_cross_rate.json"},"200_currency_exchange_rates.json":{"value":"{\"currencyExchangeRates\":[{\"purchaseRate\":0.0412,\"saleRate\":0.0412,\"centralBankRate\":0.0412,\"unitCurrency\":\"AMD\"}]}","$ref":"#/components/examples/200_currency_exchange_rates.json"},"currency_cross_rates_request.json":{"value":"{\"purchaseCurrency\":\"EUR\",\"saleCurrency\":\"USD\",\"isCentralBankRate\":true}","$ref":"#/components/examples/currency_cross_rates_request.json"},"200_deposit_templates.json":{"value":"{\"depositTemplates\":[{\"templateNumber\":\"2175\",\"name\":\"ABB ԿՈՒՏԱԿԱՅԻՆ 8%\",\"currency\":\"AMD\",\"minimalAmount\":5000.0,\"maximalAmount\":1.0E8,\"minimalTermInDays\":365,\"maximalTermInDays\":730,\"interestRate\":8.0,\"interestPaymentPeriod\":{\"type\":\"periodic-in-months\",\"months\":1},\"isReplenishable\":true,\"isCapitalizable\":true}]}","$ref":"#/components/examples/200_deposit_templates.json"},"200_deposit.json":{"value":"{\"id\":\"A22-18747\",\"category\":\"8551\",\"displayCategory\":\"ABB-ՇԱՀԱՎԵՏ AMD731-1095 ՕՐ ԺԱՄԿԵՏԻ ՎԵՐՋ 10.25%\",\"currency\":\"AMD\",\"name\":\"ՄԿՐՏՉՅԱՆ ԴՈՆԱՐԱ ՍՈՍԻ\",\"originalDate\":\"2022-05-24\",\"maturityDate\":\"2024-05-24\",\"originalPrincipal\":1250000.0,\"interestRate\":10.25,\"outstandingPrincipal\":1250000.0,\"calculatedInterest\":702.0,\"isReplenishable\":true,\"isCapitalizable\":false,\"isExtendable\":false}","$ref":"#/components/examples/200_deposit.json"},"200_deposits.json":{"value":"{\"deposits\":[{\"id\":\"A22-18747\",\"category\":\"8551\",\"displayCategory\":\"ABB-ՇԱՀԱՎԵՏ AMD731-1095 ՕՐ ԺԱՄԿԵՏԻ ՎԵՐՋ 10.25%\",\"currency\":\"AMD\",\"name\":\"ՄԿՐՏՉՅԱՆ ԴՈՆԱՐԱ ՍՈՍԻ\",\"originalDate\":\"2022-05-24\",\"maturityDate\":\"2024-05-24\",\"originalPrincipal\":1250000.0,\"interestRate\":10.25,\"outstandingPrincipal\":1250000.0,\"calculatedInterest\":702.0,\"isReplenishable\":true,\"isCapitalizable\":false,\"isExtendable\":false},{\"id\":\"A20-25186\",\"category\":\"8249\",\"displayCategory\":\"ABB-ՇԱՀԱՎԵՏ AMD 31-90 ՕՐ ԺԱՄԿԵՏԻ ՎԵՐՋ 6%\",\"currency\":\"AMD\",\"name\":\"ՄԿՐՏՉՅԱՆ ԴՈՆԱՐԱ ՍՈՍԻ\",\"originalDate\":\"2020-07-10\",\"maturityDate\":\"2020-08-10\",\"originalPrincipal\":2000000.0,\"interestRate\":5.75,\"outstandingPrincipal\":0.0,\"calculatedInterest\":0.0,\"closingDate\":\"2020-07-20\",\"isReplenishable\":true,\"isCapitalizable\":false,\"isExtendable\":false}]}","$ref":"#/components/examples/200_deposits.json"},"200_deposit_applications.json":{"value":"{\"depositOpeningApplications\":[{\"customerId\":\"00360429\",\"depositOpeningApplicationId\":\"1f1f1633-73bb-4eb3-b29d-3ec66e57de89\",\"creationDate\":\"2023-02-22T11:05:52.141580Z\",\"depositOpeningApplicationState\":\"new\",\"creationRequest\":{\"templateNumber\":\"2175\",\"openingDate\":\"2023-02-22\",\"accountNumber\":\"11500513977539\",\"amount\":12345.67,\"currency\":\"AMD\",\"maturityDate\":\"2023-01-29\",\"interestPaymentAccountNumber\":\"11500513977539\",\"isExtendable\":false,\"description\":\"Thanks for the lunch money\"},\"template\":{\"templateNumber\":\"2175\",\"name\":\"ABB ԿՈՒՏԱԿԱՅԻՆ 8%\",\"currency\":\"AMD\",\"minimalAmount\":5000.0,\"maximalAmount\":1.0E8,\"minimalTermInDays\":365,\"maximalTermInDays\":730,\"interestRate\":8.0,\"interestPaymentPeriod\":{\"type\":\"periodic-in-months\",\"months\":1},\"isReplenishable\":true,\"isCapitalizable\":true}},{\"customerId\":\"00360429\",\"depositOpeningApplicationId\":\"a04d115d-eb5f-4908-aba1-a32cad26ba4b\",\"creationDate\":\"2023-01-27T02:36:17.844112Z\",\"modificationDate\":\"2023-03-10T10:19:07.980Z\",\"depositOpeningApplicationState\":\"processed\",\"comment\":\"some comment\",\"creationRequest\":{\"templateNumber\":\"2175\",\"openingDate\":\"2023-01-26\",\"accountNumber\":\"11500513977539\",\"amount\":12345.68,\"currency\":\"AMD\",\"maturityDate\":\"2023-01-29\",\"interestPaymentAccountNumber\":\"11500513977539\",\"isExtendable\":false,\"description\":\"Thanks for the lunch money 2\"},\"template\":{\"templateNumber\":\"2175\",\"name\":\"ABB ԿՈՒՏԱԿԱՅԻՆ 8%\",\"currency\":\"AMD\",\"minimalAmount\":5000.0,\"maximalAmount\":1.0E8,\"minimalTermInDays\":365,\"maximalTermInDays\":730,\"interestRate\":8.0,\"interestPaymentPeriod\":{\"type\":\"periodic-in-months\",\"months\":1},\"isReplenishable\":true,\"isCapitalizable\":true}}]}","$ref":"#/components/examples/200_deposit_applications.json"},"deposit_templates_request.json":{"value":"{\"templateNumber\":\"2175\",\"amount\":\"12345.67\",\"currency\":\"AMD\",\"termInDays\":365,\"interestPaymentPeriod\":{\"type\":\"periodic-in-months\",\"months\":1},\"isReplenishable\":true,\"isCapitalizable\":true}","$ref":"#/components/examples/deposit_templates_request.json"}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}