openapi: 3.1.0 info: version: '6' x-publicVersion: true title: Adyen Account acceptDispute Accounts API description: "This API is used for the classic integration. If you are just starting your implementation, refer to our [new integration guide](https://docs.adyen.com/marketplaces-and-platforms) instead.\n\nThe Account API provides endpoints for managing account-related entities on your platform. These related entities include account holders, accounts, bank accounts, shareholders, and verification-related documents. The management operations include actions such as creation, retrieval, updating, and deletion of them.\n\nFor more information, refer to our [documentation](https://docs.adyen.com/marketplaces-and-platforms/classic).\n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value, for example:\n\n ```\ncurl\n-H \"Content-Type: application/json\" \\\n-H \"X-API-Key: YOUR_API_KEY\" \\\n...\n```\n\nAlternatively, you can use the username and password to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws@MarketPlace.YOUR_PLATFORM_ACCOUNT\":\"YOUR_WS_PASSWORD\" \\\n-H \"Content-Type: application/json\" \\\n...\n```\nWhen going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n## Versioning\nThe Account API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://cal-test.adyen.com/cal/services/Account/v6/createAccountHolder\n```" x-timestamp: '2023-05-30T15:27:20Z' termsOfService: https://www.adyen.com/legal/terms-and-conditions contact: name: Adyen Developer Experience team url: https://github.com/Adyen/adyen-openapi servers: - url: https://cal-test.adyen.com/cal/services/Account/v6 tags: - name: Accounts paths: /checkAccountHolder: post: tags: - Accounts summary: Adyen Trigger Verification description: Triggers the verification of an account holder even if the checks are not yet required for the volume that they are currently processing. x-addedInVersion: '5' operationId: post-checkAccountHolder x-groupName: Verification x-sortIndex: 3 x-methodName: checkAccountHolder security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: basic: $ref: '#/components/examples/post-checkAccountHolder-basic' schema: $ref: '#/components/schemas/PerformVerificationRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/GenericResponse' examples: post-checkAccountHolder200Example: summary: Default post-checkAccountHolder 200 response x-microcks-default: true value: invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: OK - the request has succeeded. '202': content: application/json: schema: $ref: '#/components/schemas/GenericResponse' examples: post-checkAccountHolder202Example: summary: Default post-checkAccountHolder 202 response x-microcks-default: true value: invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: Accepted - the request has been accepted for processing, but the processing has not been completed. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-checkAccountHolder401Example: summary: Default post-checkAccountHolder 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-checkAccountHolder422Example: summary: Default post-checkAccountHolder 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-checkAccountHolder500Example: summary: Default post-checkAccountHolder 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /closeAccount: post: tags: - Accounts summary: Adyen Close an Account description: Closes an account. If an account is closed, you cannot process transactions, pay out its funds, or reopen it. If payments are made to a closed account, the payments are sent to your liable account. operationId: post-closeAccount x-groupName: Accounts x-sortIndex: 3 x-methodName: closeAccount security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: closeAccount: $ref: '#/components/examples/post-closeAccount-closeAccount' schema: $ref: '#/components/schemas/CloseAccountRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/CloseAccountResponse' examples: post-closeAccount200Example: summary: Default post-closeAccount 200 response x-microcks-default: true value: accountCode: CODE123 invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 status: Active description: OK - the request has succeeded. '202': content: application/json: schema: $ref: '#/components/schemas/CloseAccountResponse' examples: post-closeAccount202Example: summary: Default post-closeAccount 202 response x-microcks-default: true value: accountCode: CODE123 invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 status: Active description: Accepted - the request has been accepted for processing, but the processing has not been completed. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-closeAccount401Example: summary: Default post-closeAccount 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-closeAccount422Example: summary: Default post-closeAccount 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-closeAccount500Example: summary: Default post-closeAccount 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /closeAccountHolder: post: tags: - Accounts summary: Adyen Close an Account Holder description: Changes the [status of an account holder](https://docs.adyen.com/marketplaces-and-platforms/classic/account-holders-and-accounts#account-holder-statuses) to **Closed**. This state is final. If an account holder is closed, you can't process transactions, pay out funds, or reopen it. If payments are made to an account of an account holder with a **Closed** [`status`](https://docs.adyen.com/api-explorer/#/Account/latest/post/getAccountHolder__resParam_verification-accountHolder-checks-status), the payments are sent to your liable account. operationId: post-closeAccountHolder x-groupName: Account holders x-sortIndex: 7 x-methodName: closeAccountHolder security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: basic: $ref: '#/components/examples/post-closeAccountHolder-basic' schema: $ref: '#/components/schemas/CloseAccountHolderRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/CloseAccountHolderResponse' examples: post-closeAccountHolder200Example: summary: Default post-closeAccountHolder 200 response x-microcks-default: true value: accountHolderStatus: active invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: OK - the request has succeeded. '202': content: application/json: schema: $ref: '#/components/schemas/CloseAccountHolderResponse' examples: post-closeAccountHolder202Example: summary: Default post-closeAccountHolder 202 response x-microcks-default: true value: accountHolderStatus: active invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: Accepted - the request has been accepted for processing, but the processing has not been completed. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-closeAccountHolder401Example: summary: Default post-closeAccountHolder 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-closeAccountHolder422Example: summary: Default post-closeAccountHolder 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-closeAccountHolder500Example: summary: Default post-closeAccountHolder 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /deleteBankAccounts: post: tags: - Accounts summary: Adyen Delete Bank Accounts description: 'Deletes bank accounts associated with an account holder. ' operationId: post-deleteBankAccounts x-groupName: Verification x-sortIndex: 4 x-methodName: deleteBankAccounts security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: basic: $ref: '#/components/examples/post-deleteBankAccounts-basic' schema: $ref: '#/components/schemas/DeleteBankAccountRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/GenericResponse' examples: post-deleteBankAccounts200Example: summary: Default post-deleteBankAccounts 200 response x-microcks-default: true value: invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: OK - the request has succeeded. '202': content: application/json: schema: $ref: '#/components/schemas/GenericResponse' examples: post-deleteBankAccounts202Example: summary: Default post-deleteBankAccounts 202 response x-microcks-default: true value: invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: Accepted - the request has been accepted for processing, but the processing has not been completed. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-deleteBankAccounts401Example: summary: Default post-deleteBankAccounts 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-deleteBankAccounts422Example: summary: Default post-deleteBankAccounts 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-deleteBankAccounts500Example: summary: Default post-deleteBankAccounts 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /suspendAccountHolder: post: tags: - Accounts summary: Adyen Suspend an Account Holder description: Changes the [status of an account holder](https://docs.adyen.com/marketplaces-and-platforms/classic/account-holders-and-accounts#account-holder-statuses) to **Suspended**. operationId: post-suspendAccountHolder x-groupName: Account holders x-sortIndex: 5 x-methodName: suspendAccountHolder security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: basic: $ref: '#/components/examples/post-suspendAccountHolder-basic' schema: $ref: '#/components/schemas/SuspendAccountHolderRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/SuspendAccountHolderResponse' examples: post-suspendAccountHolder200Example: summary: Default post-suspendAccountHolder 200 response x-microcks-default: true value: accountHolderStatus: active invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: OK - the request has succeeded. '202': content: application/json: schema: $ref: '#/components/schemas/SuspendAccountHolderResponse' examples: post-suspendAccountHolder202Example: summary: Default post-suspendAccountHolder 202 response x-microcks-default: true value: accountHolderStatus: active invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: Accepted - the request has been accepted for processing, but the processing has not been completed. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-suspendAccountHolder401Example: summary: Default post-suspendAccountHolder 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-suspendAccountHolder422Example: summary: Default post-suspendAccountHolder 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-suspendAccountHolder500Example: summary: Default post-suspendAccountHolder 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /unSuspendAccountHolder: post: tags: - Accounts summary: Adyen Unsuspend an Account Holder description: "Changes the [status of an account holder](https://docs.adyen.com/marketplaces-and-platforms/classic/account-holders-and-accounts#account-holder-statuses) from **Suspended** to **Inactive**. \nAccount holders can have a **Suspended** [`status`](https://docs.adyen.com/api-explorer/#/Account/latest/post/getAccountHolder__resParam_verification-accountHolder-checks-status) if you suspend them through the [`/suspendAccountHolder`](https://docs.adyen.com/api-explorer/#/Account/v5/post/suspendAccountHolder) endpoint or if a verification deadline expires.\n\nYou can only unsuspend account holders if they do not have verification checks with a **FAILED** [`status`](https://docs.adyen.com/api-explorer/#/Account/latest/post/getAccountHolder__resParam_verification-accountHolder-checks-status)." operationId: post-unSuspendAccountHolder x-groupName: Account holders x-sortIndex: 6 x-methodName: unSuspendAccountHolder security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: basic: $ref: '#/components/examples/post-unSuspendAccountHolder-basic' schema: $ref: '#/components/schemas/UnSuspendAccountHolderRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/UnSuspendAccountHolderResponse' examples: post-unSuspendAccountHolder200Example: summary: Default post-unSuspendAccountHolder 200 response x-microcks-default: true value: accountHolderStatus: active invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: OK - the request has succeeded. '202': content: application/json: schema: $ref: '#/components/schemas/UnSuspendAccountHolderResponse' examples: post-unSuspendAccountHolder202Example: summary: Default post-unSuspendAccountHolder 202 response x-microcks-default: true value: accountHolderStatus: active invalidFields: - example_value pspReference: REF-001 resultCode: CODE123 description: Accepted - the request has been accepted for processing, but the processing has not been completed. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-unSuspendAccountHolder401Example: summary: Default post-unSuspendAccountHolder 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-unSuspendAccountHolder422Example: summary: Default post-unSuspendAccountHolder 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-unSuspendAccountHolder500Example: summary: Default post-unSuspendAccountHolder 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /accountHolders: post: tags: - Accounts summary: Adyen Create an Account Holder description: 'Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). ' x-addedInVersion: '1' operationId: post-accountHolders x-sortIndex: 1 x-methodName: createAccountHolder security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: createAccountHolder: $ref: '#/components/examples/post-accountHolders-createAccountHolder' schema: $ref: '#/components/schemas/AccountHolderInfo' responses: '200': content: application/json: examples: createAccountHolder: $ref: '#/components/examples/post-accountHolders-createAccountHolder-200' schema: $ref: '#/components/schemas/AccountHolder' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /accountHolders/{id}: get: tags: - Accounts summary: Adyen Get an Account Holder description: Returns an account holder. x-addedInVersion: '1' operationId: get-accountHolders-id x-sortIndex: 3 x-methodName: getAccountHolder security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the account holder. name: id in: path required: true schema: type: string responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-accountHolders-id-success-200' schema: $ref: '#/components/schemas/AccountHolder' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: tags: - Accounts summary: Adyen Update an Account Holder description: Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged. x-addedInVersion: '1' operationId: patch-accountHolders-id x-sortIndex: 2 x-methodName: updateAccountHolder security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: requestAccountHolderCapability: $ref: '#/components/examples/patch-accountHolders-id-requestAccountHolderCapability' updateAccountHolderStatus: $ref: '#/components/examples/patch-accountHolders-id-updateAccountHolderStatus' schema: $ref: '#/components/schemas/AccountHolderUpdateRequest' parameters: - description: The unique identifier of the account holder. name: id in: path required: true schema: type: string responses: '200': content: application/json: examples: requestAccountHolderCapability: $ref: '#/components/examples/patch-accountHolders-id-requestAccountHolderCapability-200' updateAccountHolderStatus: $ref: '#/components/examples/patch-accountHolders-id-updateAccountHolderStatus-200' schema: $ref: '#/components/schemas/AccountHolder' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /accountHolders/{id}/balanceAccounts: get: tags: - Accounts summary: Adyen Get All Balance Accounts of an Account Holder description: "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. \n\nFor example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`." x-addedInVersion: '1' operationId: get-accountHolders-id-balanceAccounts x-sortIndex: 4 x-methodName: getAllBalanceAccountsOfAccountHolder security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the account holder. name: id in: path required: true schema: type: string - description: The number of items that you want to skip. name: offset in: query required: false schema: format: int32 type: integer - description: The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page. name: limit in: query required: false schema: format: int32 type: integer responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-accountHolders-id-balanceAccounts-success-200' schema: $ref: '#/components/schemas/PaginatedBalanceAccountsResponse' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /accountHolders/{id}/taxForms: get: tags: - Accounts summary: Adyen Get a Tax Form description: Generates a tax form for account holders operating in the US. For more information, refer to [Providing tax forms](https://docs.adyen.com/marketplaces-and-platforms/us-tax-forms/). x-addedInVersion: '2' operationId: get-accountHolders-id-taxForms x-sortIndex: 5 x-methodName: getTaxForm security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the account holder. name: id in: path required: true schema: type: string - description: The type of tax form you want to retrieve. Accepted values are **US1099k** and **US1099nec** name: formType in: query required: true schema: x-enum: - value: US1099k - value: US1099nec enum: - US1099k - US1099nec type: string - description: The tax year in YYYY format for the tax form you want to retrieve name: year in: query required: true schema: format: int32 type: integer responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-accountHolders-id-taxForms-success-200' schema: $ref: '#/components/schemas/GetTaxFormResponse' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /balanceAccounts: post: tags: - Accounts summary: Adyen Create a Balance Account description: Creates a balance account that holds the funds of the associated account holder. x-addedInVersion: '1' operationId: post-balanceAccounts x-sortIndex: 1 x-methodName: createBalanceAccount security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: createBalanceAccount: $ref: '#/components/examples/post-balanceAccounts-createBalanceAccount' schema: $ref: '#/components/schemas/BalanceAccountInfo' responses: '200': content: application/json: examples: createBalanceAccount: $ref: '#/components/examples/post-balanceAccounts-createBalanceAccount-200' schema: $ref: '#/components/schemas/BalanceAccount' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /balanceAccounts/{balanceAccountId}/sweeps: get: tags: - Accounts summary: Adyen Get All Sweeps for a Balance Account description: 'Returns a list of the sweeps configured for a balance account. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 sweeps and to skip the first 10, use `/balanceAccounts/{balanceAccountId}/sweeps?limit=5&offset=10`.' x-addedInVersion: '2' operationId: get-balanceAccounts-balanceAccountId-sweeps x-sortIndex: 7 x-methodName: getAllSweepsForBalanceAccount security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the balance account. name: balanceAccountId in: path required: true schema: type: string - description: The number of items that you want to skip. name: offset in: query required: false schema: format: int32 type: integer - description: The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page. name: limit in: query required: false schema: format: int32 type: integer responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-balanceAccounts-balanceAccountId-sweeps-success-200' schema: $ref: '#/components/schemas/BalanceSweepConfigurationsResponse' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK post: tags: - Accounts summary: Adyen Create a Sweep description: 'Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination.' x-addedInVersion: '2' operationId: post-balanceAccounts-balanceAccountId-sweeps x-sortIndex: 5 x-methodName: createSweep security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: createSweep-pull: $ref: '#/components/examples/post-balanceAccounts-balanceAccountId-sweeps-createSweep-pull' createSweep-push: $ref: '#/components/examples/post-balanceAccounts-balanceAccountId-sweeps-createSweep-push' createSweep-push-priorities: $ref: '#/components/examples/post-balanceAccounts-balanceAccountId-sweeps-createSweep-push-priorities' schema: $ref: '#/components/schemas/CreateSweepConfigurationV2' parameters: - description: The unique identifier of the balance account. name: balanceAccountId in: path required: true schema: type: string responses: '200': content: application/json: examples: createSweep-pull: $ref: '#/components/examples/post-balanceAccounts-balanceAccountId-sweeps-createSweep-pull-200' createSweep-push: $ref: '#/components/examples/post-balanceAccounts-balanceAccountId-sweeps-createSweep-push-200' createSweep-push-priorities: $ref: '#/components/examples/post-balanceAccounts-balanceAccountId-sweeps-createSweep-push-priorities-200' schema: $ref: '#/components/schemas/SweepConfigurationV2' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /balanceAccounts/{balanceAccountId}/sweeps/{sweepId}: delete: tags: - Accounts summary: Adyen Delete a Sweep description: Deletes a sweep for a balance account. x-addedInVersion: '2' operationId: delete-balanceAccounts-balanceAccountId-sweeps-sweepId x-sortIndex: 9 x-methodName: deleteSweep security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the balance account. name: balanceAccountId in: path required: true schema: type: string - description: The unique identifier of the sweep. name: sweepId in: path required: true schema: type: string responses: '204': description: 'No Content - look at the actual response code for the status of the request. ' '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK get: tags: - Accounts summary: Adyen Get a Sweep description: Returns a sweep. x-addedInVersion: '2' operationId: get-balanceAccounts-balanceAccountId-sweeps-sweepId x-sortIndex: 8 x-methodName: getSweep security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the balance account. name: balanceAccountId in: path required: true schema: type: string - description: The unique identifier of the sweep. name: sweepId in: path required: true schema: type: string responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-balanceAccounts-balanceAccountId-sweeps-sweepId-success-200' schema: $ref: '#/components/schemas/SweepConfigurationV2' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: tags: - Accounts summary: Adyen Update a Sweep description: Updates a sweep. When updating a sweep resource, note that if a request parameter is not provided, the parameter is left unchanged. x-addedInVersion: '2' operationId: patch-balanceAccounts-balanceAccountId-sweeps-sweepId x-sortIndex: 6 x-methodName: updateSweep security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: updateSweep-status: $ref: '#/components/examples/patch-balanceAccounts-balanceAccountId-sweeps-sweepId-updateSweep-status' schema: $ref: '#/components/schemas/UpdateSweepConfigurationV2' parameters: - description: The unique identifier of the balance account. name: balanceAccountId in: path required: true schema: type: string - description: The unique identifier of the sweep. name: sweepId in: path required: true schema: type: string responses: '200': content: application/json: examples: updateSweep-status: $ref: '#/components/examples/patch-balanceAccounts-balanceAccountId-sweeps-sweepId-updateSweep-status-200' schema: $ref: '#/components/schemas/SweepConfigurationV2' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /balanceAccounts/{id}: get: tags: - Accounts summary: Adyen Get a Balance Account description: Returns a balance account and its balances for the default currency and other currencies with a non-zero balance. x-addedInVersion: '1' operationId: get-balanceAccounts-id x-sortIndex: 3 x-methodName: getBalanceAccount security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the balance account. name: id in: path required: true schema: type: string responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-balanceAccounts-id-success-200' schema: $ref: '#/components/schemas/BalanceAccount' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: tags: - Accounts summary: Adyen Update a Balance Account description: Updates a balance account. x-addedInVersion: '1' operationId: patch-balanceAccounts-id x-sortIndex: 2 x-methodName: updateBalanceAccount security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: updateBalanceAccount: $ref: '#/components/examples/patch-balanceAccounts-id-updateBalanceAccount' schema: $ref: '#/components/schemas/BalanceAccountUpdateRequest' parameters: - description: The unique identifier of the balance account. name: id in: path required: true schema: type: string responses: '200': content: application/json: examples: updateBalanceAccount: $ref: '#/components/examples/patch-balanceAccounts-id-updateBalanceAccount-200' schema: $ref: '#/components/schemas/BalanceAccount' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /balanceAccounts/{id}/paymentInstruments: get: tags: - Accounts summary: Adyen Get Payment Instruments Linked to a Balance Account description: "Returns a paginated list of the payment instruments associated with a balance account. \n\nTo fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments which are in active status and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6&status=active`." x-addedInVersion: '1' operationId: get-balanceAccounts-id-paymentInstruments x-sortIndex: 4 x-methodName: getPaymentInstrumentsLinkedToBalanceAccount security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the balance account. name: id in: path required: true schema: type: string - description: The number of items that you want to skip. name: offset in: query required: false schema: format: int32 type: integer - description: The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page. name: limit in: query required: false schema: format: int32 type: integer - description: The status of the payment instruments that you want to get. By default, the response includes payment instruments with any status. name: status in: query required: false schema: type: string responses: '200': content: application/json: examples: success: $ref: '#/components/examples/get-balanceAccounts-id-paymentInstruments-success-200' schema: $ref: '#/components/schemas/PaginatedPaymentInstrumentsResponse' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /grantAccounts/{id}: get: tags: - Accounts summary: Adyen Get a Grant Account description: Returns the details of the [grant account](https://docs.adyen.com/marketplaces-and-platforms/capital#grant-account). x-addedInVersion: '1' operationId: get-grantAccounts-id x-sortIndex: 1 x-methodName: getGrantAccount security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] parameters: - description: The unique identifier of the grant account. name: id in: path required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/CapitalGrantAccount' examples: get-grantAccounts-id200Example: summary: Default get-grantAccounts-id 200 response x-microcks-default: true value: balances: - example_value fundingBalanceAccountId: '500123' id: '500123' limits: - example_value description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400_2' schema: $ref: '#/components/schemas/RestServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK /validateBankAccountIdentification: post: tags: - Accounts summary: Adyen Validate a Bank Account description: Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). x-addedInVersion: '1' operationId: post-validateBankAccountIdentification x-sortIndex: 1 x-methodName: validateBankAccountIdentification security: - clientKey: [] - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: validateBankAccountIdentificationIban: $ref: '#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationIban' validateBankAccountIdentificationUs: $ref: '#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationUs' schema: $ref: '#/components/schemas/BankAccountIdentificationValidationRequest' responses: '200': description: 'No Content - look at the actual response code for the status of the request. ' '401': content: application/json: examples: generic: $ref: '#/components/examples/generic-401' schema: $ref: '#/components/schemas/RestServiceError' description: Unauthorized - authentication required. '403': content: application/json: examples: generic: $ref: '#/components/examples/generic-403_2' schema: $ref: '#/components/schemas/RestServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' validateBankAccountIdentificationIban: $ref: '#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationIban-422' validateBankAccountIdentificationUs: $ref: '#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationUs-422' schema: $ref: '#/components/schemas/RestServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/RestServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: AccountPayoutState: properties: allowPayout: description: Indicates whether payouts are allowed. This field is the overarching payout status, and is the aggregate of multiple conditions (e.g., KYC status, disabled flag, etc). If this field is false, no payouts will be permitted for any of the account holder's accounts. If this field is true, payouts will be permitted for any of the account holder's accounts. type: boolean disableReason: description: The reason why payouts (to all of the account holder's accounts) have been disabled (by the platform). If the `disabled` field is true, this field can be used to explain why. type: string disabled: description: Indicates whether payouts have been disabled (by the platform) for all of the account holder's accounts. A platform may enable and disable this field at their discretion. If this field is true, `allowPayout` will be false and no payouts will be permitted for any of the account holder's accounts. If this field is false, `allowPayout` may or may not be enabled, depending on other factors. type: boolean notAllowedReason: x-addedInVersion: '5' description: The reason why payouts (to all of the account holder's accounts) have been disabled (by Adyen). If payouts have been disabled by Adyen, this field will explain why. If this field is blank, payouts have not been disabled by Adyen. type: string payoutLimit: description: The maximum amount that payouts are limited to. Only applies if payouts are allowed but limited. $ref: '#/components/schemas/Amount' tierNumber: x-addedInVersion: '3' description: The payout tier that the account holder occupies. format: int32 type: integer type: object SweepCounterparty: properties: balanceAccountId: description: "The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).\n\n You can only use this for periodic sweep schedules such as `schedule.type` **daily** or **monthly**." type: string merchantAccount: description: 'The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and `schedule.type` **balance**, and if you are processing payments with Adyen.' type: string transferInstrumentId: description: 'The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To [set up automated top-up sweeps to balance accounts](https://docs.adyen.com/marketplaces-and-platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.' type: string type: object BRLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The bank account number, without separators or whitespace. maxLength: 10 minLength: 1 type: string bankCode: description: The 3-digit bank code, with leading zeros. maxLength: 3 minLength: 3 type: string branchNumber: description: The bank account branch number, without separators or whitespace. maxLength: 4 minLength: 1 type: string type: default: brLocal description: '**brLocal**' enum: - brLocal type: string required: - type - branchNumber - accountNumber - bankCode type: object PaymentInstrument: properties: balanceAccountId: description: The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument. type: string bankAccount: description: Contains the business account details. Returned when you create a payment instrument with `type` **bankAccount**. oneOf: - $ref: '#/components/schemas/IbanAccountIdentification' - $ref: '#/components/schemas/USLocalAccountIdentification' card: description: Contains information about the card payment instrument. Returned when you create a payment instrument with `type` **card**. $ref: '#/components/schemas/Card' description: description: Your description for the payment instrument, maximum 300 characters. maxLength: 300 type: string id: description: The unique identifier of the payment instrument. type: string issuingCountryCode: description: The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**. type: string paymentInstrumentGroupId: description: The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/paymentInstrumentGroups__resParam_id) to which the payment instrument belongs. type: string reference: description: Your reference for the payment instrument, maximum 150 characters. maxLength: 150 type: string status: description: "The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**.\n\nPossible values: \n\n * **active**: The payment instrument is active and can be used to make payments. \n\n * **inactive**: The payment instrument is inactive and cannot be used to make payments. \n\n * **suspended**: The payment instrument is suspended, either because it was stolen or lost. \n\n * **closed**: The payment instrument is permanently closed. This action cannot be undone. \n\n" enum: - active - closed - inactive - suspended type: string statusReason: x-addedInVersion: '2' description: 'The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change.' enum: - accountClosure - damaged - endOfLife - expired - lost - other - stolen - suspectedFraud - transactionRule type: string type: description: 'Type of payment instrument. Possible value: **card**, **bankAccount**. ' enum: - bankAccount - card type: string required: - balanceAccountId - issuingCountryCode - type - id type: object DeliveryContact: properties: address: description: The address of the contact. $ref: '#/components/schemas/DeliveryAddress' email: description: The email address of the contact. type: string fullPhoneNumber: description: 'The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"' type: string name: description: The name of the contact. $ref: '#/components/schemas/Name' phoneNumber: description: The phone number of the contact. $ref: '#/components/schemas/PhoneNumber' webAddress: description: The URL of the contact's website. type: string required: - name - address type: object AccountHolderInfo: properties: balancePlatform: description: The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. type: string capabilities: additionalProperties: $ref: '#/components/schemas/AccountHolderCapability' description: Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. type: object contactDetails: deprecated: true description: Contact details of the account holder. $ref: '#/components/schemas/ContactDetails' description: description: Your description for the account holder, maximum 300 characters. maxLength: 300 type: string legalEntityId: description: The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object migratedAccountHolderCode: description: The unique identifier of the migrated account holder in the classic integration. readOnly: true type: string reference: description: Your reference for the account holder, maximum 150 characters. maxLength: 150 type: string timeZone: description: 'The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string required: - legalEntityId type: object BalanceAccount: properties: accountHolderId: description: The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. type: string balances: description: List of balances with the amount and currency. items: $ref: '#/components/schemas/Balance' type: array defaultCurrencyCode: description: 'The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.' type: string description: description: A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. maxLength: 300 type: string id: description: The unique identifier of the balance account. type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object migratedAccountCode: description: The unique identifier of the account of the migrated account holder in the classic integration. readOnly: true type: string platformPaymentConfiguration: description: Contains key-value pairs to the configure the settlement model in a balance account. $ref: '#/components/schemas/PlatformPaymentConfiguration' reference: description: Your reference for the balance account, maximum 150 characters. maxLength: 150 type: string status: description: "The status of the balance account, set to **active** by default. \n" enum: - active - closed - inactive - suspended type: string timeZone: description: 'The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string required: - accountHolderId - id type: object CardConfiguration: properties: activation: description: Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions. type: string activationUrl: description: "Your app's URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. \n\nMaximum length: 255 characters." maxLength: 255 type: string bulkAddress: description: Overrides the shipment bulk address defined in the `configurationProfileId`. $ref: '#/components/schemas/BulkAddress' cardImageId: description: The ID of the card image. This is the image that will be printed on the full front of the card. type: string carrier: description: Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached. type: string carrierImageId: description: The ID of the carrier image. This is the image that will printed on the letter to which the card is attached. type: string configurationProfileId: description: 'The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.' type: string currency: description: The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. type: string envelope: description: 'Overrides the envelope design ID defined in the `configurationProfileId`. ' type: string insert: description: Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card. type: string language: description: The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code of the card. For example, **en**. type: string logoImageId: description: The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner. type: string pinMailer: description: Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed. type: string shipmentMethod: description: Overrides the logistics company defined in the `configurationProfileId`. type: string required: - configurationProfileId type: object PaginatedPaymentInstrumentsResponse: properties: hasNext: description: Indicates whether there are more items on the next page. type: boolean hasPrevious: description: Indicates whether there are more items on the previous page. type: boolean paymentInstruments: description: List of payment instruments associated with the balance account. items: $ref: '#/components/schemas/PaymentInstrument' type: array required: - paymentInstruments - hasPrevious - hasNext type: object AULocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The bank account number, without separators or whitespace. maxLength: 9 minLength: 5 type: string bsbCode: description: The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. maxLength: 6 minLength: 6 type: string type: default: auLocal description: '**auLocal**' enum: - auLocal type: string required: - type - accountNumber - bsbCode type: object Address: properties: city: description: 'The name of the city. Maximum length: 3000 characters.' maxLength: 3000 type: string country: description: 'The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don''t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.' type: string houseNumberOrName: description: 'The number or name of the house. Maximum length: 3000 characters.' maxLength: 3000 type: string postalCode: description: A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries. type: string stateOrProvince: description: 'The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.' type: string street: description: 'The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.' maxLength: 3000 type: string required: - street - houseNumberOrName - city - postalCode - country type: object CreateSweepConfigurationV2: properties: category: x-addedInVersion: '2' description: "The type of transfer that results from the sweep.\n\nPossible values:\n\n - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).\n\n- **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform.\n\nRequired when setting `priorities`." enum: - bank - internal - platformPayment type: string counterparty: description: 'The destination or the source of the funds, depending on the sweep `type`. Either a `balanceAccountId`, `transferInstrumentId`, or `merchantAccount` is required.' $ref: '#/components/schemas/SweepCounterparty' currency: description: 'The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances).' type: string description: description: 'The message that will be used in the sweep transfer''s description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters.' type: string priorities: x-addedInVersion: '2' description: 'The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that''s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).' items: enum: - crossBorder - fast - instant - internal - regular - wire type: string type: array reason: description: The reason for disabling the sweep. enum: - amountLimitExceeded - approved - balanceAccountTemporarilyBlockedByTransactionRule - counterpartyAccountBlocked - counterpartyAccountClosed - counterpartyAccountNotFound - counterpartyAddressRequired - counterpartyBankTimedOut - counterpartyBankUnavailable - declinedByTransactionRule - error - notEnoughBalance - refusedByCounterpartyBank - routeNotFound - scaFailed - unknown readOnly: true type: string schedule: description: The schedule when the `triggerAmount` is evaluated. If the balance meets the threshold, funds are pushed out of or pulled in to the balance account. $ref: '#/components/schemas/SweepSchedule' status: description: "The status of the sweep. If not provided, by default, this is set to **active**.\n\nPossible values: \n\n * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. \n\n * **inactive**: the sweep is disabled and cannot be triggered. \n\n" enum: - active - inactive type: string sweepAmount: description: The amount that must be pushed out or pulled in. You can configure either `sweepAmount` or `targetAmount`, not both. $ref: '#/components/schemas/Amount' targetAmount: description: The amount that must be available in the balance account after the sweep. You can configure either `sweepAmount` or `targetAmount`, not both. $ref: '#/components/schemas/Amount' triggerAmount: description: 'The threshold amount that triggers the sweep. If not provided, by default, the amount is set to zero. The `triggerAmount` is evaluated according to the specified `schedule.type`. * For `type` **pull**, if the balance is less than or equal to the `triggerAmount`, funds are pulled in to the balance account. * For `type` **push**, if the balance is more than or equal to the `triggerAmount`, funds are pushed out of the balance account.' $ref: '#/components/schemas/Amount' type: default: push description: "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**.\n\nPossible values:\n\n * **push**: _push out funds_ to a destination balance account or transfer instrument.\n\n * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account." enum: - pull - push type: string required: - schedule - currency - counterparty type: object PlatformPaymentConfiguration: properties: salesDayClosingTime: description: 'Specifies at what time a [sales day](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/sales-day-settlement#sales-day) ends. Possible values: Time in **"HH:MM"** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **"00:00"**.' format: time type: string settlementDelayDays: description: 'Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/sales-day-settlement#settlement-batch) are made available. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables [Sales day settlement](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables [Pass-through settlement](https://docs.adyen.com/marketplaces-and-platforms/settle-funds/pass-through-settlement). Default value: **null**.' format: int32 type: integer type: object PLLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 26-digit bank account number ([Numer rachunku](https://pl.wikipedia.org/wiki/Numer_Rachunku_Bankowego)), without separators or whitespace. maxLength: 26 minLength: 26 type: string type: default: plLocal description: '**plLocal**' enum: - plLocal type: string required: - type - accountNumber type: object SuspendAccountHolderRequest: properties: accountHolderCode: description: The code of the account holder to be suspended. type: string required: - accountHolderCode type: object Card: properties: authentication: description: Contains the card user's password and mobile phone number. This is required when you issue cards that can be used to make online payments within the EEA and the UK, or can be added to digital wallets. Refer to [3D Secure and digital wallets](https://docs.adyen.com/issuing/3d-secure-and-wallets) for more information. $ref: '#/components/schemas/Authentication' bin: description: The bank identification number (BIN) of the card number. type: string brand: description: 'The brand of the physical or the virtual card. Possible values: **visa**, **mc**.' type: string brandVariant: description: 'The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**. >Reach out to your Adyen contact to get the values relevant for your integration.' type: string cardholderName: description: "The name of the cardholder.\n Maximum length: 26 characters." maxLength: 26 type: string configuration: description: "Settings required when creating a physical or a virtual card. \n\nReach out to your Adyen contact to get the values that you can send in this object." $ref: '#/components/schemas/CardConfiguration' cvc: description: 'The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards.' type: string deliveryContact: x-addedInVersion: '2' description: The delivery contact (name and address) for physical card delivery. $ref: '#/components/schemas/DeliveryContact' expiration: description: The expiration date of the card. $ref: '#/components/schemas/Expiry' formFactor: description: 'The form factor of the card. Possible values: **virtual**, **physical**.' enum: - physical - unknown - virtual type: string lastFour: description: Last last four digits of the card number. type: string number: description: 'The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards.' readOnly: true type: string threeDSecure: description: 'Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.' type: string required: - formFactor - cardholderName - brand - brandVariant - number type: object USLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The bank account number, without separators or whitespace. maxLength: 18 minLength: 2 type: string accountType: default: checking description: 'The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.' enum: - checking - savings type: string routingNumber: description: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. maxLength: 9 minLength: 9 type: string type: default: usLocal description: '**usLocal**' enum: - usLocal type: string required: - type - accountNumber - routingNumber type: object CloseAccountHolderResponse: properties: accountHolderStatus: description: The new status of the Account Holder. $ref: '#/components/schemas/AccountHolderStatus' invalidFields: x-addedInVersion: '5' description: Contains field validation errors that would prevent requests from being processed. items: $ref: '#/components/schemas/ErrorFieldType' type: array pspReference: description: The reference of a request. Can be used to uniquely identify the request. type: string resultCode: description: The result code. type: string type: object AccountHolderStatus: properties: events: description: A list of events scheduled for the account holder. items: $ref: '#/components/schemas/AccountEvent' type: array payoutState: description: The payout state of the account holder. $ref: '#/components/schemas/AccountPayoutState' processingState: description: The processing state of the account holder. $ref: '#/components/schemas/AccountProcessingState' status: description: 'The status of the account holder. >Permitted values: `Active`, `Inactive`, `Suspended`, `Closed`.' enum: - Active - Closed - Inactive - Suspended type: string statusReason: description: The reason why the status was assigned to the account holder. type: string required: - status type: object UnSuspendAccountHolderResponse: properties: accountHolderStatus: description: The new status of the Account Holder. $ref: '#/components/schemas/AccountHolderStatus' invalidFields: x-addedInVersion: '5' description: Contains field validation errors that would prevent requests from being processed. items: $ref: '#/components/schemas/ErrorFieldType' type: array pspReference: description: The reference of a request. Can be used to uniquely identify the request. type: string resultCode: description: The result code. type: string type: object SELocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace. maxLength: 10 minLength: 7 type: string clearingNumber: description: The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. maxLength: 5 minLength: 4 type: string type: default: seLocal description: '**seLocal**' enum: - seLocal type: string required: - type - accountNumber - clearingNumber type: object BalanceAccountUpdateRequest: properties: accountHolderId: description: The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. type: string description: description: A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. maxLength: 300 type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object platformPaymentConfiguration: description: Contains key-value pairs to the configure the settlement model in a balance account. $ref: '#/components/schemas/PlatformPaymentConfiguration' reference: description: Your reference to the balance account, maximum 150 characters. maxLength: 150 type: string status: description: 'The status of the balance account. Payment instruments linked to the balance account can only be used if the balance account status is **active**. Possible values: **active**, **inactive**, **closed**, **suspended**.' enum: - active - closed - inactive - suspended type: string timeZone: description: 'The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string type: object VerificationError: properties: capabilities: description: Contains the capabilities that the verification error applies to. items: enum: - acceptExternalFunding - acceptPspFunding - acceptTransactionInRestrictedCountries - acceptTransactionInRestrictedCountriesCommercial - acceptTransactionInRestrictedCountriesConsumer - acceptTransactionInRestrictedIndustries - acceptTransactionInRestrictedIndustriesCommercial - acceptTransactionInRestrictedIndustriesConsumer - acquiring - atmWithdrawal - atmWithdrawalCommercial - atmWithdrawalConsumer - atmWithdrawalInRestrictedCountries - atmWithdrawalInRestrictedCountriesCommercial - atmWithdrawalInRestrictedCountriesConsumer - authorisedPaymentInstrumentUser - getGrantOffers - issueBankAccount - issueCard - issueCardCommercial - issueCardConsumer - localAcceptance - payout - payoutToTransferInstrument - processing - receiveFromBalanceAccount - receiveFromPlatformPayments - receiveFromThirdParty - receiveFromTransferInstrument - receiveGrants - receivePayments - sendToBalanceAccount - sendToThirdParty - sendToTransferInstrument - thirdPartyFunding - useCard - useCardCommercial - useCardConsumer - useCardInRestrictedCountries - useCardInRestrictedCountriesCommercial - useCardInRestrictedCountriesConsumer - useCardInRestrictedIndustries - useCardInRestrictedIndustriesCommercial - useCardInRestrictedIndustriesConsumer - withdrawFromAtm - withdrawFromAtmCommercial - withdrawFromAtmConsumer - withdrawFromAtmInRestrictedCountries - withdrawFromAtmInRestrictedCountriesCommercial - withdrawFromAtmInRestrictedCountriesConsumer type: string type: array code: description: The verification error code. type: string message: description: A description of the error. type: string remediatingActions: description: Contains the actions that you can take to resolve the verification error. items: $ref: '#/components/schemas/RemediatingAction' type: array subErrors: description: Contains more granular information about the verification error. items: $ref: '#/components/schemas/VerificationError-recursive' type: array type: description: "The type of error.\n\n Possible values: **invalidInput**, **dataMissing**." enum: - dataMissing - invalidInput - pendingStatus type: string type: object CapitalGrantAccount: properties: balances: description: The balances of the grant account. items: $ref: '#/components/schemas/CapitalBalance' type: array fundingBalanceAccountId: description: The unique identifier of the balance account used to fund the grant. type: string id: description: The identifier of the grant account. type: string limits: description: The limits of the grant account. items: $ref: '#/components/schemas/GrantLimit' type: array type: object Expiry: properties: month: description: The month in which the card will expire. type: string year: description: The year in which the card will expire. type: string type: object BulkAddress: properties: city: description: The name of the city. type: string company: description: The name of the company. type: string country: description: The two-character ISO-3166-1 alpha-2 country code. For example, **US**. type: string email: description: The email address. type: string houseNumberOrName: description: The house number or name. type: string mobile: description: The full telephone number. type: string postalCode: description: 'The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all other countries.' type: string stateOrProvince: description: 'The two-letter ISO 3166-2 state or province code. Maximum length: 2 characters for addresses in the US.' type: string street: description: The streetname of the house. type: string required: - country type: object AccountHolder: properties: balancePlatform: description: The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. type: string capabilities: additionalProperties: $ref: '#/components/schemas/AccountHolderCapability' description: Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. type: object contactDetails: deprecated: true description: Contact details of the account holder. $ref: '#/components/schemas/ContactDetails' description: description: Your description for the account holder, maximum 300 characters. maxLength: 300 type: string id: description: The unique identifier of the account holder. readOnly: true type: string legalEntityId: description: The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object migratedAccountHolderCode: description: The unique identifier of the migrated account holder in the classic integration. readOnly: true type: string primaryBalanceAccount: description: The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. type: string reference: description: Your reference for the account holder, maximum 150 characters. maxLength: 150 type: string status: description: "The status of the account holder.\n\nPossible values: \n\n * **active**: The account holder is active. This is the default status when creating an account holder. \n\n * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. \n\n * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. \n\n* **closed**: The account holder is permanently deactivated by you. This action cannot be undone." enum: - active - closed - inactive - suspended type: string timeZone: description: 'The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string verificationDeadlines: description: List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. items: $ref: '#/components/schemas/VerificationDeadline' readOnly: true type: array required: - legalEntityId - id type: object GenericResponse: properties: invalidFields: x-addedInVersion: '5' description: Contains field validation errors that would prevent requests from being processed. items: $ref: '#/components/schemas/ErrorFieldType' type: array pspReference: description: The reference of a request. Can be used to uniquely identify the request. type: string resultCode: description: The result code. type: string type: object PerformVerificationRequest: properties: accountHolderCode: description: The code of the account holder to verify. type: string accountStateType: description: 'The state required for the account holder. > Permitted values: `Processing`, `Payout`.' enum: - LimitedPayout - LimitedProcessing - LimitlessPayout - LimitlessProcessing - Payout - Processing type: string tier: description: The tier required for the account holder. format: int32 type: integer required: - accountHolderCode - accountStateType - tier type: object CapabilitySettings: properties: amountPerIndustry: additionalProperties: $ref: '#/components/schemas/Amount' description: '' type: object authorizedCardUsers: description: '' type: boolean fundingSource: description: '' items: enum: - credit - debit - prepaid type: string type: array interval: description: '' enum: - daily - monthly - weekly type: string maxAmount: description: '' $ref: '#/components/schemas/Amount' type: object ContactDetails: properties: address: description: The address of the account holder. $ref: '#/components/schemas/Address' email: description: The email address of the account holder. type: string phone: description: The phone number of the account holder. $ref: '#/components/schemas/Phone' webAddress: description: The URL of the account holder's website. type: string required: - email - phone - address type: object RestServiceError: properties: detail: description: A human-readable explanation specific to this occurrence of the problem. type: string errorCode: description: A code that identifies the problem type. type: string instance: description: A unique URI that identifies the specific occurrence of the problem. type: string invalidFields: description: Detailed explanation of each validation error, when applicable. items: $ref: '#/components/schemas/InvalidField' type: array requestId: description: A unique reference for the request, essentially the same as `pspReference`. type: string response: description: JSON response payload. $ref: '#/components/schemas/JSONObject' status: description: The HTTP status code. format: int32 type: integer title: description: A short, human-readable summary of the problem type. type: string type: description: A URI that identifies the problem type, pointing to human-readable documentation on this problem type. type: string required: - type - errorCode - title - detail - status type: object IbanAccountIdentification: additionalProperties: false properties: iban: description: The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. type: string type: default: iban description: '**iban**' enum: - iban type: string required: - type - iban type: object SweepConfigurationV2: properties: category: x-addedInVersion: '2' description: "The type of transfer that results from the sweep.\n\nPossible values:\n\n - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).\n\n- **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform.\n\nRequired when setting `priorities`." enum: - bank - internal - platformPayment type: string counterparty: description: 'The destination or the source of the funds, depending on the sweep `type`. Either a `balanceAccountId`, `transferInstrumentId`, or `merchantAccount` is required.' $ref: '#/components/schemas/SweepCounterparty' currency: description: 'The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances).' type: string description: description: 'The message that will be used in the sweep transfer''s description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters.' type: string id: description: The unique identifier of the sweep. readOnly: true type: string priorities: x-addedInVersion: '2' description: 'The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that''s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).' items: enum: - crossBorder - fast - instant - internal - regular - wire type: string type: array reason: description: The reason for disabling the sweep. enum: - amountLimitExceeded - approved - balanceAccountTemporarilyBlockedByTransactionRule - counterpartyAccountBlocked - counterpartyAccountClosed - counterpartyAccountNotFound - counterpartyAddressRequired - counterpartyBankTimedOut - counterpartyBankUnavailable - declinedByTransactionRule - error - notEnoughBalance - refusedByCounterpartyBank - routeNotFound - scaFailed - unknown readOnly: true type: string schedule: description: The schedule when the `triggerAmount` is evaluated. If the balance meets the threshold, funds are pushed out of or pulled in to the balance account. $ref: '#/components/schemas/SweepSchedule' status: description: "The status of the sweep. If not provided, by default, this is set to **active**.\n\nPossible values: \n\n * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. \n\n * **inactive**: the sweep is disabled and cannot be triggered. \n\n" enum: - active - inactive type: string sweepAmount: description: The amount that must be pushed out or pulled in. You can configure either `sweepAmount` or `targetAmount`, not both. $ref: '#/components/schemas/Amount' targetAmount: description: The amount that must be available in the balance account after the sweep. You can configure either `sweepAmount` or `targetAmount`, not both. $ref: '#/components/schemas/Amount' triggerAmount: description: 'The threshold amount that triggers the sweep. If not provided, by default, the amount is set to zero. The `triggerAmount` is evaluated according to the specified `schedule.type`. * For `type` **pull**, if the balance is less than or equal to the `triggerAmount`, funds are pulled in to the balance account. * For `type` **push**, if the balance is more than or equal to the `triggerAmount`, funds are pushed out of the balance account.' $ref: '#/components/schemas/Amount' type: default: push description: "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**.\n\nPossible values:\n\n * **push**: _push out funds_ to a destination balance account or transfer instrument.\n\n * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account." enum: - pull - push type: string required: - id - schedule - currency - counterparty type: object Authentication: properties: email: description: The email address where the one-time password (OTP) is sent. type: string password: description: 'The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **+-*/%()=?!#''",;:$&**' maxLength: 30 minLength: 1 type: string phone: description: 'The phone number where the one-time password (OTP) is sent. This object must have: * A `type` set to **mobile**. * A `number` with a valid country code. * A `number` with more than 4 digits, excluding the country code. >Make sure to verify that the card user owns the phone number.' $ref: '#/components/schemas/Phone' type: object UpdateSweepConfigurationV2: properties: category: x-addedInVersion: '2' description: "The type of transfer that results from the sweep.\n\nPossible values:\n\n - **bank**: Sweep to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).\n\n- **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform.\n\nRequired when setting `priorities`." enum: - bank - internal - platformPayment type: string counterparty: description: 'The destination or the source of the funds, depending on the sweep `type`. Either a `balanceAccountId`, `transferInstrumentId`, or `merchantAccount` is required.' $ref: '#/components/schemas/SweepCounterparty' currency: description: 'The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**. The sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances).' type: string description: description: 'The message that will be used in the sweep transfer''s description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters.' type: string id: description: The unique identifier of the sweep. readOnly: true type: string priorities: x-addedInVersion: '2' description: 'The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that''s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).' items: enum: - crossBorder - fast - instant - internal - regular - wire type: string type: array reason: description: The reason for disabling the sweep. enum: - amountLimitExceeded - approved - balanceAccountTemporarilyBlockedByTransactionRule - counterpartyAccountBlocked - counterpartyAccountClosed - counterpartyAccountNotFound - counterpartyAddressRequired - counterpartyBankTimedOut - counterpartyBankUnavailable - declinedByTransactionRule - error - notEnoughBalance - refusedByCounterpartyBank - routeNotFound - scaFailed - unknown readOnly: true type: string schedule: description: The schedule when the `triggerAmount` is evaluated. If the balance meets the threshold, funds are pushed out of or pulled in to the balance account. $ref: '#/components/schemas/SweepSchedule' status: description: "The status of the sweep. If not provided, by default, this is set to **active**.\n\nPossible values: \n\n * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. \n\n * **inactive**: the sweep is disabled and cannot be triggered. \n\n" enum: - active - inactive type: string sweepAmount: description: The amount that must be pushed out or pulled in. You can configure either `sweepAmount` or `targetAmount`, not both. $ref: '#/components/schemas/Amount' targetAmount: description: The amount that must be available in the balance account after the sweep. You can configure either `sweepAmount` or `targetAmount`, not both. $ref: '#/components/schemas/Amount' triggerAmount: description: 'The threshold amount that triggers the sweep. If not provided, by default, the amount is set to zero. The `triggerAmount` is evaluated according to the specified `schedule.type`. * For `type` **pull**, if the balance is less than or equal to the `triggerAmount`, funds are pulled in to the balance account. * For `type` **push**, if the balance is more than or equal to the `triggerAmount`, funds are pushed out of the balance account.' $ref: '#/components/schemas/Amount' type: default: push description: "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**.\n\nPossible values:\n\n * **push**: _push out funds_ to a destination balance account or transfer instrument.\n\n * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account." enum: - pull - push type: string type: object VerificationError-recursive: properties: capabilities: description: Contains the capabilities that the verification error applies to. items: enum: - acceptExternalFunding - acceptPspFunding - acceptTransactionInRestrictedCountries - acceptTransactionInRestrictedCountriesCommercial - acceptTransactionInRestrictedCountriesConsumer - acceptTransactionInRestrictedIndustries - acceptTransactionInRestrictedIndustriesCommercial - acceptTransactionInRestrictedIndustriesConsumer - acquiring - atmWithdrawal - atmWithdrawalCommercial - atmWithdrawalConsumer - atmWithdrawalInRestrictedCountries - atmWithdrawalInRestrictedCountriesCommercial - atmWithdrawalInRestrictedCountriesConsumer - authorisedPaymentInstrumentUser - getGrantOffers - issueBankAccount - issueCard - issueCardCommercial - issueCardConsumer - localAcceptance - payout - payoutToTransferInstrument - processing - receiveFromBalanceAccount - receiveFromPlatformPayments - receiveFromThirdParty - receiveFromTransferInstrument - receiveGrants - receivePayments - sendToBalanceAccount - sendToThirdParty - sendToTransferInstrument - thirdPartyFunding - useCard - useCardCommercial - useCardConsumer - useCardInRestrictedCountries - useCardInRestrictedCountriesCommercial - useCardInRestrictedCountriesConsumer - useCardInRestrictedIndustries - useCardInRestrictedIndustriesCommercial - useCardInRestrictedIndustriesConsumer - withdrawFromAtm - withdrawFromAtmCommercial - withdrawFromAtmConsumer - withdrawFromAtmInRestrictedCountries - withdrawFromAtmInRestrictedCountriesCommercial - withdrawFromAtmInRestrictedCountriesConsumer type: string type: array code: description: The verification error code. type: string message: description: A description of the error. type: string type: description: "The type of error.\n\n Possible values: **invalidInput**, **dataMissing**." enum: - dataMissing - invalidInput - pendingStatus type: string remediatingActions: description: Contains the actions that you can take to resolve the verification error. items: $ref: '#/components/schemas/RemediatingAction' type: array required: [] type: object PhoneNumber: properties: phoneCountryCode: description: 'The two-character ISO-3166-1 alpha-2 country code of the phone number. For example, **US** or **NL**.' type: string phoneNumber: description: 'The phone number. The inclusion of the phone number country code is not necessary.' type: string phoneType: description: 'The type of the phone number. Possible values: **Landline**, **Mobile**, **SIP**, **Fax**.' enum: - Fax - Landline - Mobile - SIP type: string type: object RemediatingAction: properties: code: description: The remediating action code. type: string message: description: A description of how you can resolve the verification error. type: string type: object UnSuspendAccountHolderRequest: properties: accountHolderCode: description: The code of the account holder to be reinstated. type: string required: - accountHolderCode type: object AccountEvent: properties: event: description: 'The event. >Permitted values: `InactivateAccount`, `RefundNotPaidOutTransfers`. For more information, refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process).' enum: - InactivateAccount - RefundNotPaidOutTransfers type: string executionDate: description: The date on which the event will take place. format: date-time type: string reason: description: The reason why this event has been created. type: string type: object CapabilityProblemEntity: properties: documents: description: List of document IDs to which the verification errors related to the capabilities correspond to. items: type: string type: array id: description: The ID of the entity. type: string owner: description: Contains details about the owner of the entity that has an error. $ref: '#/components/schemas/CapabilityProblemEntity-recursive' type: description: "Type of entity. \n\nPossible values: **LegalEntity**, **BankAccount**, **Document**." enum: - BankAccount - Document - LegalEntity type: string type: object HKLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code. maxLength: 15 minLength: 9 type: string clearingCode: description: The 3-digit clearing code, without separators or whitespace. maxLength: 3 minLength: 3 type: string type: default: hkLocal description: '**hkLocal**' enum: - hkLocal type: string required: - type - accountNumber - clearingCode type: object HULocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 24-digit bank account number, without separators or whitespace. maxLength: 24 minLength: 24 type: string type: default: huLocal description: '**huLocal**' enum: - huLocal type: string required: - type - accountNumber type: object InvalidField: properties: message: description: Description of the validation error. type: string name: description: The field that has an invalid value. type: string value: description: The invalid value. type: string required: - name - value - message type: object SuspendAccountHolderResponse: properties: accountHolderStatus: description: The new status of the Account Holder. $ref: '#/components/schemas/AccountHolderStatus' invalidFields: x-addedInVersion: '5' description: Contains field validation errors that would prevent requests from being processed. items: $ref: '#/components/schemas/ErrorFieldType' type: array pspReference: description: The reference of a request. Can be used to uniquely identify the request. type: string resultCode: description: The result code. type: string type: object GetTaxFormResponse: properties: content: description: The content of the tax form in Base64 format. format: byte type: string contentType: description: 'The content type of the tax form. Possible values: * **application/pdf** ' enum: - application/pdf type: string required: - content type: object VerificationDeadline: properties: capabilities: description: The names of the capabilities to be disallowed. items: enum: - acceptExternalFunding - acceptPspFunding - acceptTransactionInRestrictedCountries - acceptTransactionInRestrictedCountriesCommercial - acceptTransactionInRestrictedCountriesConsumer - acceptTransactionInRestrictedIndustries - acceptTransactionInRestrictedIndustriesCommercial - acceptTransactionInRestrictedIndustriesConsumer - acquiring - atmWithdrawal - atmWithdrawalCommercial - atmWithdrawalConsumer - atmWithdrawalInRestrictedCountries - atmWithdrawalInRestrictedCountriesCommercial - atmWithdrawalInRestrictedCountriesConsumer - authorisedPaymentInstrumentUser - getGrantOffers - issueBankAccount - issueCard - issueCardCommercial - issueCardConsumer - localAcceptance - payout - payoutToTransferInstrument - processing - receiveFromBalanceAccount - receiveFromPlatformPayments - receiveFromThirdParty - receiveFromTransferInstrument - receiveGrants - receivePayments - sendToBalanceAccount - sendToThirdParty - sendToTransferInstrument - thirdPartyFunding - useCard - useCardCommercial - useCardConsumer - useCardInRestrictedCountries - useCardInRestrictedCountriesCommercial - useCardInRestrictedCountriesConsumer - useCardInRestrictedIndustries - useCardInRestrictedIndustriesCommercial - useCardInRestrictedIndustriesConsumer - withdrawFromAtm - withdrawFromAtmCommercial - withdrawFromAtmConsumer - withdrawFromAtmInRestrictedCountries - withdrawFromAtmInRestrictedCountriesCommercial - withdrawFromAtmInRestrictedCountriesConsumer type: string readOnly: true type: array entityIds: description: The unique identifiers of the bank account(s) that the deadline applies to items: type: string readOnly: true type: array expiresAt: description: The date that verification is due by before capabilities are disallowed. format: date-time readOnly: true type: string required: - expiresAt - capabilities type: object JSONObject: type: object CZLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: 'The 2- to 16-digit bank account number (slo tu) in the following format: - The optional prefix (pedsl). - The required second part (zkladn st) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)' maxLength: 17 minLength: 2 type: string bankCode: description: The 4-digit bank code (Kd banky), without separators or whitespace. maxLength: 4 minLength: 4 type: string type: default: czLocal description: '**czLocal**' enum: - czLocal type: string required: - type - accountNumber - bankCode type: object ErrorFieldType: properties: errorCode: description: The validation error code. format: int32 type: integer errorDescription: description: A description of the validation error. type: string fieldType: description: The type of error field. $ref: '#/components/schemas/FieldType' type: object CapabilityProblemEntity-recursive: properties: documents: description: List of document IDs to which the verification errors related to the capabilities correspond to. items: type: string type: array id: description: The ID of the entity. type: string type: description: "Type of entity. \n\nPossible values: **LegalEntity**, **BankAccount**, **Document**." enum: - BankAccount - Document - LegalEntity type: string required: [] type: object SGLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 4- to 19-digit bank account number, without separators or whitespace. maxLength: 19 minLength: 4 type: string bic: description: The bank's 8- or 11-character BIC or SWIFT code. maxLength: 11 minLength: 8 type: string type: default: sgLocal description: '**sgLocal**' enum: - sgLocal type: string required: - accountNumber - bic type: object DeliveryAddress: properties: city: description: The name of the city. type: string country: description: 'The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don''t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.' type: string line1: description: The street name. For example, if the address is "Rokin 49", provide "Rokin". type: string line2: description: The house number or name. For example, if the address is "Rokin 49", provide "49". type: string line3: description: Optional information about the address. type: string postalCode: description: 'The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries.' type: string stateOrProvince: description: 'The two-letterISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.' type: string required: - country type: object CloseAccountResponse: properties: accountCode: x-addedInVersion: '5' description: The account code of the account that is closed. type: string invalidFields: x-addedInVersion: '5' description: Contains field validation errors that would prevent requests from being processed. items: $ref: '#/components/schemas/ErrorFieldType' type: array pspReference: description: The reference of a request. Can be used to uniquely identify the request. type: string resultCode: description: The result code. type: string status: x-addedInVersion: '2' description: 'The new status of the account. >Permitted values: `Active`, `Inactive`, `Suspended`, `Closed`.' enum: - Active - Closed - Inactive - Suspended type: string type: object CloseAccountRequest: properties: accountCode: description: The code of account to be closed. type: string required: - accountCode type: object DeleteBankAccountRequest: properties: accountHolderCode: description: The code of the Account Holder from which to delete the Bank Account(s). type: string bankAccountUUIDs: description: The code(s) of the Bank Accounts to be deleted. items: type: string type: array required: - accountHolderCode - bankAccountUUIDs type: object SweepSchedule: properties: cronExpression: description: "A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. \nFor example, **30 17 * * MON** schedules a sweep every Monday at 17:30.\n\nThe expression must have five values separated by a single space in the following order:\n\n* Minute: **0-59**\n\n* Hour: **0-23**\n\n* Day of the month: **1-31**\n\n* Month: **1-12** or **JAN-DEC**\n\n* Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**.\n\nThe following non-standard characters are supported: *****, **L**, **#**, **W** and **/**. See [crontab guru](https://crontab.guru/) for more examples.\n\nRequired when `type` is **cron**.\n" type: string type: description: 'The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`. If the source is transferInstrument, merchant account identifier is still required, with which you want to process the transaction. ' enum: - daily - weekly - monthly - balance - cron type: string required: - type type: object ServiceError: properties: errorCode: description: The error code mapped to the error message. type: string errorType: description: The category of the error. type: string message: description: A short explanation of the issue. type: string pspReference: description: The PSP reference of the payment. type: string status: description: The HTTP response status. format: int32 type: integer type: object Name: properties: firstName: description: The first name. type: string lastName: description: The last name. type: string required: - firstName - lastName type: object BalanceAccountInfo: properties: accountHolderId: description: The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. type: string defaultCurrencyCode: description: 'The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.' type: string description: description: A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. maxLength: 300 type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object migratedAccountCode: description: The unique identifier of the account of the migrated account holder in the classic integration. readOnly: true type: string platformPaymentConfiguration: description: Contains key-value pairs to the configure the settlement model in a balance account. $ref: '#/components/schemas/PlatformPaymentConfiguration' reference: description: Your reference for the balance account, maximum 150 characters. maxLength: 150 type: string timeZone: description: 'The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string required: - accountHolderId type: object AccountHolderUpdateRequest: properties: balancePlatform: description: The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms. type: string capabilities: additionalProperties: $ref: '#/components/schemas/AccountHolderCapability' description: Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability. type: object contactDetails: deprecated: true description: Contact details of the account holder. $ref: '#/components/schemas/ContactDetails' description: description: Your description for the account holder, maximum 300 characters. maxLength: 300 type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object migratedAccountHolderCode: description: The unique identifier of the migrated account holder in the classic integration. readOnly: true type: string primaryBalanceAccount: description: The ID of the account holder's primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request. type: string reference: description: Your reference for the account holder, maximum 150 characters. maxLength: 150 type: string status: description: "The status of the account holder.\n\nPossible values: \n\n * **active**: The account holder is active. This is the default status when creating an account holder. \n\n * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. \n\n * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. \n\n* **closed**: The account holder is permanently deactivated by you. This action cannot be undone." enum: - active - closed - inactive - suspended type: string timeZone: description: 'The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string verificationDeadlines: description: List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved. items: $ref: '#/components/schemas/VerificationDeadline' readOnly: true type: array type: object FieldType: properties: field: description: The full name of the property. type: string fieldName: description: The type of the field. enum: - accountCode - accountHolderCode - accountHolderDetails - accountNumber - accountStateType - accountStatus - accountType - address - balanceAccount - balanceAccountActive - balanceAccountCode - balanceAccountId - bankAccount - bankAccountCode - bankAccountName - bankAccountUUID - bankBicSwift - bankCity - bankCode - bankName - bankStatement - branchCode - businessContact - cardToken - checkCode - city - companyRegistration - constitutionalDocument - controller - country - countryCode - currency - currencyCode - dateOfBirth - description - destinationAccountCode - document - documentContent - documentExpirationDate - documentIssuerCountry - documentIssuerState - documentName - documentNumber - documentType - doingBusinessAs - drivingLicence - drivingLicenceBack - drivingLicenceFront - drivingLicense - email - firstName - formType - fullPhoneNumber - gender - hopWebserviceUser - houseNumberOrName - iban - idCard - idCardBack - idCardFront - idNumber - identityDocument - individualDetails - infix - jobTitle - lastName - lastReviewDate - legalArrangement - legalArrangementCode - legalArrangementEntity - legalArrangementEntityCode - legalArrangementLegalForm - legalArrangementMember - legalArrangementMembers - legalArrangementName - legalArrangementReference - legalArrangementRegistrationNumber - legalArrangementTaxNumber - legalArrangementType - legalBusinessName - legalEntity - legalEntityType - logo - merchantAccount - merchantCategoryCode - merchantHouseNumber - merchantReference - microDeposit - name - nationality - originalReference - ownerCity - ownerCountryCode - ownerDateOfBirth - ownerHouseNumberOrName - ownerName - ownerPostalCode - ownerState - ownerStreet - passport - passportNumber - payoutMethod - payoutMethodCode - payoutSchedule - pciSelfAssessment - personalData - phoneCountryCode - phoneNumber - postalCode - primaryCurrency - reason - registrationNumber - returnUrl - schedule - shareholder - shareholderCode - shareholderCodeAndSignatoryCode - shareholderCodeOrSignatoryCode - shareholderType - shareholderTypes - shopperInteraction - signatory - signatoryCode - socialSecurityNumber - sourceAccountCode - splitAccount - splitConfigurationUUID - splitCurrency - splitValue - splits - stateOrProvince - status - stockExchange - stockNumber - stockTicker - store - storeDetail - storeName - storeReference - street - taxId - tier - tierNumber - transferCode - ultimateParentCompany - ultimateParentCompanyAddressDetails - ultimateParentCompanyAddressDetailsCountry - ultimateParentCompanyBusinessDetails - ultimateParentCompanyBusinessDetailsLegalBusinessName - ultimateParentCompanyBusinessDetailsRegistrationNumber - ultimateParentCompanyCode - ultimateParentCompanyStockExchange - ultimateParentCompanyStockNumber - ultimateParentCompanyStockNumberOrStockTicker - ultimateParentCompanyStockTicker - unknown - value - verificationType - virtualAccount - visaNumber - webAddress - year type: string shareholderCode: description: The code of the shareholder that the field belongs to. If empty, the field belongs to an account holder. type: string type: object UKLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 8-digit bank account number, without separators or whitespace. maxLength: 8 minLength: 8 type: string sortCode: description: The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. maxLength: 6 minLength: 6 type: string type: default: ukLocal description: '**ukLocal**' enum: - ukLocal type: string required: - type - accountNumber - sortCode type: object Amount: properties: currency: description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). maxLength: 3 minLength: 3 type: string value: description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). format: int64 type: integer required: - value - currency type: object CapabilityProblem: properties: entity: description: Contains the type of the entity and the corresponding ID. $ref: '#/components/schemas/CapabilityProblemEntity' verificationErrors: description: Contains information about the verification error. items: $ref: '#/components/schemas/VerificationError' type: array type: object Balance: properties: available: description: The remaining amount available for spending. format: int64 type: integer balance: description: The total amount in the balance. format: int64 type: integer currency: description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. type: string pending: description: The amount pending to be paid out but not yet available in the balance. format: int64 type: integer reserved: description: The amount reserved for payments that have been authorised, but have not been captured yet. format: int64 type: integer required: - currency - balance - reserved - available type: object AccountSupportingEntityCapability: properties: allowed: description: Indicates whether the supporting entity capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. readOnly: true type: boolean allowedLevel: description: 'The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.' enum: - high - low - medium - notApplicable readOnly: true type: string enabled: description: Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. type: boolean id: description: The ID of the supporting entity. readOnly: true type: string requested: description: Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. type: boolean requestedLevel: description: 'The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.' enum: - high - low - medium - notApplicable type: string verificationStatus: description: 'The status of the verification checks for the supporting entity capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ' enum: - invalid - pending - rejected - valid readOnly: true type: string type: object CALocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 5- to 12-digit bank account number, without separators or whitespace. maxLength: 12 minLength: 5 type: string accountType: default: checking description: 'The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.' enum: - checking - savings type: string institutionNumber: description: The 3-digit institution number, without separators or whitespace. maxLength: 3 minLength: 3 type: string transitNumber: description: The 5-digit transit number, without separators or whitespace. maxLength: 5 minLength: 5 type: string type: default: caLocal description: '**caLocal**' enum: - caLocal type: string required: - type - accountNumber - institutionNumber - transitNumber type: object NOLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 11-digit bank account number, without separators or whitespace. maxLength: 11 minLength: 11 type: string type: default: noLocal description: '**noLocal**' enum: - noLocal type: string required: - type - accountNumber type: object Phone: properties: number: description: "The full phone number provided as a single string. \nFor example, **\"0031 6 11 22 33 44\"**, **\"+316/1122-3344\"**, \n\n or **\"(0031) 611223344\"**." type: string type: description: "Type of phone number.\nPossible values: \n**Landline**, **Mobile**.\n" enum: - landline - mobile type: string required: - number - type type: object BalanceSweepConfigurationsResponse: properties: hasNext: description: Indicates whether there are more items on the next page. type: boolean hasPrevious: description: Indicates whether there are more items on the previous page. type: boolean sweeps: description: List of sweeps associated with the balance account. items: $ref: '#/components/schemas/SweepConfigurationV2' type: array required: - sweeps - hasPrevious - hasNext type: object PaginatedBalanceAccountsResponse: properties: balanceAccounts: description: List of balance accounts. items: $ref: '#/components/schemas/BalanceAccountBase' type: array hasNext: description: Indicates whether there are more items on the next page. type: boolean hasPrevious: description: Indicates whether there are more items on the previous page. type: boolean required: - balanceAccounts - hasPrevious - hasNext type: object NZLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix. maxLength: 16 minLength: 15 type: string type: default: nzLocal description: '**nzLocal**' enum: - nzLocal type: string required: - type - accountNumber type: object AdditionalBankIdentification: properties: code: description: The value of the additional bank identification. type: string type: description: "The type of additional bank identification, depending on the country.\n\nPossible values:\n\n * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces\n * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces." enum: - gbSortCode - usRoutingNumber type: string type: object CapitalBalance: properties: currency: description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). type: string fee: description: Fee amount. format: int64 type: integer principal: description: Principal amount. format: int64 type: integer total: description: Total amount. A sum of principal amount and fee amount. format: int64 type: integer required: - principal - fee - total - currency type: object BankAccountIdentificationValidationRequest: properties: accountIdentification: description: Bank account identification. oneOf: - $ref: '#/components/schemas/AULocalAccountIdentification' - $ref: '#/components/schemas/BRLocalAccountIdentification' - $ref: '#/components/schemas/CALocalAccountIdentification' - $ref: '#/components/schemas/CZLocalAccountIdentification' - $ref: '#/components/schemas/DKLocalAccountIdentification' - $ref: '#/components/schemas/HKLocalAccountIdentification' - $ref: '#/components/schemas/HULocalAccountIdentification' - $ref: '#/components/schemas/IbanAccountIdentification' - $ref: '#/components/schemas/NOLocalAccountIdentification' - $ref: '#/components/schemas/NZLocalAccountIdentification' - $ref: '#/components/schemas/NumberAndBicAccountIdentification' - $ref: '#/components/schemas/PLLocalAccountIdentification' - $ref: '#/components/schemas/SELocalAccountIdentification' - $ref: '#/components/schemas/SGLocalAccountIdentification' - $ref: '#/components/schemas/UKLocalAccountIdentification' - $ref: '#/components/schemas/USLocalAccountIdentification' required: - accountIdentification type: object AccountHolderCapability: properties: allowed: description: Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability. readOnly: true type: boolean allowedLevel: description: 'The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.' enum: - high - low - medium - notApplicable readOnly: true type: string allowedSettings: description: A JSON object containing the settings that are allowed for the account holder. readOnly: true $ref: '#/components/schemas/CapabilitySettings' enabled: description: Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder. type: boolean problems: description: Contains verification errors and the actions that you can take to resolve them. items: $ref: '#/components/schemas/CapabilityProblem' readOnly: true type: array requested: description: Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. type: boolean requestedLevel: description: 'The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.' enum: - high - low - medium - notApplicable type: string requestedSettings: description: A JSON object containing the settings that were requested for the account holder. readOnly: true $ref: '#/components/schemas/CapabilitySettings' transferInstruments: description: 'Contains the status of the transfer instruments associated with this capability. ' items: $ref: '#/components/schemas/AccountSupportingEntityCapability' readOnly: true type: array verificationStatus: description: 'The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. ' enum: - invalid - pending - rejected - valid readOnly: true type: string type: object BalanceAccountBase: properties: accountHolderId: description: The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. type: string defaultCurrencyCode: description: 'The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.' type: string description: description: A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder. maxLength: 300 type: string id: description: The unique identifier of the balance account. type: string metadata: additionalProperties: type: string description: 'A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.' type: object migratedAccountCode: description: The unique identifier of the account of the migrated account holder in the classic integration. readOnly: true type: string platformPaymentConfiguration: description: Contains key-value pairs to the configure the settlement model in a balance account. $ref: '#/components/schemas/PlatformPaymentConfiguration' reference: description: Your reference for the balance account, maximum 150 characters. maxLength: 150 type: string status: description: "The status of the balance account, set to **active** by default. \n" enum: - active - closed - inactive - suspended type: string timeZone: description: 'The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).' type: string required: - accountHolderId - id type: object DKLocalAccountIdentification: additionalProperties: false properties: accountNumber: description: The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). maxLength: 10 minLength: 4 type: string bankCode: description: The 4-digit bank code (Registreringsnummer) (without separators or whitespace). maxLength: 4 minLength: 4 type: string type: default: dkLocal description: '**dkLocal**' enum: - dkLocal type: string required: - type - accountNumber - bankCode type: object CloseAccountHolderRequest: properties: accountHolderCode: description: The code of the Account Holder to be closed. type: string required: - accountHolderCode type: object GrantLimit: properties: amount: description: The amount available on the grant account. $ref: '#/components/schemas/Amount' type: object AccountProcessingState: properties: disableReason: description: The reason why processing has been disabled. type: string disabled: description: Indicates whether the processing of payments is allowed. type: boolean processedFrom: description: The lower bound of the processing tier (i.e., an account holder must have processed at least this amount of money in order to be placed into this tier). $ref: '#/components/schemas/Amount' processedTo: description: The upper bound of the processing tier (i.e., an account holder must have processed less than this amount of money in order to be placed into this tier). $ref: '#/components/schemas/Amount' tierNumber: x-addedInVersion: '3' description: The processing tier that the account holder occupies. format: int32 type: integer type: object NumberAndBicAccountIdentification: additionalProperties: false properties: accountNumber: description: The bank account number, without separators or whitespace. The length and format depends on the bank or country. maxLength: 34 type: string additionalBankIdentification: description: Additional identification codes of the bank. Some banks may require these identifiers for cross-border transfers. $ref: '#/components/schemas/AdditionalBankIdentification' bic: description: The bank's 8- or 11-character BIC or SWIFT code. maxLength: 11 minLength: 8 type: string type: default: numberAndBic description: '**numberAndBic**' enum: - numberAndBic type: string required: - type - accountNumber - bic type: object examples: post-suspendAccountHolder-basic: summary: Suspend an account holder value: accountHolderCode: CODE_OF_ACCOUNT_HOLDER generic-400: summary: Response code 400. Bad Request. value: status: 400 errorCode: '702' message: 'Unexpected input: I' errorType: validation generic-422: summary: Response code - 422 Unprocessable Entity. value: type: https://docs.adyen.com/errors/general/invalid-field-value title: Invalid Payment Instrument information provided status: 422 detail: The balanceAccountId can only be changed when the status is Inactive or Requested requestId: 1W1UI15PLVGC9V8O errorCode: '30_031' patch-balanceAccounts-balanceAccountId-sweeps-sweepId-updateSweep-status: summary: Update the status of a sweep description: Example request for updating a sweep value: status: inactive generic-500: summary: Response code - 500 Internal Server Error value: type: https://docs.adyen.com/errors/general/internal title: An internal error happened status: 500 detail: Unrecoverable error while trying to create payment instrument requestId: 1WAF555PLWNTLYOQ errorCode: '00_500' generic-403_2: summary: Response code - 403 Forbidden. value: type: https://docs.adyen.com/errors/security/unauthorized title: Forbidden status: 403 detail: Not the right permission to access this service. errorCode: '00_403' post-balanceAccounts-balanceAccountId-sweeps-createSweep-push: summary: Create a sweep to push funds out of a balance account description: Example request for creating a push sweep value: counterparty: balanceAccountId: BA32278887611B5FTD2KR6TJD triggerAmount: currency: EUR value: 50000 currency: EUR schedule: type: weekly type: push status: active post-unSuspendAccountHolder-basic: summary: Unsuspend an account holder value: accountHolderCode: CODE_OF_ACCOUNT_HOLDER patch-accountHolders-id-requestAccountHolderCapability-200: summary: Account holder capability requested description: Example response for requesting the `receivePayments` capability for an account holder value: balancePlatform: YOUR_BALANCE_PLATFORM description: Liable account holder used for international payments and payouts legalEntityId: LE322JV223222F5GKQZZ9DS99 reference: S.Eller-001 capabilities: receivePayments: enabled: false requested: true allowed: false verificationStatus: pending id: AH3227C223222C5GKR23686TF status: active post-balanceAccounts-balanceAccountId-sweeps-createSweep-push-200: summary: Sweep of push type created description: Example response for creating a push sweep value: id: SWPC4227C224555B5FTD2NT2JV4WN5 counterparty: balanceAccountId: BA32278887611B5FTD2KR6TJD triggerAmount: currency: EUR value: 50000 currency: EUR schedule: type: weekly type: push status: active post-balanceAccounts-createBalanceAccount-200: summary: Create a balance account description: Example request for creating a balance account value: accountHolderId: AH32272223222C5GXTD343TKP defaultCurrencyCode: EUR description: S.Hopper - Main balance account timeZone: Europe/Amsterdam balances: - available: 0 balance: 0 currency: EUR reserved: 0 id: BA3227C223222H5J4DCGQ9V9L status: active post-closeAccountHolder-basic: summary: Close an account holder value: accountHolderCode: CODE_OF_ACCOUNT_HOLDER post-closeAccount-closeAccount: summary: Close an account value: accountCode: CODE_OF_ACCOUNT post-accountHolders-createAccountHolder-200: summary: Response for creating an account holder description: Example response for creating an account holder value: balancePlatform: YOUR_BALANCE_PLATFORM description: Liable account holder used for international payments and payouts legalEntityId: LE322JV223222D5GG42KN6869 reference: S.Eller-001 capabilities: receiveFromPlatformPayments: enabled: true requested: true allowed: false verificationStatus: pending receiveFromBalanceAccount: enabled: true requested: true allowed: false verificationStatus: pending sendToBalanceAccount: enabled: true requested: true allowed: false verificationStatus: pending sendToTransferInstrument: enabled: true requested: true allowed: false requestedSettings: interval: daily maxAmount: currency: EUR value: 0 verificationStatus: pending id: AH3227C223222H5J4DCLW9VBV status: active get-accountHolders-id-success-200: summary: Account holder retrieved description: Example response when retrieving an account holder value: balancePlatform: YOUR_BALANCE_PLATFORM description: Liable account holder used for international payments and payouts legalEntityId: LE322JV223222D5GG42KN6869 reference: S.Eller-001 capabilities: receiveFromPlatformPayments: enabled: true requested: true allowed: false verificationStatus: pending receiveFromBalanceAccount: enabled: true requested: true allowed: false verificationStatus: pending sendToBalanceAccount: enabled: true requested: true allowed: false verificationStatus: pending sendToTransferInstrument: enabled: true requested: true allowed: false transferInstruments: - enabled: true requested: true allowed: false id: SE322KH223222F5GXZFNM3BGP verificationStatus: pending verificationStatus: pending id: AH3227C223222C5GXQXF658WB status: active post-validateBankAccountIdentification-validateBankAccountIdentificationIban-422: summary: Invalid IBAN details value: type: https://docs.adyen.com/errors/validation title: Invalid bank account identification details provided detail: Provided IBAN is incorrect status: 422 invalidFields: - name: iban value: '1001001234' message: Invalid IBAN. errorCode: '33_01' get-balanceAccounts-id-success-200: summary: Balance account details retrieved description: Example response for retrieving a balance account value: accountHolderId: AH32272223222B59K6RTQBFNZ defaultCurrencyCode: EUR timeZone: Europe/Amsterdam balances: - available: 0 balance: 0 currency: EUR reserved: 0 pending: 0 id: BA3227C223222B5BLP6JQC3FD status: active patch-balanceAccounts-id-updateBalanceAccount: summary: Update the time zone of a balance account description: Example request for updating a balance account value: timeZone: Europe/Amsterdam generic-403: summary: Response code 401. Forbidden. value: status: 403 errorCode: '10_003' message: Failed to authorize user errorType: security patch-balanceAccounts-balanceAccountId-sweeps-sweepId-updateSweep-status-200: summary: Sweep status updated description: Example response for updating a sweep value: id: SWPC4227C224555B5FTD2NT2JV4WN5 counterparty: merchantAccount: YOUR_MERCHANT_ACCOUNT triggerAmount: currency: EUR value: 50000 currency: EUR schedule: type: balance type: pull status: inactive get-accountHolders-id-balanceAccounts-success-200: summary: List of balance accounts retrieved description: Example response when retrieving a list of balance accounts under an account holder value: balanceAccounts: - accountHolderId: AH32272223222B5CTBMZT6W2V defaultCurrencyCode: EUR description: S. Hopper - Main Account reference: YOUR_REFERENCE-X173L timeZone: Europe/Amsterdam id: BA32272223222B5CTDNB66W2Z status: active - accountHolderId: AH32272223222B5CTBMZT6W2V defaultCurrencyCode: EUR description: S. Hopper - Main Account reference: YOUR_REFERENCE-X173L timeZone: Europe/Amsterdam id: BA32272223222B5CTDQPM6W2H status: active - accountHolderId: AH32272223222B5CTBMZT6W2V defaultCurrencyCode: EUR description: S. Hopper - Main Account reference: YOUR_REFERENCE-X173L timeZone: Europe/Amsterdam id: BA32272223222B5CVF5J63LMW status: active hasNext: true hasPrevious: false post-balanceAccounts-balanceAccountId-sweeps-createSweep-pull-200: summary: Sweep of pull type created description: Example response for creating a pull sweep value: id: SWPC4227C224555B5FTD2NT2JV4WN5 counterparty: merchantAccount: YOUR_MERCHANT_ACCOUNT triggerAmount: currency: EUR value: 50000 currency: EUR schedule: type: balance type: pull status: active get-accountHolders-id-taxForms-success-200: summary: Tax form retrieved for an account holder description: Example response when retrieving a tax form for an account holder value: content: JVBERi0xLjcKJcfsj6IKJSVJbnZvY2F0aW9uOiBwYXRoL2dzd2luNjQuZXhlIC1kRGlzcGxh contentType: application/pdf post-accountHolders-createAccountHolder: summary: Create an account holder description: Example request for creating an account holder value: description: Liable account holder used for international payments and payouts reference: S.Eller-001 legalEntityId: LE322JV223222D5GG42KN6869 post-checkAccountHolder-basic: summary: Check the account holder. value: accountHolderCode: CODE_OF_ACCOUNT_HOLDER accountStateType: Processing tier: '2' post-balanceAccounts-createBalanceAccount: summary: Create a balance account description: Example request for creating a balance account value: accountHolderId: AH32272223222C5GXTD343TKP description: S.Hopper - Main balance account get-balanceAccounts-balanceAccountId-sweeps-sweepId-success-200: summary: Sweep retrieved description: Example response when retrieving a sweep value: id: SWPC4227C224555B5FTD2NT2JV4WN5 schedule: type: daily status: active targetAmount: currency: EUR value: 0 triggerAmount: currency: EUR value: 0 type: push counterparty: balanceAccountId: BA32272223222B5FTD2KR6TJD currency: EUR patch-accountHolders-id-requestAccountHolderCapability: summary: Request account holder capability description: Example request for the `receivePayments` capability for an account holder value: description: Liable account holder used for international payments and payouts reference: S.Eller-001 capabilities: receivePayments: requested: true generic-400_2: summary: Response code - 400 Bad request value: type: https://docs.adyen.com/errors/general/bad-request title: Bad request status: 400 detail: Empty input which would have resulted in a null result. errorCode: '00_400' post-validateBankAccountIdentification-validateBankAccountIdentificationIban: summary: Validate an IBAN value: accountIdentification: type: iban iban: '1001001234' post-validateBankAccountIdentification-validateBankAccountIdentificationUs: summary: Validate a US bank account value: accountIdentification: type: usLocal accountNumber: 12345JHDhjkf67890 accountType: checking routingNumber: '121000567' generic-401: summary: Response code - 401 Unauthorized value: type: https://docs.adyen.com/errors/security/unauthorized title: Unauthorized status: 401 detail: Not authorized to access this service. errorCode: '00_401' get-balanceAccounts-balanceAccountId-sweeps-success-200: summary: Sweeps under a balance account retrieved description: Example response when retrieving sweeps under a balance account value: hasNext: false hasPrevious: false sweeps: - id: SWPC4227C224555B5FTD2NT2JV4WN5 schedule: type: daily status: active targetAmount: currency: EUR value: 0 triggerAmount: currency: EUR value: 0 type: push counterparty: balanceAccountId: BA32272223222B5FTD2KR6TJD currency: EUR get-balanceAccounts-id-paymentInstruments-success-200: summary: List of payment instruments retrieved description: Example response when retrieving a list of payment instruments under a balance account value: hasNext: true hasPrevious: false paymentInstruments: - balanceAccountId: BA32272223222B59CZ3T52DKZ issuingCountryCode: GB status: active type: card card: brand: mc brandVariant: mc cardholderName: name formFactor: virtual bin: '555544' expiration: month: '12' year: '2022' lastFour: '2357' number: '************2357' id: PI32272223222B59M5TM658DT - balanceAccountId: BA32272223222B59CZ3T52DKZ issuingCountryCode: GB status: active type: card card: brand: mc brandVariant: mc cardholderName: name formFactor: virtual bin: '555544' expiration: month: '01' year: '2023' lastFour: '8331' number: '************8331' id: PI32272223222B59PXDGQDLSF post-balanceAccounts-balanceAccountId-sweeps-createSweep-push-priorities: summary: Create a sweep to push funds out of a balance account with set priorities description: Example request for creating a push sweep with priorities value: counterparty: transferInstrumentId: SE322JV223222J5HGLCGF2WDV triggerAmount: currency: EUR value: 50000 currency: EUR priorities: - fast - instant category: bank schedule: type: weekly type: push status: active patch-accountHolders-id-updateAccountHolderStatus-200: summary: Account holder deactivated description: Example response for permanently deactivating an account holder value: balancePlatform: YOUR_BALANCE_PLATFORM description: Liable account holder used for international payments and payouts legalEntityId: LE322JV223222F5GKQZZ9DS99 reference: S.Eller-001 id: AH3227C223222C5GKR23686TF status: closed post-balanceAccounts-balanceAccountId-sweeps-createSweep-pull: summary: Create a sweep to pull funds in to a balance account description: Example request for creating a pull sweep value: counterparty: merchantAccount: YOUR_MERCHANT_ACCOUNT triggerAmount: currency: EUR value: 50000 currency: EUR schedule: type: balance type: pull status: active post-deleteBankAccounts-basic: summary: Delete bank accounts value: accountHolderCode: CODE_OF_ACCOUNT_HOLDER bankAccountUUIDs: - eeb6ed22-3bae-483c-83b9-bc2097a75d40 post-validateBankAccountIdentification-validateBankAccountIdentificationUs-422: summary: Invalid US bank account details value: type: https://docs.adyen.com/errors/validation title: Invalid bank account identification details provided detail: Provided account number and the routing number are incorrect status: 422 invalidFields: - name: accountNumber value: 12345JHDhjkf67890 message: Invalid account number. - name: routingNumber value: '121000567' message: Invalid routing number. post-balanceAccounts-balanceAccountId-sweeps-createSweep-push-priorities-200: summary: Sweep of push type with priorities created description: Example response for creating a push sweep with priorities value: id: SWPC4227C224555B5FTD2NT2JV4WN9 counterparty: transferInstrumentId: SE322JV223222J5HGLCGF2WDV triggerAmount: currency: EUR value: 50000 currency: EUR priorities: - fast - instant category: bank schedule: type: weekly type: push status: active patch-accountHolders-id-updateAccountHolderStatus: summary: Deactivate an account holder description: Example request for permanently deactivating an account holder value: status: closed patch-balanceAccounts-id-updateBalanceAccount-200: summary: Time zone of a balance account updated description: Example response for updating a balance account value: accountHolderId: AH32272223222B5GFSNVGFFM7 defaultCurrencyCode: EUR timeZone: Europe/Amsterdam balances: - available: 0 balance: 0 currency: EUR reserved: 0 id: BA32272223222B59K6ZXHBFN6 status: active securitySchemes: ApiKeyAuth: in: header name: X-API-Key type: apiKey BasicAuth: scheme: basic type: http x-groups: - Account holders - Accounts - Verification