{ "openapi" : "3.1.0", "info" : { "title" : "Configuration API", "description" : "The Configuration API allows you to manage your balance platform where you can create account holders, balance accounts, cards, and business accounts.\n\n## Authentication\nEach request to the Configuration API must be signed with an API key. Generate an API key in your Customer Area if you have a [platform setup](https://docs.adyen.com/platforms/manage-access/api-credentials-web-service/#generate-api-key) or [marketplace setup](https://docs.adyen.com/marketplaces/manage-access/api-credentials-web-service/#generate-api-key).\n\n If you have an Adyen Issuing integration, [generate an API key](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service/#generate-api-key) in your Balance Platform Customer Area.\n\nTo 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\n## Versioning\nThe Configuration 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://balanceplatform-api-test.adyen.com/bcl/v1/accountHolders\n```\n## Going live\nWhen going live, generate an API key in your [live Customer Area](https://ca-live.adyen.com/ca/) if you have an Adyen for Platforms integration or [live Balance Platform Customer Area](https://balanceplatform-live.adyen.com/balanceplatform/) if you have an Adyen Issuing integration.You can then use the API key to send requests to `https://balanceplatform-api-live.adyen.com/bcl/v1`.", "termsOfService" : "https://www.adyen.com/legal/terms-and-conditions", "contact" : { "name" : "Adyen Developer Experience team", "url" : "https://github.com/Adyen/adyen-openapi" }, "version" : "1", "x-publicVersion" : true }, "servers" : [ { "url" : "https://balanceplatform-api-test.adyen.com/bcl/v1" } ], "tags" : [ { "name" : "Platform" }, { "name" : "Account holders" }, { "name" : "Balance accounts" }, { "name" : "Balances" }, { "name" : "Managed payout schedules" }, { "name" : "Custom payout schedules (sweeps)" }, { "name" : "Authorized card users" }, { "name" : "Payment instruments" }, { "name" : "Payment instrument groups" }, { "name" : "Transaction rules" }, { "name" : "Bank account validation" }, { "name" : "Network tokens" }, { "name" : "Grant accounts" }, { "name" : "Grant offers" }, { "name" : "Card orders" }, { "name" : "Manage card PIN" }, { "name" : "Direct debit mandates" }, { "name" : "Transfer routes" }, { "name" : "SCA device management" }, { "name" : "Transfer limits - balance account level" }, { "name" : "Transfer limits - balance platform level" }, { "name" : "Manage SCA devices" } ], "paths" : { "/accountHolders" : { "post" : { "tags" : [ "Account holders" ], "summary" : "Create an account holder", "description" : "Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities).\n\n", "operationId" : "post-accountHolders", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AccountHolderInfo" }, "examples" : { "createAccountHolder" : { "$ref" : "#/components/examples/post-accountHolders-createAccountHolder" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AccountHolder" }, "examples" : { "createAccountHolder" : { "$ref" : "#/components/examples/post-accountHolders-createAccountHolder-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "createAccountHolder" } }, "/accountHolders/{id}" : { "get" : { "tags" : [ "Account holders" ], "summary" : "Get an account holder", "description" : "Returns an account holder.", "operationId" : "get-accountHolders-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the account holder.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AccountHolder" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-accountHolders-id-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "getAccountHolder" }, "patch" : { "tags" : [ "Account holders" ], "summary" : "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.", "operationId" : "patch-accountHolders-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the account holder.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AccountHolderUpdateRequest" }, "examples" : { "requestAccountHolderCapability" : { "$ref" : "#/components/examples/patch-accountHolders-id-requestAccountHolderCapability" }, "updateAccountHolderStatus" : { "$ref" : "#/components/examples/patch-accountHolders-id-updateAccountHolderStatus" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AccountHolder" }, "examples" : { "requestAccountHolderCapability" : { "$ref" : "#/components/examples/patch-accountHolders-id-requestAccountHolderCapability-200" }, "updateAccountHolderStatus" : { "$ref" : "#/components/examples/patch-accountHolders-id-updateAccountHolderStatus-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "updateAccountHolder" } }, "/accountHolders/{id}/balanceAccounts" : { "get" : { "tags" : [ "Account holders" ], "summary" : "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`.", "operationId" : "get-accountHolders-id-balanceAccounts", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the account holder.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } }, { "name" : "offset", "in" : "query", "description" : "The number of items that you want to skip.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "limit", "in" : "query", "description" : "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaginatedBalanceAccountsResponse" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-accountHolders-id-balanceAccounts-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 4, "x-methodName" : "getAllBalanceAccountsOfAccountHolder" } }, "/accountHolders/{id}/transactionRules" : { "get" : { "tags" : [ "Account holders" ], "summary" : "Get all transaction rules for an account holder", "description" : "Returns a list of transaction rules associated with an account holder.", "operationId" : "get-accountHolders-id-transactionRules", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the account holder.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRulesResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 18, "x-methodName" : "getAllTransactionRulesForAccountHolder" } }, "/balanceAccounts" : { "post" : { "tags" : [ "Balance accounts" ], "summary" : "Create a balance account", "description" : "Creates a balance account that holds the funds of the associated account holder.", "operationId" : "post-balanceAccounts", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BalanceAccountInfo" }, "examples" : { "createBalanceAccount" : { "$ref" : "#/components/examples/post-balanceAccounts-createBalanceAccount" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BalanceAccount" }, "examples" : { "createBalanceAccount" : { "$ref" : "#/components/examples/post-balanceAccounts-createBalanceAccount-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "createBalanceAccount" } }, "/balanceAccounts/{id}" : { "get" : { "tags" : [ "Balance accounts" ], "summary" : "Get a balance account", "description" : "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance.", "operationId" : "get-balanceAccounts-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance account.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BalanceAccount" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-balanceAccounts-id-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "getBalanceAccount" }, "patch" : { "tags" : [ "Balance accounts" ], "summary" : "Update a balance account", "description" : "Updates a balance account.", "operationId" : "patch-balanceAccounts-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance account.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BalanceAccountUpdateRequest" }, "examples" : { "updateBalanceAccount" : { "$ref" : "#/components/examples/patch-balanceAccounts-id-updateBalanceAccount" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BalanceAccount" }, "examples" : { "updateBalanceAccount" : { "$ref" : "#/components/examples/patch-balanceAccounts-id-updateBalanceAccount-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "updateBalanceAccount" } }, "/balanceAccounts/{id}/paymentInstruments" : { "get" : { "tags" : [ "Balance accounts" ], "summary" : "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`.", "operationId" : "get-balanceAccounts-id-paymentInstruments", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance account.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } }, { "name" : "offset", "in" : "query", "description" : "The number of items that you want to skip.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "limit", "in" : "query", "description" : "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "status", "in" : "query", "description" : "The status of the payment instruments that you want to get. By default, the response includes payment instruments with any status.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaginatedPaymentInstrumentsResponse" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-balanceAccounts-id-paymentInstruments-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 4, "x-methodName" : "getPaymentInstrumentsLinkedToBalanceAccount" } }, "/balanceAccounts/{id}/transactionRules" : { "get" : { "tags" : [ "Balance accounts" ], "summary" : "Get all transaction rules for a balance account", "description" : "Returns a list of transaction rules associated with a balance account.", "operationId" : "get-balanceAccounts-id-transactionRules", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance account.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRulesResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 18, "x-methodName" : "getAllTransactionRulesForBalanceAccount" } }, "/balancePlatforms/{id}" : { "get" : { "tags" : [ "Platform" ], "summary" : "Get a balance platform", "description" : "Returns a balance platform.", "operationId" : "get-balancePlatforms-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance platform.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BalancePlatform" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-balancePlatforms-id-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "getBalancePlatform" } }, "/balancePlatforms/{id}/accountHolders" : { "get" : { "tags" : [ "Platform" ], "summary" : "Get all account holders under a balance platform", "description" : "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. \n\nFor example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`.", "operationId" : "get-balancePlatforms-id-accountHolders", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance platform.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } }, { "name" : "offset", "in" : "query", "description" : "The number of items that you want to skip.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "limit", "in" : "query", "description" : "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaginatedAccountHoldersResponse" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-balancePlatforms-id-accountHolders-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "getAllAccountHoldersUnderBalancePlatform" } }, "/balancePlatforms/{id}/transactionRules" : { "get" : { "tags" : [ "Platform" ], "summary" : "Get all transaction rules for a balance platform", "description" : "Returns a list of transaction rules associated with a balance platform.", "operationId" : "get-balancePlatforms-id-transactionRules", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the balance platform.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRulesResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 5, "x-methodName" : "getAllTransactionRulesForBalancePlatform" } }, "/cardorders" : { "get" : { "tags" : [ "Card orders" ], "summary" : "Get a list of card orders", "description" : "Returns a paginated list of card orders.", "operationId" : "get-cardorders", "parameters" : [ { "name" : "id", "in" : "query", "description" : "The unique identifier of the card order. ", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "cardManufacturingProfileId", "in" : "query", "description" : "The unique identifier of the card manufacturer profile.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "status", "in" : "query", "description" : "The status of the card order.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "txVariantCode", "in" : "query", "description" : "The unique code of the card manufacturer profile.\n\nPossible values: **mcmaestro**, **mc**, **visa**, **mcdebit**. ", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "createdSince", "in" : "query", "description" : "Only include card orders that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string", "format" : "date-time" } }, { "name" : "createdUntil", "in" : "query", "description" : "Only include card orders that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string", "format" : "date-time" } }, { "name" : "lockedSince", "in" : "query", "description" : "Only include card orders that have been locked on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string", "format" : "date-time" } }, { "name" : "lockedUntil", "in" : "query", "description" : "Only include card orders that have been locked on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string", "format" : "date-time" } }, { "name" : "serviceCenter", "in" : "query", "description" : "The service center at which the card is issued. The value is case-sensitive. ", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "offset", "in" : "query", "description" : "Specifies the position of an element in a list of card orders. The response includes a list of card orders that starts at the specified offset.\n\n**Default:** 0, which means that the response contains all the elements in the list of card orders.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "limit", "in" : "query", "description" : "The number of card orders returned per page. **Default:** 10.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaginatedGetCardOrderResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "listCardOrders" } }, "/cardorders/{id}/items" : { "get" : { "tags" : [ "Card orders" ], "summary" : "Get card order items", "description" : "Returns the item list of a specific card order.", "operationId" : "get-cardorders-id-items", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the card order.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } }, { "name" : "offset", "in" : "query", "description" : "Specifies the position of an element in a list of card orders. The response includes a list of card order items that starts at the specified offset.\n\n**Default:** 0, which means that the response contains all the elements in the list of card order items.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "limit", "in" : "query", "description" : "The number of card order items returned per page. **Default:** 10.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaginatedGetCardOrderItemResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "getCardOrderItems" } }, "/grantAccounts/{id}" : { "get" : { "tags" : [ "Grant accounts" ], "summary" : "Get a grant account", "description" : "Returns the details of the [grant account](https://docs.adyen.com/platforms/capital#grant-account).", "operationId" : "get-grantAccounts-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the grant account.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/CapitalGrantAccount" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "getGrantAccount" } }, "/networkTokens/{networkTokenId}" : { "get" : { "tags" : [ "Network tokens" ], "summary" : "Get a network token", "description" : "Returns the details of a network token.", "operationId" : "get-networkTokens-networkTokenId", "parameters" : [ { "name" : "networkTokenId", "in" : "path", "description" : "The unique identifier of the network token.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/GetNetworkTokenResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "getNetworkToken" }, "patch" : { "tags" : [ "Network tokens" ], "summary" : "Update a network token", "description" : "Updates the status of the network token.", "operationId" : "patch-networkTokens-networkTokenId", "parameters" : [ { "name" : "networkTokenId", "in" : "path", "description" : "The unique identifier of the network token.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/UpdateNetworkTokenRequest" } } } }, "responses" : { "202" : { "description" : "No Content - look at the actual response code for the status of the request. " }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "updateNetworkToken" } }, "/paymentInstrumentGroups" : { "post" : { "tags" : [ "Payment instrument groups" ], "summary" : "Create a payment instrument group", "description" : "Creates a payment instrument group to associate and group payment instrument resources together. You can apply a transaction rule to a payment instrument group.", "operationId" : "post-paymentInstrumentGroups", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentGroupInfo" }, "examples" : { "createPaymentInstrumentGroups" : { "$ref" : "#/components/examples/post-paymentInstrumentGroups-createPaymentInstrumentGroups" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentGroup" }, "examples" : { "createPaymentInstrumentGroups" : { "$ref" : "#/components/examples/post-paymentInstrumentGroups-createPaymentInstrumentGroups-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "createPaymentInstrumentGroup" } }, "/paymentInstrumentGroups/{id}" : { "get" : { "tags" : [ "Payment instrument groups" ], "summary" : "Get a payment instrument group", "description" : "Returns the details of a payment instrument group.", "operationId" : "get-paymentInstrumentGroups-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument group.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentGroup" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-paymentInstrumentGroups-id-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "getPaymentInstrumentGroup" } }, "/paymentInstrumentGroups/{id}/transactionRules" : { "get" : { "tags" : [ "Payment instrument groups" ], "summary" : "Get all transaction rules for a payment instrument group", "description" : "Returns a list of all the transaction rules associated with a payment instrument group.", "operationId" : "get-paymentInstrumentGroups-id-transactionRules", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument group.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRulesResponse" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-paymentInstrumentGroups-id-transactionRules-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "getAllTransactionRulesForPaymentInstrumentGroup" } }, "/paymentInstruments" : { "post" : { "tags" : [ "Payment instruments" ], "summary" : "Create a payment instrument", "description" : "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user.\n\n For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/platforms/business-accounts).", "operationId" : "post-paymentInstruments", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentInfo" }, "examples" : { "createBusinessAccountNL" : { "$ref" : "#/components/examples/post-paymentInstruments-createBusinessAccountNL" }, "createBusinessAccountUS" : { "$ref" : "#/components/examples/post-paymentInstruments-createBusinessAccountUS" }, "createPhysicalCard" : { "$ref" : "#/components/examples/post-paymentInstruments-createPhysicalCard" }, "createVirtualCard" : { "$ref" : "#/components/examples/post-paymentInstruments-createVirtualCard" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrument" }, "examples" : { "createBusinessAccountNL" : { "$ref" : "#/components/examples/post-paymentInstruments-createBusinessAccountNL-200" }, "createBusinessAccountUS" : { "$ref" : "#/components/examples/post-paymentInstruments-createBusinessAccountUS-200" }, "createPhysicalCard" : { "$ref" : "#/components/examples/post-paymentInstruments-createPhysicalCard-200" }, "createVirtualCard" : { "$ref" : "#/components/examples/post-paymentInstruments-createVirtualCard-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "createPaymentInstrument" } }, "/paymentInstruments/reveal" : { "post" : { "tags" : [ "Payment instruments" ], "summary" : "Reveal the data of a payment instrument", "description" : "Returns the encrypted data of a specified payment instrument. These data include:\n\n- The primary account number (PAN)\n- The card verification code (CVC)\n- The expiry date\n\nYou can decrypt the data to reveal it in your user interface.\n\nTo make this request, your API credential must have the following role:\n* Bank Issuing PAN Reveal Webservice role", "operationId" : "post-paymentInstruments-reveal", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentRevealRequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentRevealResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 4, "x-methodName" : "revealDataOfPaymentInstrument" } }, "/paymentInstruments/{id}" : { "get" : { "tags" : [ "Payment instruments" ], "summary" : "Get a payment instrument", "description" : "Returns the details of a payment instrument.", "operationId" : "get-paymentInstruments-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrument" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-paymentInstruments-id-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "getPaymentInstrument" }, "patch" : { "tags" : [ "Payment instruments" ], "summary" : "Update a payment instrument", "description" : "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card.", "operationId" : "patch-paymentInstruments-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentUpdateRequest" }, "examples" : { "updatePaymentInstrumentBalanceAccount" : { "$ref" : "#/components/examples/patch-paymentInstruments-id-updatePaymentInstrumentBalanceAccount" }, "updatePaymentInstrumentStatus" : { "$ref" : "#/components/examples/patch-paymentInstruments-id-updatePaymentInstrumentStatus" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/UpdatePaymentInstrument" }, "examples" : { "updatePaymentInstrumentBalanceAccount" : { "$ref" : "#/components/examples/patch-paymentInstruments-id-updatePaymentInstrumentBalanceAccount-200" }, "updatePaymentInstrumentStatus" : { "$ref" : "#/components/examples/patch-paymentInstruments-id-updatePaymentInstrumentStatus-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "updatePaymentInstrument" } }, "/paymentInstruments/{id}/networkTokenActivationData" : { "get" : { "tags" : [ "Payment instruments" ], "summary" : "Get network token activation data", "description" : "Get the network token activation data for a payment instrument.", "operationId" : "get-paymentInstruments-id-networkTokenActivationData", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/NetworkTokenActivationDataResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 12, "x-methodName" : "getNetworkTokenActivationData" }, "post" : { "tags" : [ "Payment instruments" ], "summary" : "Create network token provisioning data", "description" : "Create provisioning data for a network token. Use the provisioning data to add a user's payment instrument to their digital wallet.", "operationId" : "post-paymentInstruments-id-networkTokenActivationData", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/NetworkTokenActivationDataRequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/NetworkTokenActivationDataResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 13, "x-methodName" : "createNetworkTokenProvisioningData" } }, "/paymentInstruments/{id}/networkTokens" : { "get" : { "tags" : [ "Payment instruments" ], "summary" : "List network tokens", "description" : "List the network tokens connected to a payment instrument.", "operationId" : "get-paymentInstruments-id-networkTokens", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ListNetworkTokensResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 6, "x-methodName" : "listNetworkTokens" } }, "/paymentInstruments/{id}/reveal" : { "get" : { "tags" : [ "Payment instruments" ], "summary" : "Get the PAN of a payment instrument", "description" : "Returns the primary account number (PAN) of a payment instrument.\n\nTo make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions):\n\n* Balance Platform BCL PCI role", "operationId" : "get-paymentInstruments-id-reveal", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaymentInstrumentRevealInfo" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-paymentInstruments-id-reveal-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 5, "x-methodName" : "getPanOfPaymentInstrument" } }, "/paymentInstruments/{id}/transactionRules" : { "get" : { "tags" : [ "Payment instruments" ], "summary" : "Get all transaction rules for a payment instrument", "description" : "Returns a list of transaction rules associated with a payment instrument.", "operationId" : "get-paymentInstruments-id-transactionRules", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the payment instrument.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRulesResponse" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-paymentInstruments-id-transactionRules-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 7, "x-methodName" : "getAllTransactionRulesForPaymentInstrument" } }, "/pins/change" : { "post" : { "tags" : [ "Manage card PIN" ], "summary" : "Change a card PIN", "description" : "Changes the personal identification number (PIN) of a specified card.\n\nTo make this request, your API credential must have the following role:\n* Bank Issuing PIN Change Webservice role", "operationId" : "post-pins-change", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PinChangeRequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PinChangeResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "changeCardPin" } }, "/pins/reveal" : { "post" : { "tags" : [ "Manage card PIN" ], "summary" : "Reveal a card PIN", "description" : "Returns an encrypted PIN block that contains the PIN of a specified card. You can use the decrypted data to reveal the PIN in your user interface.\n\nTo make this request, your API credential must have the following role:\n* Bank Issuing PIN Reveal Webservice role", "operationId" : "post-pins-reveal", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RevealPinRequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RevealPinResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "revealCardPin" } }, "/publicKey" : { "get" : { "tags" : [ "Manage card PIN" ], "summary" : "Get an RSA public key", "description" : "Get an [RSA](https://en.wikipedia.org/wiki/RSA_(cryptosystem)) public key to encrypt or decrypt card data.\n\n You need the RSA public key to generate the `encryptedKey` required to:\n- [Change a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/change).\n- [Reveal a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/reveal).\n- [Reveal a PAN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/paymentInstruments/reveal).", "operationId" : "get-publicKey", "parameters" : [ { "name" : "purpose", "in" : "query", "description" : "The purpose of the public key.\n\nPossible values: **pinChange**, **pinReveal**, **panReveal**.\n\nDefault value: **pinReveal**.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "format", "in" : "query", "description" : "The encoding format of public key.\n\nPossible values: **jwk**, **pem**.\n\nDefault value: **pem**.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PublicKeyResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "publicKey" } }, "/registeredDevices" : { "get" : { "tags" : [ "Manage SCA devices" ], "summary" : "Get a list of registered SCA devices", "description" : "Get a paginated list of the SCA devices you have currently registered for a specific payment instrument.", "operationId" : "get-registeredDevices", "parameters" : [ { "name" : "paymentInstrumentId", "in" : "query", "description" : "The unique identifier of a payment instrument. It limits the returned list to SCA devices associated to this payment instrument.", "required" : true, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "pageNumber", "in" : "query", "description" : "The index of the page to retrieve. The index of the first page is 0 (zero).\n\nDefault: 0.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "pageSize", "in" : "query", "description" : "The number of items to have on a page.\n\nDefault: 20. Maximum: 100.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "integer", "format" : "int32" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/SearchRegisteredDevicesResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "listRegisteredScaDevices" }, "post" : { "tags" : [ "Manage SCA devices" ], "summary" : "Initiate the registration of an SCA device", "description" : "Initiates the registration of a user's device for Strong Customer Authentication (SCA). You can register SCA devices for [business accounts](https://docs.adyen.com/platforms/business-accounts/sca/register-devices) or [Adyen-issued cards](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk/register-devices).\n\nFor a successful request, the device must be eligible for SCA.", "operationId" : "post-registeredDevices", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RegisterSCARequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RegisterSCAResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "initiateRegistrationOfScaDevice" } }, "/registeredDevices/{id}" : { "delete" : { "tags" : [ "Manage SCA devices" ], "summary" : "Delete a registration of an SCA device", "description" : "Deletes an SCA device from the list of registered devices of a specific payment instrument.", "operationId" : "delete-registeredDevices-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the SCA device.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } }, { "name" : "paymentInstrumentId", "in" : "query", "description" : "The unique identifier of the payment instrument linked to the SCA device.", "required" : true, "style" : "form", "explode" : true, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "No Content - look at the actual response code for the status of the request. " }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 6, "x-methodName" : "deleteRegistrationOfScaDevice" }, "patch" : { "tags" : [ "Manage SCA devices" ], "summary" : "Complete the registration of an SCA device", "description" : "Completes the registration of an SCA device by validating the authentication data of the device. You can register SCA devices for [business accounts](https://docs.adyen.com/platforms/business-accounts/sca) or [Adyen-issued cards](https://docs.adyen.com/issuing/3d-secure/oob-auth-sdk).\n\n", "operationId" : "patch-registeredDevices-id", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The unique identifier of the SCA device. You obtain this `id` in the response of a POST [/registeredDevices](https://docs.adyen.com/api-explorer/balanceplatform/2/post/registeredDevices#responses-200-id) request.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RegisterSCARequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RegisterSCAFinalResponse" } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "completeRegistrationOfScaDevice" } }, "/transactionRules" : { "post" : { "tags" : [ "Transaction rules" ], "summary" : "Create a transaction rule", "description" : "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples).", "operationId" : "post-transactionRules", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRuleInfo" }, "examples" : { "createTransactionRule" : { "$ref" : "#/components/examples/post-transactionRules-createTransactionRule" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRule" }, "examples" : { "createTransactionRule" : { "$ref" : "#/components/examples/post-transactionRules-createTransactionRule-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "createTransactionRule" } }, "/transactionRules/{transactionRuleId}" : { "get" : { "tags" : [ "Transaction rules" ], "summary" : "Get a transaction rule", "description" : "Returns the details of a transaction rule.", "operationId" : "get-transactionRules-transactionRuleId", "parameters" : [ { "name" : "transactionRuleId", "in" : "path", "description" : "The unique identifier of the transaction rule.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRuleResponse" }, "examples" : { "success" : { "$ref" : "#/components/examples/get-transactionRules-transactionRuleId-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 2, "x-methodName" : "getTransactionRule" }, "delete" : { "tags" : [ "Transaction rules" ], "summary" : "Delete a transaction rule", "description" : "Deletes a transaction rule.", "operationId" : "delete-transactionRules-transactionRuleId", "parameters" : [ { "name" : "transactionRuleId", "in" : "path", "description" : "The unique identifier of the transaction rule.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRule" }, "examples" : { "success" : { "$ref" : "#/components/examples/delete-transactionRules-transactionRuleId-success-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 5, "x-methodName" : "deleteTransactionRule" }, "patch" : { "tags" : [ "Transaction rules" ], "summary" : "Update a transaction rule", "description" : "Updates a transaction rule. \n\n* To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged.\n\n* When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource.", "operationId" : "patch-transactionRules-transactionRuleId", "parameters" : [ { "name" : "transactionRuleId", "in" : "path", "description" : "The unique identifier of the transaction rule.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRuleInfo" }, "examples" : { "updateTransactionRuleStatus" : { "$ref" : "#/components/examples/patch-transactionRules-transactionRuleId-updateTransactionRuleStatus" } } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransactionRule" }, "examples" : { "updateTransactionRuleStatus" : { "$ref" : "#/components/examples/patch-transactionRules-transactionRuleId-updateTransactionRuleStatus-200" } } } } }, "400" : { "description" : "Bad Request - a problem reading or understanding the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-400" } } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 3, "x-methodName" : "updateTransactionRule" } }, "/transferRoutes/calculate" : { "post" : { "tags" : [ "Transfer routes" ], "summary" : "Calculate transfer routes", "description" : "Returns available transfer routes based on a combination of transfer `country`, `currency`, `counterparty`, and `priorities`. Use this endpoint to find optimal transfer priorities and associated requirements before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers).", "operationId" : "post-transferRoutes-calculate", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransferRouteRequest" } } } }, "responses" : { "200" : { "description" : "OK - the request has succeeded.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/TransferRouteResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "calculateTransferRoutes" } }, "/validateBankAccountIdentification" : { "post" : { "tags" : [ "Bank account validation" ], "summary" : "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).", "operationId" : "post-validateBankAccountIdentification", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/BankAccountIdentificationValidationRequest" }, "examples" : { "validateBankAccountIdentificationIban" : { "$ref" : "#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationIban" }, "validateBankAccountIdentificationUs" : { "$ref" : "#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationUs" } } } } }, "responses" : { "200" : { "description" : "No Content - look at the actual response code for the status of the request. " }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-401" } } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-403" } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-422" }, "validateBankAccountIdentificationIban" : { "$ref" : "#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationIban-422" }, "validateBankAccountIdentificationUs" : { "$ref" : "#/components/examples/post-validateBankAccountIdentification-validateBankAccountIdentificationUs-422" } } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestServiceError" }, "examples" : { "generic" : { "$ref" : "#/components/examples/generic-500" } } } } } }, "security" : [ { "clientKey" : [ ] }, { "BasicAuth" : [ ] }, { "ApiKeyAuth" : [ ] } ], "x-addedInVersion" : "1", "x-sortIndex" : 1, "x-methodName" : "validateBankAccountIdentification" } }, "/mandates" : { "get" : { "tags" : [ "Direct debit mandates" ], "summary" : "Get a list of mandates", "description" : "Returns a list of all [direct debit mandates](https://docs.adyen.com/business-accounts/accept-direct-debits-uk) created for a business account.", "operationId" : "get-mandates", "parameters" : [ { "name" : "balanceAccountId", "in" : "query", "description" : "The unique identifier of the balance account linked to the payment instrument.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "paymentInstrumentId", "in" : "query", "description" : "The unique identifier of the payment instrument linked to the mandate.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } }, { "name" : "cursor", "in" : "query", "description" : "The pagination cursor returned in a previous GET `/mandates` request.", "required" : false, "style" : "form", "explode" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - The request has succeeded", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ListMandatesResponse" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } } }, "x-methodName" : "getListOfMandates", "x-sortIndex" : 1 } }, "/mandates/{mandateId}" : { "get" : { "tags" : [ "Direct debit mandates" ], "summary" : "Get a specific mandate", "description" : "Returns the details of the specified [direct debit mandate](https://docs.adyen.com/business-accounts/accept-direct-debits-uk).", "operationId" : "get-mandates-mandateId", "parameters" : [ { "name" : "mandateId", "in" : "path", "description" : "The unique identifier of the mandate.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "OK - The request has succeeded", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/Mandate" } } } }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "404" : { "description" : "The mandate was not found.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } } }, "x-methodName" : "getMandateById", "x-sortIndex" : 2 }, "patch" : { "tags" : [ "Direct debit mandates" ], "summary" : "Amend a mandate", "description" : "Amend the specified [direct debit mandate](https://docs.adyen.com/business-accounts/accept-direct-debits-uk).", "operationId" : "patch-mandates-mandateId", "parameters" : [ { "name" : "mandateId", "in" : "path", "description" : "The unique identifier of the mandate.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/MandateUpdate" } } }, "required" : true }, "responses" : { "202" : { "description" : "Accepted - The request has been accepted" }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "404" : { "description" : "The mandate was not found", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } } }, "x-methodName" : "updateMandate", "x-sortIndex" : 3 } }, "/mandates/{mandateId}/cancel" : { "post" : { "tags" : [ "Direct debit mandates" ], "summary" : "Cancel a mandate", "description" : "Cancel a specified [direct debit mandate](https://docs.adyen.com/business-accounts/accept-direct-debits-uk).", "operationId" : "post-mandates-mandateId-cancel", "parameters" : [ { "name" : "mandateId", "in" : "path", "description" : "The unique identifier of the mandate.", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "202" : { "description" : "Accepted - The request has been accepted" }, "401" : { "description" : "Unauthorized - authentication required.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "403" : { "description" : "Forbidden - insufficient permissions to process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "404" : { "description" : "The mandate was not found.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } }, "500" : { "description" : "Internal Server Error - the server could not process the request.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" } } } } }, "x-methodName" : "cancelMandate", "x-sortIndex" : 4 } }, "/paymentInstruments/{paymentInstrumentId}/authorisedCardUsers" : { "get" : { "tags" : [ "Authorized card users" ], "summary" : "Get authorized users for a card.", "description" : "Returns the authorized users for a card.", "operationId" : "get-paymentInstruments-paymentInstrumentId-authorisedCardUsers", "parameters" : [ { "name" : "paymentInstrumentId", "in" : "path", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "Successful operation", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AuthorisedCardUsers" }, "examples" : { "authorisedCardUsers" : { "summary" : "List of authorised users of the payment instrument.", "description" : "The response returned the list of authorised users of the payment instrument.", "value" : { "legalEntityIds" : [ "LE328V522322685LV3KTNF35M", "LE328SW223226B5LWVWNQ8THN" ] } } } } } }, "401" : { "description" : "Unauthorized", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-401" : { "summary" : "Unauthorized", "description" : "Authentication failed.", "value" : { "type" : "https://docs.adyen.com/errors/unauthorized", "title" : "Unauthorized", "status" : 401, "errorCode" : "00_401" } } } } } }, "403" : { "description" : "Forbidden", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-403" : { "summary" : "Forbidden", "description" : "Most commonly happens when user does not have sufficient roles or doesn't own requested resource.", "value" : { "type" : "https://docs.adyen.com/errors/forbidden", "errorCode" : "00_403", "title" : "Forbidden", "detail" : "Not allowed for card partner yet.", "requestId" : "d42c493b5176df89e51516c6060cc34c", "status" : 403 } } } } } }, "404" : { "description" : "Not Found", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-404" : { "summary" : "Entity not found", "description" : "Given payment instrument or legal entities not found.", "value" : { "type" : "https://docs.adyen.com/errors/not-found", "errorCode" : "999_404_001", "title" : "Entity not found", "detail" : "Given payment instrument does not exist in our system. PI: PI3222722322935MDMZ9J83KH", "requestId" : "2fd2bd9cd4739575c5c562f0ff1e7396", "status" : 404 } } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-422" : { "summary" : "Business constraint violation", "description" : "Response returned when request fields were invalid.", "value" : { "type" : "https://docs.adyen.com/errors/unprocessable-entity", "errorCode" : "999_422_002", "title" : "Business constraint violation", "detail" : "There is not any legal entity tied to this payment instrument.", "requestId" : "4949a74bb7be732e559808a8ac3a86fc", "status" : 422 } } } } } } }, "x-methodName" : "getAllAuthorisedCardUsers", "x-sortIndex" : 2 }, "post" : { "tags" : [ "Authorized card users" ], "summary" : "Create authorized users for a card.", "description" : "Assigns authorized users to a card. Users must have the **authorisedPaymentInstrumentUser** capability to be able to use the card.", "operationId" : "post-paymentInstruments-paymentInstrumentId-authorisedCardUsers", "parameters" : [ { "name" : "paymentInstrumentId", "in" : "path", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AuthorisedCardUsers" }, "examples" : { "authorisedCardUsers" : { "summary" : "Assigns authorised users to the payment instrument.", "description" : "The request to assign given authorised users to the payment instrument.", "value" : { "legalEntityIds" : [ "LE328V522322685LV3KTNF35M", "LE328SW223226B5LWVWNQ8THN" ] } } } } }, "required" : true }, "responses" : { "204" : { "description" : "Successful operation" }, "400" : { "description" : "Bad request", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-post-400" : { "summary" : "Bad request", "description" : "Response returned when request parsing has failed or some request fields were invalid.", "value" : { "type" : "https://docs.adyen.com/errors/bad-request", "errorCode" : "999_400_000", "title" : "Bad request", "detail" : "Payment instrument already linked with legal entities. Please use patch method.", "requestId" : "24433d4ef9de1fa82be15274638f5d49", "status" : 400 } } } } } }, "401" : { "description" : "Unauthorized", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-401" : { "summary" : "Unauthorized", "description" : "Authentication failed.", "value" : { "type" : "https://docs.adyen.com/errors/unauthorized", "title" : "Unauthorized", "status" : 401, "errorCode" : "00_401" } } } } } }, "403" : { "description" : "Forbidden", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-403" : { "summary" : "Forbidden", "description" : "Most commonly happens when user does not have sufficient roles or doesn't own requested resource.", "value" : { "type" : "https://docs.adyen.com/errors/forbidden", "errorCode" : "00_403", "title" : "Forbidden", "detail" : "Not allowed for card partner yet.", "requestId" : "d42c493b5176df89e51516c6060cc34c", "status" : 403 } } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-post-422" : { "summary" : "Business constraint violation", "description" : "Response returned when request fields were invalid.", "value" : { "type" : "https://docs.adyen.com/errors/unprocessable-entity", "errorCode" : "999_422_002", "title" : "Business constraint violation", "detail" : "Given payment instrument is not a multi use payment instrument.", "requestId" : "4a7beaa203f673074e029916d4325602", "status" : 422 } } } } } } }, "x-methodName" : "createAuthorisedCardUsers", "x-sortIndex" : 1 }, "delete" : { "tags" : [ "Authorized card users" ], "summary" : "Delete the authorized users for a card.", "description" : "Deletes the list of authorized users assigned to a card.", "operationId" : "delete-paymentInstruments-paymentInstrumentId-authorisedCardUsers", "parameters" : [ { "name" : "paymentInstrumentId", "in" : "path", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "Successful operation" }, "401" : { "description" : "Unauthorized", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-401" : { "summary" : "Unauthorized", "description" : "Authentication failed.", "value" : { "type" : "https://docs.adyen.com/errors/unauthorized", "title" : "Unauthorized", "status" : 401, "errorCode" : "00_401" } } } } } }, "403" : { "description" : "Forbidden", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-403" : { "summary" : "Forbidden", "description" : "Most commonly happens when user does not have sufficient roles or doesn't own requested resource.", "value" : { "type" : "https://docs.adyen.com/errors/forbidden", "errorCode" : "00_403", "title" : "Forbidden", "detail" : "Not allowed for card partner yet.", "requestId" : "d42c493b5176df89e51516c6060cc34c", "status" : 403 } } } } } } }, "x-methodName" : "deleteAuthorisedCardUsers", "x-sortIndex" : 4 }, "patch" : { "tags" : [ "Authorized card users" ], "summary" : "Update the authorized users for a card.", "description" : "Updates the list of authorized users for a card.\n\n>This request replaces all existing authorized users for the card.", "operationId" : "patch-paymentInstruments-paymentInstrumentId-authorisedCardUsers", "parameters" : [ { "name" : "paymentInstrumentId", "in" : "path", "required" : true, "style" : "simple", "explode" : false, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AuthorisedCardUsers" }, "examples" : { "authorisedCardUsers" : { "summary" : "Updates authorised users of the payment instrument.", "description" : "The request replaces existing authorised users of the payment instrument with the ones in the request.", "value" : { "legalEntityIds" : [ "LE328V522322685LV3KTNF35M", "LE328SW223226B5LWVWNQ8THN" ] } } } } }, "required" : true }, "responses" : { "204" : { "description" : "Successful operation" }, "400" : { "description" : "Bad request", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-patch-400" : { "summary" : "Bad request", "description" : "Response returned when request parsing has failed or some request fields were invalid.", "value" : { "type" : "https://docs.adyen.com/errors/bad-request", "errorCode" : "999_400_000", "title" : "Bad request", "detail" : "Payment instrument hasn't linked with any legal entity reference Please use post method.", "requestId" : "a852d1b1c0fcbb7177b3bd16a0a2f6d7", "status" : 400 } } } } } }, "401" : { "description" : "Unauthorized", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-401" : { "summary" : "Unauthorized", "description" : "Authentication failed.", "value" : { "type" : "https://docs.adyen.com/errors/unauthorized", "title" : "Unauthorized", "status" : 401, "errorCode" : "00_401" } } } } } }, "403" : { "description" : "Forbidden", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-403" : { "summary" : "Forbidden", "description" : "Most commonly happens when user does not have sufficient roles or doesn't own requested resource.", "value" : { "type" : "https://docs.adyen.com/errors/forbidden", "errorCode" : "00_403", "title" : "Forbidden", "detail" : "Not allowed for card partner yet.", "requestId" : "d42c493b5176df89e51516c6060cc34c", "status" : 403 } } } } } }, "422" : { "description" : "Unprocessable Entity - a request validation error.", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DefaultErrorResponseEntity" }, "examples" : { "authorisedCardUsers-patch-422" : { "summary" : "Business constraint violation", "description" : "Response returned when request fields were invalid.", "value" : { "type" : "https://docs.adyen.com/errors/unprocessable-entity", "errorCode" : "999_422_002", "title" : "Business constraint violation", "detail" : "Request must have maximum 10 legal entity reference.", "requestId" : "aeadb5646efe065f5e027d2fb6b137ec", "status" : 422 } } } } } } }, "x-methodName" : "updateAuthorisedCardUsers", "x-sortIndex" : 3 } } }, "components" : { "schemas" : { "AULocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The bank account number, without separators or whitespace.", "maxLength" : 9, "minLength" : 5 }, "bsbCode" : { "type" : "string", "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" : { "type" : "string", "default" : "auLocal", "description" : "**auLocal**", "enum" : [ "auLocal" ] } }, "required" : [ "accountNumber", "bsbCode", "type" ] }, "AccountHolder" : { "type" : "object", "additionalProperties" : false, "properties" : { "balancePlatform" : { "type" : "string", "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." }, "capabilities" : { "type" : "object", "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." }, "contactDetails" : { "$ref" : "#/components/schemas/ContactDetails", "deprecated" : true, "description" : "Contact details of the account holder." }, "description" : { "type" : "string", "description" : "Your description for the account holder.", "maxLength" : 300 }, "id" : { "type" : "string", "description" : "The unique identifier of the account holder.", "readOnly" : true }, "legalEntityId" : { "type" : "string", "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." }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "migratedAccountHolderCode" : { "type" : "string", "description" : "The unique identifier of the migrated account holder in the classic integration.", "readOnly" : true }, "primaryBalanceAccount" : { "type" : "string", "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." }, "reference" : { "type" : "string", "description" : "Your reference for the account holder.", "maxLength" : 150 }, "status" : { "type" : "string", "description" : "The status of the account holder.\n\nPossible values: \n\n * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. \n\n * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. \n\n* **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.", "enum" : [ "Active", "Closed", "Inactive", "Suspended" ] }, "timeZone" : { "type" : "string", "description" : "The time zone of the account holder. For example, **Europe/Amsterdam**.\nDefaults 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)." }, "verificationDeadlines" : { "type" : "array", "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 } }, "required" : [ "id", "legalEntityId" ] }, "AccountHolderCapability" : { "type" : "object", "additionalProperties" : false, "properties" : { "allowed" : { "type" : "boolean", "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 }, "allowedLevel" : { "type" : "string", "description" : "The capability level that is allowed for the account holder.\n\nPossible values: **notApplicable**, **low**, **medium**, **high**.", "enum" : [ "high", "low", "medium", "notApplicable" ], "readOnly" : true }, "allowedSettings" : { "$ref" : "#/components/schemas/CapabilitySettings", "description" : "A JSON object containing the settings that are allowed for the account holder.", "readOnly" : true }, "enabled" : { "type" : "boolean", "description" : "Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder." }, "problems" : { "type" : "array", "description" : "Contains verification errors and the actions that you can take to resolve them.", "items" : { "$ref" : "#/components/schemas/CapabilityProblem" }, "readOnly" : true }, "requested" : { "type" : "boolean", "description" : "Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field." }, "requestedLevel" : { "type" : "string", "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.\n\nPossible values: **notApplicable**, **low**, **medium**, **high**.", "enum" : [ "high", "low", "medium", "notApplicable" ] }, "requestedSettings" : { "$ref" : "#/components/schemas/CapabilitySettings", "description" : "A JSON object containing the settings that were requested for the account holder.", "readOnly" : true }, "transferInstruments" : { "type" : "array", "description" : "Contains the status of the transfer instruments associated with this capability. ", "items" : { "$ref" : "#/components/schemas/AccountSupportingEntityCapability" }, "readOnly" : true }, "verificationStatus" : { "type" : "string", "description" : "The status of the verification checks for the capability.\n\nPossible values:\n\n* **pending**: Adyen is running the verification.\n\n* **invalid**: The verification failed. Check if the `errors` array contains more information.\n\n* **valid**: The verification has been successfully completed.\n\n* **rejected**: Adyen has verified the information, but found reasons to not allow the capability.\n", "enum" : [ "invalid", "pending", "rejected", "valid" ], "readOnly" : true } } }, "AccountHolderInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "balancePlatform" : { "type" : "string", "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." }, "capabilities" : { "type" : "object", "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." }, "contactDetails" : { "$ref" : "#/components/schemas/ContactDetails", "deprecated" : true, "description" : "Contact details of the account holder." }, "description" : { "type" : "string", "description" : "Your description for the account holder.", "maxLength" : 300 }, "legalEntityId" : { "type" : "string", "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." }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "migratedAccountHolderCode" : { "type" : "string", "description" : "The unique identifier of the migrated account holder in the classic integration.", "readOnly" : true }, "reference" : { "type" : "string", "description" : "Your reference for the account holder.", "maxLength" : 150 }, "timeZone" : { "type" : "string", "description" : "The time zone of the account holder. For example, **Europe/Amsterdam**.\nDefaults 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)." } }, "required" : [ "legalEntityId" ] }, "AccountHolderUpdateRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "balancePlatform" : { "type" : "string", "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." }, "capabilities" : { "type" : "object", "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." }, "contactDetails" : { "$ref" : "#/components/schemas/ContactDetails", "deprecated" : true, "description" : "Contact details of the account holder." }, "description" : { "type" : "string", "description" : "Your description for the account holder.", "maxLength" : 300 }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "migratedAccountHolderCode" : { "type" : "string", "description" : "The unique identifier of the migrated account holder in the classic integration.", "readOnly" : true }, "primaryBalanceAccount" : { "type" : "string", "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." }, "reference" : { "type" : "string", "description" : "Your reference for the account holder.", "maxLength" : 150 }, "status" : { "type" : "string", "description" : "The status of the account holder.\n\nPossible values: \n\n * **active**: The account holder is active and allowed to use its capabilities. This is the initial status for account holders and balance accounts. You can change this status to **suspended** or **closed**. \n\n * **suspended**: The account holder is temporarily disabled and payouts are blocked. You can change this status to **active** or **closed**. \n\n* **closed**: The account holder and all of its capabilities are permanently disabled. This is a final status and cannot be changed.", "enum" : [ "Active", "Closed", "Inactive", "Suspended" ] }, "timeZone" : { "type" : "string", "description" : "The time zone of the account holder. For example, **Europe/Amsterdam**.\nDefaults 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)." }, "verificationDeadlines" : { "type" : "array", "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 } } }, "AccountSupportingEntityCapability" : { "type" : "object", "additionalProperties" : false, "properties" : { "allowed" : { "type" : "boolean", "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 }, "allowedLevel" : { "type" : "string", "description" : "The capability level that is allowed for the account holder.\n\nPossible values: **notApplicable**, **low**, **medium**, **high**.", "enum" : [ "high", "low", "medium", "notApplicable" ], "readOnly" : true }, "enabled" : { "type" : "boolean", "description" : "Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder." }, "id" : { "type" : "string", "description" : "The ID of the supporting entity.", "readOnly" : true }, "requested" : { "type" : "boolean", "description" : "Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field." }, "requestedLevel" : { "type" : "string", "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.\n\nPossible values: **notApplicable**, **low**, **medium**, **high**.", "enum" : [ "high", "low", "medium", "notApplicable" ] }, "verificationStatus" : { "type" : "string", "description" : "The status of the verification checks for the supporting entity capability.\n\nPossible values:\n\n* **pending**: Adyen is running the verification.\n\n* **invalid**: The verification failed. Check if the `errors` array contains more information.\n\n* **valid**: The verification has been successfully completed.\n\n* **rejected**: Adyen has verified the information, but found reasons to not allow the capability.\n", "enum" : [ "invalid", "pending", "rejected", "valid" ], "readOnly" : true } } }, "AdditionalBankIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "code" : { "type" : "string", "description" : "The value of the additional bank identification." }, "type" : { "type" : "string", "description" : "The type of additional bank identification, depending on the country.\n\nPossible values:\n\n * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces.\n * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces.\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" : [ "auBsbCode", "caRoutingNumber", "gbSortCode", "usRoutingNumber" ] } } }, "AdditionalBankIdentificationRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "additionalBankIdentificationType" : { "type" : "string", "description" : "The type of additional bank identification, depending on the country.\n\nPossible values:\n\n * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces.\n * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces.\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" : [ "auBsbCode", "caRoutingNumber", "gbSortCode", "usRoutingNumber" ] }, "description" : { "type" : "string", "description" : "The description of the additional bank identification requirement." }, "type" : { "type" : "string", "default" : "additionalBankIdentificationRequirement", "description" : "**additionalBankIdentificationRequirement**", "enum" : [ "additionalBankIdentificationRequirement" ] } }, "required" : [ "type" ] }, "Address" : { "type" : "object", "additionalProperties" : false, "properties" : { "city" : { "type" : "string", "description" : "The name of the city. Maximum length: 3000 characters.", "maxLength" : 3000 }, "country" : { "type" : "string", "description" : "The two-character ISO-3166-1 alpha-2 country code. For example, **US**.\n> If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`." }, "houseNumberOrName" : { "type" : "string", "description" : "The number or name of the house. Maximum length: 3000 characters.", "maxLength" : 3000 }, "postalCode" : { "type" : "string", "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." }, "stateOrProvince" : { "type" : "string", "description" : "The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada." }, "street" : { "type" : "string", "description" : "The name of the street. Maximum length: 3000 characters.\n> The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.", "maxLength" : 3000 } }, "required" : [ "city", "country", "houseNumberOrName", "postalCode", "street" ] }, "AddressRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies the required address related fields for a particular route." }, "requiredAddressFields" : { "type" : "array", "description" : "List of address fields.", "items" : { "type" : "string", "enum" : [ "city", "country", "line1", "postalCode", "stateOrProvince" ] } }, "type" : { "type" : "string", "default" : "addressRequirement", "description" : "**addressRequirement**", "enum" : [ "addressRequirement" ] } }, "required" : [ "type" ] }, "Amount" : { "type" : "object", "additionalProperties" : false, "properties" : { "currency" : { "type" : "string", "description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.", "maxLength" : 3, "minLength" : 3 }, "value" : { "type" : "integer", "format" : "int64", "description" : "The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units)." } }, "required" : [ "currency", "value" ] }, "AmountMinMaxRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies the eligible amounts for a particular route." }, "max" : { "type" : "integer", "format" : "int64", "description" : "Maximum amount." }, "min" : { "type" : "integer", "format" : "int64", "description" : "Minimum amount." }, "type" : { "type" : "string", "default" : "amountMinMaxRequirement", "description" : "**amountMinMaxRequirement**", "enum" : [ "amountMinMaxRequirement" ] } }, "required" : [ "type" ] }, "AmountNonZeroDecimalsRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers." }, "type" : { "type" : "string", "default" : "amountNonZeroDecimalsRequirement", "description" : "**amountNonZeroDecimalsRequirement**", "enum" : [ "amountNonZeroDecimalsRequirement" ] } }, "required" : [ "type" ] }, "Authentication" : { "type" : "object", "additionalProperties" : false, "properties" : { "email" : { "type" : "string", "description" : "The email address where the one-time password (OTP) is sent." }, "password" : { "type" : "string", "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.\n\n* Characters between **a-z**, **A-Z**, and **0-9**\n\n* Special characters: **äöüßÄÖÜ+-*/ç%()=?!~#'\",;:$&àùòâôûáúó**", "maxLength" : 30, "minLength" : 1 }, "phone" : { "$ref" : "#/components/schemas/Phone", "description" : "The phone number where the one-time password (OTP) is sent.\n\nThis object must have:\n\n* A `type` set to **mobile**.\n\n* A `number` with a valid country code.\n\n* A `number` with more than 4 digits, excluding the country code.\n\n>Make sure to verify that the card user owns the phone number." } } }, "BRLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The bank account number, without separators or whitespace.", "maxLength" : 10, "minLength" : 1 }, "bankCode" : { "type" : "string", "description" : "The 3-digit bank code, with leading zeros.", "maxLength" : 3, "minLength" : 3 }, "branchNumber" : { "type" : "string", "description" : "The bank account branch number, without separators or whitespace.", "maxLength" : 4, "minLength" : 1 }, "ispb" : { "type" : "string", "description" : "The 8-digit ISPB, with leading zeros.", "maxLength" : 8, "minLength" : 8 }, "type" : { "type" : "string", "default" : "brLocal", "description" : "**brLocal**", "enum" : [ "brLocal" ] } }, "required" : [ "accountNumber", "bankCode", "branchNumber", "type" ] }, "Balance" : { "type" : "object", "additionalProperties" : false, "properties" : { "available" : { "type" : "integer", "format" : "int64", "description" : "The balance available for use." }, "balance" : { "type" : "integer", "format" : "int64", "description" : "The sum of the transactions that have already been settled." }, "currency" : { "type" : "string", "description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance." }, "pending" : { "type" : "integer", "format" : "int64", "description" : "The sum of the transactions that will be settled in the future." }, "reserved" : { "type" : "integer", "format" : "int64", "description" : "The balance currently held in reserve." } }, "required" : [ "available", "balance", "currency", "reserved" ] }, "BalanceAccount" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountHolderId" : { "type" : "string", "description" : "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account." }, "balances" : { "type" : "array", "description" : "List of balances with the amount and currency.", "items" : { "$ref" : "#/components/schemas/Balance" } }, "defaultCurrencyCode" : { "type" : "string", "description" : "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. This is the currency displayed on the Balance Account overview page in your Customer Area.\nThe default value is **EUR**.\n> After a balance account is created, you cannot change its default currency." }, "description" : { "type" : "string", "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 }, "id" : { "type" : "string", "description" : "The unique identifier of the balance account." }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "migratedAccountCode" : { "type" : "string", "description" : "The unique identifier of the account of the migrated account holder in the classic integration.", "readOnly" : true }, "paymentInstruments" : { "type" : "array", "description" : "List of [payment instruments](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/paymentInstruments) associated with the balance account.", "items" : { "$ref" : "#/components/schemas/PaymentInstrumentReference" } }, "platformPaymentConfiguration" : { "$ref" : "#/components/schemas/PlatformPaymentConfiguration", "description" : "Contains key-value pairs to configure the sales day closing time and settlement delay for a balance account." }, "reference" : { "type" : "string", "description" : "Your reference for the balance account, maximum 150 characters.", "maxLength" : 150 }, "status" : { "type" : "string", "description" : "The status of the balance account, set to **Active** by default. \n", "enum" : [ "Active", "Closed", "Inactive", "Suspended" ] }, "timeZone" : { "type" : "string", "description" : "The time zone of the balance account. For example, **Europe/Amsterdam**.\nDefaults 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)." } }, "required" : [ "accountHolderId", "id" ] }, "BalanceAccountBase" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountHolderId" : { "type" : "string", "description" : "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account." }, "defaultCurrencyCode" : { "type" : "string", "description" : "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. This is the currency displayed on the Balance Account overview page in your Customer Area.\nThe default value is **EUR**.\n> After a balance account is created, you cannot change its default currency." }, "description" : { "type" : "string", "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 }, "id" : { "type" : "string", "description" : "The unique identifier of the balance account." }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "migratedAccountCode" : { "type" : "string", "description" : "The unique identifier of the account of the migrated account holder in the classic integration.", "readOnly" : true }, "paymentInstruments" : { "type" : "array", "description" : "List of [payment instruments](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/paymentInstruments) associated with the balance account.", "items" : { "$ref" : "#/components/schemas/PaymentInstrumentReference" } }, "platformPaymentConfiguration" : { "$ref" : "#/components/schemas/PlatformPaymentConfiguration", "description" : "Contains key-value pairs to configure the sales day closing time and settlement delay for a balance account." }, "reference" : { "type" : "string", "description" : "Your reference for the balance account, maximum 150 characters.", "maxLength" : 150 }, "status" : { "type" : "string", "description" : "The status of the balance account, set to **Active** by default. \n", "enum" : [ "Active", "Closed", "Inactive", "Suspended" ] }, "timeZone" : { "type" : "string", "description" : "The time zone of the balance account. For example, **Europe/Amsterdam**.\nDefaults 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)." } }, "required" : [ "accountHolderId", "id" ] }, "BalanceAccountInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountHolderId" : { "type" : "string", "description" : "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account." }, "defaultCurrencyCode" : { "type" : "string", "description" : "The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. This is the currency displayed on the Balance Account overview page in your Customer Area.\nThe default value is **EUR**.\n> After a balance account is created, you cannot change its default currency." }, "description" : { "type" : "string", "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 }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "migratedAccountCode" : { "type" : "string", "description" : "The unique identifier of the account of the migrated account holder in the classic integration.", "readOnly" : true }, "platformPaymentConfiguration" : { "$ref" : "#/components/schemas/PlatformPaymentConfiguration", "description" : "Contains key-value pairs to configure the sales day closing time and settlement delay for a balance account." }, "reference" : { "type" : "string", "description" : "Your reference for the balance account, maximum 150 characters.", "maxLength" : 150 }, "timeZone" : { "type" : "string", "description" : "The time zone of the balance account. For example, **Europe/Amsterdam**.\nDefaults 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)." } }, "required" : [ "accountHolderId" ] }, "BalanceAccountUpdateRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountHolderId" : { "type" : "string", "description" : "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account." }, "description" : { "type" : "string", "description" : "A human-readable description of the balance account. You can use this parameter to distinguish between multiple balance accounts under an account holder.", "maxLength" : 300 }, "metadata" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "A set of key and value pairs for general use.\nThe keys do not have specific names and may be used for storing miscellaneous data as desired.\n> Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs." }, "platformPaymentConfiguration" : { "$ref" : "#/components/schemas/PlatformPaymentConfiguration", "description" : "Contains key-value pairs to configure the sales day closing time and settlement delay for a balance account." }, "reference" : { "type" : "string", "description" : "Your reference to the balance account.", "maxLength" : 150 }, "status" : { "type" : "string", "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**.\n\nPossible values: **Active**, **Closed**, **Suspended**.", "enum" : [ "Active", "Closed", "Inactive", "Suspended" ] }, "timeZone" : { "type" : "string", "description" : "The time zone of the balance account. For example, **Europe/Amsterdam**.\nDefaults 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)." } } }, "BalancePlatform" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Your description of the balance platform.", "maxLength" : 300 }, "id" : { "type" : "string", "description" : "The unique identifier of the balance platform." }, "status" : { "type" : "string", "description" : "The status of the balance platform.\n\nPossible values: **Active**, **Inactive**, **Closed**, **Suspended**." } }, "required" : [ "id" ] }, "BankAccount" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountIdentification" : { "description" : "Contains the bank account details. The fields required in this object depend on the country of the bank account and the currency of the transfer.", "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" ] }, "BankAccountDetails" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The bank account number, without separators or whitespace." }, "accountType" : { "type" : "string", "default" : "checking", "description" : "The bank account type.\n\nPossible values: **checking** or **savings**. Defaults to **checking**." }, "branchNumber" : { "type" : "string", "description" : "The bank account branch number, without separators or whitespace" }, "formFactor" : { "type" : "string", "default" : "physical", "description" : "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. \n\nAdyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL." }, "iban" : { "type" : "string", "description" : "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard." }, "routingNumber" : { "type" : "string", "description" : "The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace." }, "sortCode" : { "type" : "string", "description" : "The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace." }, "type" : { "type" : "string", "default" : "iban", "description" : "**iban** or **usLocal** or **ukLocal**" } }, "required" : [ "type" ] }, "BankAccountIdentificationTypeRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "bankAccountIdentificationTypes" : { "type" : "array", "description" : "List of bank account identification types: eg.; [iban , numberAndBic]", "items" : { "type" : "string", "enum" : [ "auLocal", "brLocal", "caLocal", "czLocal", "dkLocal", "hkLocal", "huLocal", "iban", "inLocal", "jpLocal", "legacy", "mxLocal", "myLocal", "noLocal", "numberAndBic", "nzLocal", "plLocal", "seLocal", "sgLocal", "ukLocal", "usLocal" ] } }, "description" : { "type" : "string", "description" : "Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer." }, "type" : { "type" : "string", "default" : "bankAccountIdentificationTypeRequirement", "description" : "**bankAccountIdentificationTypeRequirement**", "enum" : [ "bankAccountIdentificationTypeRequirement" ] } }, "required" : [ "type" ] }, "BankAccountIdentificationValidationRequest" : { "type" : "object", "additionalProperties" : false, "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" ] }, "BankAccountModel" : { "type" : "object", "additionalProperties" : false, "properties" : { "formFactor" : { "type" : "string", "default" : "physical", "description" : "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. \n\nAdyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.", "enum" : [ "physical", "unknown", "virtual" ], "nullable" : true } } }, "BulkAddress" : { "type" : "object", "additionalProperties" : false, "properties" : { "city" : { "type" : "string", "description" : "The name of the city." }, "company" : { "type" : "string", "description" : "The name of the company." }, "country" : { "type" : "string", "description" : "The two-character ISO-3166-1 alpha-2 country code. For example, **US**." }, "email" : { "type" : "string", "description" : "The email address." }, "houseNumberOrName" : { "type" : "string", "description" : "The house number or name." }, "mobile" : { "type" : "string", "description" : "The full telephone number." }, "postalCode" : { "type" : "string", "description" : "The postal code.\n\nMaximum length:\n\n* 5 digits for addresses in the US.\n\n* 10 characters for all other countries." }, "stateOrProvince" : { "type" : "string", "description" : "The two-letter ISO 3166-2 state or province code.\n\nMaximum length: 2 characters for addresses in the US." }, "street" : { "type" : "string", "description" : "The streetname of the house." } }, "required" : [ "country" ] }, "CALocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 5- to 12-digit bank account number, without separators or whitespace.", "maxLength" : 12, "minLength" : 5 }, "accountType" : { "type" : "string", "default" : "checking", "description" : "The bank account type.\n\nPossible values: **checking** or **savings**. Defaults to **checking**.", "enum" : [ "checking", "savings" ] }, "institutionNumber" : { "type" : "string", "description" : "The 3-digit institution number, without separators or whitespace.", "maxLength" : 3, "minLength" : 3 }, "transitNumber" : { "type" : "string", "description" : "The 5-digit transit number, without separators or whitespace.", "maxLength" : 5, "minLength" : 5 }, "type" : { "type" : "string", "default" : "caLocal", "description" : "**caLocal**", "enum" : [ "caLocal" ] } }, "required" : [ "accountNumber", "institutionNumber", "transitNumber", "type" ] }, "CZLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 2- to 16-digit bank account number (Číslo účtu) in the following format:\n\n- The optional prefix (předčíslí).\n\n- The required second part (základní část) which must be at least two non-zero digits.\n\nExamples:\n\n- **19-123457** (with prefix)\n\n- **123457** (without prefix)\n\n- **000019-0000123457** (with prefix, normalized)\n\n- **000000-0000123457** (without prefix, normalized)", "maxLength" : 17, "minLength" : 2 }, "bankCode" : { "type" : "string", "description" : "The 4-digit bank code (Kód banky), without separators or whitespace.", "maxLength" : 4, "minLength" : 4 }, "type" : { "type" : "string", "default" : "czLocal", "description" : "**czLocal**", "enum" : [ "czLocal" ] } }, "required" : [ "accountNumber", "bankCode", "type" ] }, "CapabilityProblem" : { "type" : "object", "additionalProperties" : false, "properties" : { "entity" : { "$ref" : "#/components/schemas/CapabilityProblemEntity", "description" : "Contains the type of the entity and the corresponding ID." }, "verificationErrors" : { "type" : "array", "description" : "Contains information about the verification error.", "items" : { "$ref" : "#/components/schemas/VerificationError" } } } }, "CapabilityProblemEntity" : { "type" : "object", "additionalProperties" : false, "properties" : { "documents" : { "type" : "array", "description" : "List of document IDs to which the verification errors related to the capabilities correspond to.", "items" : { "type" : "string" } }, "id" : { "type" : "string", "description" : "The ID of the entity." }, "owner" : { "$ref" : "#/components/schemas/CapabilityProblemEntity-recursive", "description" : "Contains details about the owner of the entity that has an error." }, "type" : { "type" : "string", "description" : "Type of entity. \n\nPossible values: **LegalEntity**, **BankAccount**, **Document**.", "enum" : [ "BankAccount", "Document", "LegalEntity" ] } } }, "CapabilityProblemEntity-recursive" : { "type" : "object", "additionalProperties" : false, "properties" : { "documents" : { "type" : "array", "description" : "List of document IDs to which the verification errors related to the capabilities correspond to.", "items" : { "type" : "string" } }, "id" : { "type" : "string", "description" : "The ID of the entity." }, "type" : { "type" : "string", "description" : "Type of entity. \n\nPossible values: **LegalEntity**, **BankAccount**, **Document**.", "enum" : [ "BankAccount", "Document", "LegalEntity" ] } } }, "CapabilitySettings" : { "type" : "object", "additionalProperties" : false, "properties" : { "amountPerIndustry" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/Amount" }, "description" : "" }, "authorizedCardUsers" : { "type" : "boolean", "description" : "" }, "fundingSource" : { "type" : "array", "description" : "", "items" : { "type" : "string", "enum" : [ "credit", "debit", "prepaid" ] } }, "interval" : { "type" : "string", "description" : "", "enum" : [ "daily", "monthly", "weekly" ] }, "maxAmount" : { "$ref" : "#/components/schemas/Amount", "description" : "" } } }, "CapitalBalance" : { "type" : "object", "additionalProperties" : false, "properties" : { "currency" : { "type" : "string", "description" : "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes)." }, "fee" : { "type" : "integer", "format" : "int64", "description" : "Fee amount." }, "principal" : { "type" : "integer", "format" : "int64", "description" : "Principal amount." }, "total" : { "type" : "integer", "format" : "int64", "description" : "Total amount. A sum of principal amount and fee amount." } }, "required" : [ "currency", "fee", "principal", "total" ] }, "CapitalBalanceWrapper" : { "properties" : { "CapitalBalance" : { "$ref" : "#/components/schemas/CapitalBalance" } } }, "CapitalGrantAccount" : { "type" : "object", "additionalProperties" : false, "properties" : { "balances" : { "type" : "array", "description" : "The balances of the grant account.", "items" : { "$ref" : "#/components/schemas/CapitalBalanceWrapper" } }, "fundingBalanceAccountId" : { "type" : "string", "description" : "The unique identifier of the balance account used to fund the grant." }, "id" : { "type" : "string", "description" : "The identifier of the grant account." }, "limits" : { "type" : "array", "description" : "The limits of the grant account.", "items" : { "$ref" : "#/components/schemas/GrantLimitWrapper" } } } }, "Card" : { "type" : "object", "additionalProperties" : false, "properties" : { "authentication" : { "$ref" : "#/components/schemas/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." }, "bin" : { "type" : "string", "description" : "The bank identification number (BIN) of the card number." }, "brand" : { "type" : "string", "description" : "The brand of the physical or the virtual card.\nPossible values: **visa**, **mc**." }, "brandVariant" : { "type" : "string", "description" : "The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**.\n>Reach out to your Adyen contact to get the values relevant for your integration." }, "cardholderName" : { "type" : "string", "description" : "The name of the cardholder.\n Maximum length: 26 characters.", "maxLength" : 26 }, "configuration" : { "$ref" : "#/components/schemas/CardConfiguration", "description" : "Contains information about the configuration profile for your cards. The configuration profile consists of settings required when creating a physical or a virtual card. You identify a configuration profile with its `configurationProfileId`.\n\nWhen you provide this field in a request, you can override the settings of an existing configuration profile.\n\nReach out to your Adyen contact to get the values that you can send in this object." }, "cvc" : { "type" : "string", "description" : "The CVC2 value of the card.\n> The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards." }, "deliveryContact" : { "$ref" : "#/components/schemas/Contact", "description" : "The delivery contact (name and address) for physical card delivery." }, "expiration" : { "$ref" : "#/components/schemas/Expiry", "description" : "The expiration date of the card." }, "formFactor" : { "type" : "string", "description" : "The form factor of the card.\nPossible values: **virtual**, **physical**.", "enum" : [ "physical", "unknown", "virtual" ] }, "lastFour" : { "type" : "string", "description" : "Last last four digits of the card number." }, "number" : { "type" : "string", "description" : "The primary account number (PAN) of the card.\n> The PAN is masked by default and returned only for single-use virtual cards.", "readOnly" : true }, "threeDSecure" : { "type" : "string", "description" : "The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**.\n> Reach out to your Adyen contact to get the values relevant for your integration." }, "usage" : { "type" : "string", "description" : "Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**.\n\n> Reach out to your Adyen contact to determine the value relevant for your integration." } }, "required" : [ "brand", "brandVariant", "cardholderName", "formFactor" ] }, "CardConfiguration" : { "type" : "object", "additionalProperties" : false, "properties" : { "activation" : { "type" : "string", "description" : "The activation label attached to the card that contains the activation instructions.\n\nThis field overrides the activation label design ID defined in the card configuration profile." }, "activationUrl" : { "type" : "string", "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 }, "bulkAddress" : { "$ref" : "#/components/schemas/BulkAddress", "description" : "Overrides the shipment bulk address defined in the card configuration profile." }, "cardImageId" : { "type" : "string", "description" : "The unique identifier of the card image. This image is printed on the full front of the card." }, "carrier" : { "type" : "string", "description" : "The letter or packaging to which the card is attached.\n\nThis field overrides the carrier design ID defined in the card configuration profile. " }, "carrierImageId" : { "type" : "string", "description" : "The unique identifier of the carrier image. This image is printed on the letter to which the card is attached." }, "configurationProfileId" : { "type" : "string", "description" : "The unique identifier of the card configuration profile that contains the settings that are applied to the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment.\n\nYou can override some of the existing settings in the configuration profile by providing the corresponding fields in the `configuration` object. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile." }, "currency" : { "type" : "string", "description" : "The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.\n\nThis field overrides the existing currency setting on the card configuration profile." }, "envelope" : { "type" : "string", "description" : "Overrides the envelope design ID defined in the card configuration profile. " }, "insert" : { "type" : "string", "description" : "Any additional material, such as marketing material, that is shipped together with the card.\n\nThis field overrides the insert design ID defined in the card configuration profile." }, "language" : { "type" : "string", "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**." }, "logoImageId" : { "type" : "string", "description" : "The unique identifier of the logo image. This image is printed on the partial front of the card, for example, a logo on the upper right corner." }, "pinMailer" : { "type" : "string", "description" : "The letter on which the PIN of the card is printed.\n\nThis field overrides the PIN mailer design ID defined in the card configuration profile." }, "printLine" : { "type" : "string", "description" : "Print Line.\n\nText printed on the physical card below the cardholder name. You provide the value, which can be up to 26 characters." }, "shipmentMethod" : { "type" : "string", "description" : "The logistics company that ships the card.\n\nThis field overrides the logistics company defined in the card configuration profile." } }, "required" : [ "configurationProfileId" ] }, "CardInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "authentication" : { "$ref" : "#/components/schemas/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." }, "brand" : { "type" : "string", "description" : "The brand of the physical or the virtual card.\nPossible values: **visa**, **mc**." }, "brandVariant" : { "type" : "string", "description" : "The brand variant of the physical or the virtual card. For example, **visadebit** or **mcprepaid**.\n>Reach out to your Adyen contact to get the values relevant for your integration." }, "cardholderName" : { "type" : "string", "description" : "The name of the cardholder.\n Maximum length: 26 characters.", "maxLength" : 26 }, "configuration" : { "$ref" : "#/components/schemas/CardConfiguration", "description" : "Contains information about the configuration profile for your cards. The configuration profile consists of settings required when creating a physical or a virtual card. You identify a configuration profile with its `configurationProfileId`.\n\nWhen you provide this field in a request, you can override the settings of an existing configuration profile.\n\nReach out to your Adyen contact to get the values that you can send in this object." }, "deliveryContact" : { "$ref" : "#/components/schemas/Contact", "description" : "The delivery contact (name and address) for physical card delivery." }, "formFactor" : { "type" : "string", "description" : "The form factor of the card.\nPossible values: **virtual**, **physical**.", "enum" : [ "physical", "unknown", "virtual" ] }, "threeDSecure" : { "type" : "string", "description" : "The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**.\n> Reach out to your Adyen contact to get the values relevant for your integration." }, "usage" : { "type" : "string", "description" : "Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**.\n\n> Reach out to your Adyen contact to determine the value relevant for your integration." } }, "required" : [ "brand", "brandVariant", "cardholderName", "formFactor" ] }, "CardOrder" : { "type" : "object", "additionalProperties" : false, "properties" : { "beginDate" : { "type" : "string", "format" : "date-time", "description" : "The date when the card order is created." }, "cardManufacturingProfileId" : { "type" : "string", "description" : "The unique identifier of the card manufacturer profile." }, "closedDate" : { "type" : "string", "format" : "date-time", "description" : "The date when the card order processing ends." }, "endDate" : { "type" : "string", "format" : "date-time", "description" : "The date when you manually closed the card order.\n\nCard orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`." }, "id" : { "type" : "string", "description" : "The unique identifier of the card order." }, "lockDate" : { "type" : "string", "format" : "date-time", "description" : "The date when the card order processing begins." }, "serviceCenter" : { "type" : "string", "description" : "The service center." }, "status" : { "type" : "string", "description" : "The status of the card order.\n\nPossible values: **Open**, **Closed**.", "enum" : [ "closed", "open" ] } } }, "CardOrderItem" : { "type" : "object", "additionalProperties" : false, "properties" : { "balancePlatform" : { "type" : "string", "description" : "The unique identifier of the balance platform." }, "card" : { "$ref" : "#/components/schemas/CardOrderItemDeliveryStatus", "description" : "The status of the card delivery.\n\nPossible values: **created**, **rejected**, **processing**, **produced**, **shipped**, **delivered**, **notApplicable**, **unknown**. " }, "cardOrderItemId" : { "type" : "string", "description" : "The unique identifier of the card order item." }, "creationDate" : { "type" : "string", "format" : "date-time", "description" : "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**." }, "id" : { "type" : "string", "description" : "The ID of the resource.", "readOnly" : true }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument related to the card order item." }, "pin" : { "$ref" : "#/components/schemas/CardOrderItemDeliveryStatus", "description" : "Contains information about the status of the PIN delivery." }, "shippingMethod" : { "type" : "string", "description" : "The shipping method used to deliver the card or the PIN." } } }, "CardOrderItemDeliveryStatus" : { "type" : "object", "additionalProperties" : false, "properties" : { "errorMessage" : { "type" : "string", "description" : "An error message." }, "status" : { "type" : "string", "description" : "The status of the PIN delivery.", "enum" : [ "created", "delivered", "notApplicable", "processing", "produced", "rejected", "shipped", "unknown" ] }, "trackingNumber" : { "type" : "string", "description" : "The tracking number of the PIN delivery." } } }, "Contact" : { "type" : "object", "additionalProperties" : false, "properties" : { "address" : { "$ref" : "#/components/schemas/Address", "description" : "The address of the contact." }, "email" : { "type" : "string", "description" : "The e-mail address of the contact." }, "fullPhoneNumber" : { "type" : "string", "description" : "The phone number of the contact provided as a single string. It will be handled as a landline phone.\n**Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"" }, "name" : { "$ref" : "#/components/schemas/Name", "description" : "The name of the contact." }, "personalData" : { "$ref" : "#/components/schemas/PersonalData", "description" : "Personal data of the contact." }, "phoneNumber" : { "$ref" : "#/components/schemas/PhoneNumber", "description" : "The phone number of the contact." }, "webAddress" : { "type" : "string", "description" : "The URL of the website of the contact." } } }, "ContactDetails" : { "type" : "object", "additionalProperties" : false, "deprecated" : true, "properties" : { "address" : { "$ref" : "#/components/schemas/Address", "description" : "The address of the account holder." }, "email" : { "type" : "string", "description" : "The email address of the account holder." }, "phone" : { "$ref" : "#/components/schemas/Phone", "description" : "The phone number of the account holder." }, "webAddress" : { "type" : "string", "description" : "The URL of the account holder's website." } }, "required" : [ "address", "email", "phone" ] }, "Counterparty" : { "type" : "object", "additionalProperties" : false, "properties" : { "bankAccount" : { "$ref" : "#/components/schemas/BankAccount", "description" : "Contains information about the bank account." }, "transferInstrumentId" : { "type" : "string", "description" : "The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id)." } } }, "DKLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).", "maxLength" : 10, "minLength" : 4 }, "bankCode" : { "type" : "string", "description" : "The 4-digit bank code (Registreringsnummer) (without separators or whitespace).", "maxLength" : 4, "minLength" : 4 }, "type" : { "type" : "string", "default" : "dkLocal", "description" : "**dkLocal**", "enum" : [ "dkLocal" ] } }, "required" : [ "accountNumber", "bankCode", "type" ] }, "DelegatedAuthenticationData" : { "type" : "object", "additionalProperties" : false, "properties" : { "sdkOutput" : { "type" : "string", "description" : "A base64-encoded block with the data required to register the SCA device. You obtain this information by using our authentication SDK.", "maxLength" : 20000 } }, "required" : [ "sdkOutput" ] }, "Device" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "string", "description" : "The unique identifier of the SCA device." }, "name" : { "type" : "string", "description" : "The name of the SCA device. You can show this name to your user to help them identify the device." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument that is associated with the SCA device." }, "type" : { "type" : "string", "description" : "The type of device.\n\nPossible values: **ios**, **android**, **browser**.", "enum" : [ "ios", "android", "browser" ] } } }, "DeviceInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "formFactor" : { "type" : "string", "description" : "The type of device used to provision the network token." }, "osName" : { "type" : "string", "description" : "The operating system of the device used to provision the network token." } } }, "Expiry" : { "type" : "object", "additionalProperties" : false, "properties" : { "month" : { "type" : "string", "description" : "The month in which the card will expire." }, "year" : { "type" : "string", "description" : "The year in which the card will expire." } } }, "GetNetworkTokenResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "token" : { "$ref" : "#/components/schemas/NetworkToken", "description" : "The details of the network token." } }, "required" : [ "token" ] }, "GrantLimit" : { "type" : "object", "additionalProperties" : false, "properties" : { "amount" : { "$ref" : "#/components/schemas/Amount", "description" : "The amount available on the grant account." } } }, "GrantLimitWrapper" : { "properties" : { "GrantLimit" : { "$ref" : "#/components/schemas/GrantLimit" } } }, "HKLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 9- to 17-digit bank account number, without separators or whitespace. Starts with the 3-digit branch code.", "maxLength" : 17, "minLength" : 9 }, "clearingCode" : { "type" : "string", "description" : "The 3-digit clearing code, without separators or whitespace.", "maxLength" : 3, "minLength" : 3 }, "type" : { "type" : "string", "default" : "hkLocal", "description" : "**hkLocal**", "enum" : [ "hkLocal" ] } }, "required" : [ "accountNumber", "clearingCode", "type" ] }, "HULocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 24-digit bank account number, without separators or whitespace.", "maxLength" : 24, "minLength" : 24 }, "type" : { "type" : "string", "default" : "huLocal", "description" : "**huLocal**", "enum" : [ "huLocal" ] } }, "required" : [ "accountNumber", "type" ] }, "Href" : { "type" : "object", "properties" : { "href" : { "type" : "string" } } }, "IbanAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "bic" : { "type" : "string", "description" : "The bank's 8- or 11-character BIC or SWIFT code." }, "iban" : { "type" : "string", "description" : "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard." }, "type" : { "type" : "string", "default" : "iban", "description" : "**iban**", "enum" : [ "iban" ] } }, "required" : [ "iban", "type" ] }, "IbanAccountIdentificationRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies the allowed prefixes for the international bank account number as defined in the ISO-13616 standard." }, "ibanPrefixes" : { "type" : "array", "description" : "Contains the list of allowed prefixes for international bank accounts. For example: NL, US, UK.", "items" : { "type" : "string" } }, "type" : { "type" : "string", "default" : "ibanAccountIdentificationRequirement", "description" : "**ibanAccountIdentificationRequirement**", "enum" : [ "ibanAccountIdentificationRequirement" ] } }, "required" : [ "type" ] }, "InvalidField" : { "type" : "object", "properties" : { "message" : { "type" : "string", "description" : "Description of the validation error." }, "name" : { "type" : "string", "description" : "The field that has an invalid value." }, "value" : { "type" : "string", "description" : "The invalid value." } }, "required" : [ "message", "name", "value" ] }, "JSONObject" : { "type" : "object" }, "Link" : { "type" : "object", "properties" : { "first" : { "$ref" : "#/components/schemas/Href", "description" : "The link to the first page of the list." }, "last" : { "$ref" : "#/components/schemas/Href", "description" : "The link to the last page of the list." }, "next" : { "$ref" : "#/components/schemas/Href", "description" : "The link to the next page of the list." }, "previous" : { "$ref" : "#/components/schemas/Href", "description" : "The link to the previous page of the list." }, "self" : { "$ref" : "#/components/schemas/Href", "description" : "The link to the list page you are currently viewing." } } }, "ListNetworkTokensResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "networkTokens" : { "type" : "array", "description" : "List of network tokens.", "items" : { "$ref" : "#/components/schemas/NetworkToken" } } } }, "NOLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 11-digit bank account number, without separators or whitespace.", "maxLength" : 11, "minLength" : 11 }, "type" : { "type" : "string", "default" : "noLocal", "description" : "**noLocal**", "enum" : [ "noLocal" ] } }, "required" : [ "accountNumber", "type" ] }, "NZLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "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" : { "type" : "string", "default" : "nzLocal", "description" : "**nzLocal**", "enum" : [ "nzLocal" ] } }, "required" : [ "accountNumber", "type" ] }, "Name" : { "type" : "object", "additionalProperties" : false, "properties" : { "firstName" : { "type" : "string", "description" : "The first name.", "maxLength" : 80 }, "lastName" : { "type" : "string", "description" : "The last name.", "maxLength" : 80 } }, "required" : [ "firstName", "lastName" ] }, "NetworkToken" : { "type" : "object", "additionalProperties" : false, "properties" : { "brandVariant" : { "type" : "string", "description" : "The card brand variant of the payment instrument associated with the network token. For example, **mc_prepaid_mrw**." }, "creationDate" : { "type" : "string", "format" : "date-time", "description" : "Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2025-03-19T10:15:30+01:00**.." }, "device" : { "$ref" : "#/components/schemas/DeviceInfo", "description" : "Contains information about the device used to provision the network token." }, "id" : { "type" : "string", "description" : "The unique identifier of the network token." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument to which this network token belongs to." }, "status" : { "type" : "string", "description" : "The status of the network token. Possible values: **active**, **inactive**, **suspended**, **closed**.", "enum" : [ "active", "inactive", "suspended", "closed" ] }, "tokenLastFour" : { "type" : "string", "description" : "The last four digits of the network token `id`." }, "tokenRequestor" : { "$ref" : "#/components/schemas/NetworkTokenRequestor", "description" : "The token requestor is an entity who requested tokenization of the card for secure payments." }, "type" : { "type" : "string", "description" : "The type of network token. For example, **wallet**, **cof**." } } }, "NetworkTokenActivationDataRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "sdkOutput" : { "type" : "string", "description" : "A block of data automatically generated by Adyen's SDK for network token provisioning. This `sdkOutput` is required to create provisioning data for the network token.\n\nFor more information, see the repositories for Adyen's SDKs for network token provisioning:\n* [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios).\n* [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android)" } } }, "NetworkTokenActivationDataResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "sdkInput" : { "type" : "string", "description" : "A block of data that contains the activation data for a network token. This `sdkInput` is required to initialize Adyen's SDK for network token provisioning.\n\nFor more information, see the repositories for Adyen's SDKs for network token provisioning:\n* [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios).\n* [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android)" } } }, "NetworkTokenRequestor" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "string", "description" : "The id of the network token requestor." }, "name" : { "type" : "string", "description" : "The name of the network token requestor." } } }, "NumberAndBicAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The bank account number, without separators or whitespace. The length and format depends on the bank or country.", "maxLength" : 34 }, "additionalBankIdentification" : { "$ref" : "#/components/schemas/AdditionalBankIdentification", "description" : "Additional identification codes of the bank. Some banks may require these identifiers for cross-border transfers." }, "bic" : { "type" : "string", "description" : "The bank's 8- or 11-character BIC or SWIFT code.", "maxLength" : 11, "minLength" : 8 }, "type" : { "type" : "string", "default" : "numberAndBic", "description" : "**numberAndBic**", "enum" : [ "numberAndBic" ] } }, "required" : [ "accountNumber", "bic", "type" ] }, "PLLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "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" : { "type" : "string", "default" : "plLocal", "description" : "**plLocal**", "enum" : [ "plLocal" ] } }, "required" : [ "accountNumber", "type" ] }, "PaginatedAccountHoldersResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountHolders" : { "type" : "array", "description" : "List of account holders.", "items" : { "$ref" : "#/components/schemas/AccountHolder" } }, "hasNext" : { "type" : "boolean", "description" : "Indicates whether there are more items on the next page." }, "hasPrevious" : { "type" : "boolean", "description" : "Indicates whether there are more items on the previous page." } }, "required" : [ "accountHolders", "hasNext", "hasPrevious" ] }, "PaginatedBalanceAccountsResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "balanceAccounts" : { "type" : "array", "description" : "List of balance accounts.", "items" : { "$ref" : "#/components/schemas/BalanceAccountBase" } }, "hasNext" : { "type" : "boolean", "description" : "Indicates whether there are more items on the next page." }, "hasPrevious" : { "type" : "boolean", "description" : "Indicates whether there are more items on the previous page." } }, "required" : [ "balanceAccounts", "hasNext", "hasPrevious" ] }, "PaginatedGetCardOrderItemResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "data" : { "type" : "array", "description" : "List of card order items in the card order batch.", "items" : { "$ref" : "#/components/schemas/CardOrderItem" } }, "hasNext" : { "type" : "boolean", "description" : "Indicates whether there are more items on the next page." }, "hasPrevious" : { "type" : "boolean", "description" : "Indicates whether there are more items on the previous page." } }, "required" : [ "data", "hasNext", "hasPrevious" ] }, "PaginatedGetCardOrderResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "cardOrders" : { "type" : "array", "description" : "Contains objects with information about card orders.", "items" : { "$ref" : "#/components/schemas/CardOrder" } }, "hasNext" : { "type" : "boolean", "description" : "Indicates whether there are more items on the next page." }, "hasPrevious" : { "type" : "boolean", "description" : "Indicates whether there are more items on the previous page." } }, "required" : [ "hasNext", "hasPrevious" ] }, "PaginatedPaymentInstrumentsResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "hasNext" : { "type" : "boolean", "description" : "Indicates whether there are more items on the next page." }, "hasPrevious" : { "type" : "boolean", "description" : "Indicates whether there are more items on the previous page." }, "paymentInstruments" : { "type" : "array", "description" : "List of payment instruments associated with the balance account.", "items" : { "$ref" : "#/components/schemas/PaymentInstrument" } } }, "required" : [ "hasNext", "hasPrevious", "paymentInstruments" ] }, "PaymentInstrument" : { "type" : "object", "additionalProperties" : false, "properties" : { "additionalBankAccountIdentifications" : { "type" : "array", "description" : "Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.", "items" : { "oneOf" : [ { "$ref" : "#/components/schemas/IbanAccountIdentification" } ] } }, "balanceAccountId" : { "type" : "string", "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." }, "bankAccount" : { "$ref" : "#/components/schemas/BankAccountDetails", "description" : "Contains the business account details. Returned when you create a payment instrument with `type` **bankAccount**." }, "card" : { "$ref" : "#/components/schemas/Card", "description" : "Contains information about the card payment instrument. Returned when you create a payment instrument with `type` **card**." }, "description" : { "type" : "string", "description" : "Your description for the payment instrument, maximum 300 characters.", "maxLength" : 300 }, "id" : { "type" : "string", "description" : "The unique identifier of the payment instrument." }, "issuingCountryCode" : { "type" : "string", "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**." }, "paymentInstrumentGroupId" : { "type" : "string", "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." }, "reference" : { "type" : "string", "description" : "Your reference for the payment instrument, maximum 150 characters.", "maxLength" : 150 }, "replacedById" : { "type" : "string", "description" : "The unique identifier of the payment instrument that replaced this payment instrument." }, "replacementOfId" : { "type" : "string", "description" : "The unique identifier of the payment instrument that is replaced by this payment instrument." }, "status" : { "type" : "string", "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 **Requested**.\n\nPossible values: \n\n * **Active**: The payment instrument is active and can be used to make payments. \n\n * **Requested**: The payment instrument has been requested. This state is applicable for physical cards. \n\n* **Inactive**: The payment instrument is inactive and cannot be used to make payments. \n\n * **Suspended**: The payment instrument is temporarily suspended and cannot be used to make payments. \n\n * **Closed**: The payment instrument is permanently closed. This action cannot be undone. \n\n* **Stolen** \n\n * **Lost**\n\n ", "enum" : [ "Active", "Closed", "Inactive", "Lost", "Requested", "Stolen", "Suspended", "blocked", "discarded" ] }, "type" : { "type" : "string", "description" : "The type of payment instrument.\n\nPossible values: **card**, **bankAccount**.", "enum" : [ "bankAccount", "card" ] } }, "required" : [ "balanceAccountId", "id", "issuingCountryCode", "type" ] }, "PaymentInstrumentGroup" : { "type" : "object", "additionalProperties" : false, "properties" : { "balancePlatform" : { "type" : "string", "description" : "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs." }, "description" : { "type" : "string", "description" : "Your description for the payment instrument group.", "maxLength" : 300 }, "id" : { "type" : "string", "description" : "The unique identifier of the payment instrument group." }, "properties" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "Properties of the payment instrument group." }, "reference" : { "type" : "string", "description" : "Your reference for the payment instrument group.", "maxLength" : 150 }, "txVariant" : { "type" : "string", "description" : "The tx variant of the payment instrument group." } }, "required" : [ "balancePlatform", "txVariant" ] }, "PaymentInstrumentGroupInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "balancePlatform" : { "type" : "string", "description" : "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the payment instrument group belongs." }, "description" : { "type" : "string", "description" : "Your description for the payment instrument group.", "maxLength" : 300 }, "properties" : { "type" : "object", "additionalProperties" : { "type" : "string" }, "description" : "Properties of the payment instrument group." }, "reference" : { "type" : "string", "description" : "Your reference for the payment instrument group.", "maxLength" : 150 }, "txVariant" : { "type" : "string", "description" : "The tx variant of the payment instrument group." } }, "required" : [ "balancePlatform", "txVariant" ] }, "PaymentInstrumentInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "balanceAccountId" : { "type" : "string", "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." }, "bankAccount" : { "$ref" : "#/components/schemas/BankAccountModel", "description" : "Contains the business account details." }, "card" : { "$ref" : "#/components/schemas/CardInfo", "description" : "Contains information about the card. Required when you create a payment instrument of `type` **card**." }, "description" : { "type" : "string", "description" : "Your description for the payment instrument, maximum 300 characters.", "maxLength" : 300 }, "issuingCountryCode" : { "type" : "string", "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**." }, "paymentInstrumentGroupId" : { "type" : "string", "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." }, "reference" : { "type" : "string", "description" : "Your reference for the payment instrument, maximum 150 characters.", "maxLength" : 150 }, "status" : { "type" : "string", "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 **Requested**.\n\nPossible values: \n\n * **Active**: The payment instrument is active and can be used to make payments. \n\n * **Requested**: The payment instrument has been requested. This state is applicable for physical cards. \n\n* **Inactive**: The payment instrument is inactive and cannot be used to make payments. \n\n * **Suspended**: The payment instrument is temporarily suspended and cannot be used to make payments. \n\n * **Closed**: The payment instrument is permanently closed. This action cannot be undone. \n\n* **Stolen** \n\n * **Lost**\n\n ", "enum" : [ "Active", "Closed", "Inactive", "Lost", "Requested", "Stolen", "Suspended", "blocked", "discarded" ] }, "type" : { "type" : "string", "description" : "The type of payment instrument.\n\nPossible values: **card**, **bankAccount**.", "enum" : [ "bankAccount", "card" ] } }, "required" : [ "balanceAccountId", "issuingCountryCode", "type" ] }, "PaymentInstrumentReference" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "string", "description" : "The unique identifier of the payment instrument." } }, "required" : [ "id" ] }, "PaymentInstrumentRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies the requirements for the payment instrument that need to be included in the request for a particular route." }, "issuingCountryCode" : { "type" : "string", "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**." }, "issuingCountryCodes" : { "type" : "array", "description" : "The two-character ISO-3166-1 alpha-2 country code list for payment instruments.", "items" : { "type" : "string" } }, "onlyForCrossBalancePlatform" : { "type" : "boolean", "description" : "Specifies if the requirement only applies to transfers to another balance platform." }, "paymentInstrumentType" : { "type" : "string", "description" : "The type of the payment instrument. For example, \"BankAccount\" or \"Card\".", "enum" : [ "BankAccount", "Card" ] }, "type" : { "type" : "string", "default" : "paymentInstrumentRequirement", "description" : "**paymentInstrumentRequirement**", "enum" : [ "paymentInstrumentRequirement" ] } }, "required" : [ "type" ] }, "PaymentInstrumentRevealInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "cvc" : { "type" : "string", "description" : "The CVC2 value of the card." }, "expiration" : { "$ref" : "#/components/schemas/Expiry", "description" : "The expiration date of the card." }, "pan" : { "type" : "string", "description" : "The primary account number (PAN) of the card." } }, "required" : [ "cvc", "expiration", "pan" ] }, "PaymentInstrumentRevealRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "encryptedKey" : { "type" : "string", "description" : "The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument, which is the card for which you are managing the PIN." } }, "required" : [ "encryptedKey", "paymentInstrumentId" ] }, "PaymentInstrumentRevealResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "encryptedData" : { "type" : "string", "description" : "The data encrypted using the `encryptedKey`." } }, "required" : [ "encryptedData" ] }, "PaymentInstrumentUpdateRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "balanceAccountId" : { "type" : "string", "description" : "The unique identifier of the balance account associated with this payment instrument.\n>You can only change the balance account ID if the payment instrument has **Requested** or **Inactive** status." }, "card" : { "$ref" : "#/components/schemas/CardInfo", "description" : "Object that contains information about the card payment instrument." }, "status" : { "type" : "string", "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 **Requested**.\n\nPossible values: \n\n * **Active**: The payment instrument is active and can be used to make payments. \n\n * **Requested**: The payment instrument has been requested. This state is applicable for physical cards. \n\n* **Inactive**: The payment instrument is inactive and cannot be used to make payments. \n\n * **Suspended**: The payment instrument is temporarily suspended and cannot be used to make payments. \n\n * **Closed**: The payment instrument is permanently closed. This action cannot be undone. \n\n* **Stolen** \n\n * **Lost**\n\n ", "enum" : [ "Active", "Closed", "Inactive", "Lost", "Requested", "Stolen", "Suspended", "blocked", "discarded" ] }, "statusComment" : { "type" : "string", "description" : "Comment for the status of the payment instrument." } } }, "PersonalData" : { "type" : "object", "additionalProperties" : false, "properties" : { "dateOfBirth" : { "type" : "string", "description" : "The date of birth of the person.\nThe date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31)." }, "idNumber" : { "type" : "string", "description" : "An ID number of the person." }, "nationality" : { "type" : "string", "description" : "The nationality of the person represented by a two-character country code.\n>The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL').", "maxLength" : 2, "minLength" : 2 } } }, "Phone" : { "type" : "object", "additionalProperties" : false, "properties" : { "number" : { "type" : "string", "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" : { "type" : "string", "description" : "Type of phone number.\nPossible values: \n**Landline**, **Mobile**.\n", "enum" : [ "Landline", "Mobile" ] } }, "required" : [ "number", "type" ] }, "PhoneNumber" : { "type" : "object", "additionalProperties" : false, "properties" : { "phoneCountryCode" : { "type" : "string", "description" : "The two-character ISO-3166-1 alpha-2 country code of the phone number.\nFor example, **US** or **NL**." }, "phoneNumber" : { "type" : "string", "description" : "The phone number.\nThe inclusion of the phone number country code is not necessary." }, "phoneType" : { "type" : "string", "description" : "The type of the phone number.\nPossible values: **Landline**, **Mobile**, **SIP**, **Fax**.", "enum" : [ "Fax", "Landline", "Mobile", "SIP" ] } } }, "PinChangeRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "encryptedKey" : { "type" : "string", "description" : "The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen." }, "encryptedPinBlock" : { "type" : "string", "description" : "The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block)." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument, which is the card for which you are managing the PIN." }, "token" : { "type" : "string", "description" : "The 16-digit token that you used to generate the `encryptedPinBlock`." } }, "required" : [ "encryptedKey", "encryptedPinBlock", "paymentInstrumentId", "token" ] }, "PinChangeResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "status" : { "type" : "string", "description" : "The status of the request for PIN change.\n\nPossible values: **completed**, **pending**, **unavailable**.", "enum" : [ "completed", "pending", "unavailable" ] } }, "required" : [ "status" ] }, "PlatformPaymentConfiguration" : { "type" : "object", "additionalProperties" : false, "properties" : { "salesDayClosingTime" : { "type" : "string", "format" : "time", "description" : "Specifies at what time a sales day ends for this account.\n\nPossible values: Time in **\"HH:MM\"** format. **HH** ranges from **00** to **07**. **MM** must be **00**.\n\nDefault value: **\"00:00\"**." }, "settlementDelayDays" : { "type" : "integer", "format" : "int32", "description" : "Specifies after how many business days the funds in a settlement batch are made available in this balance account. Requires Custom Sales Day Payout to be enabled for your balance account. Contact your account manager or implementation manager to enable this.\n\nPossible values: **1** to **20**, or **null**.\n\nDefault value: **null**." } } }, "PublicKeyResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "publicKey" : { "type" : "string", "description" : "The public key you need for encrypting a symmetric session key." }, "publicKeyExpiryDate" : { "type" : "string", "description" : "The expiry date of the public key." } }, "required" : [ "publicKey", "publicKeyExpiryDate" ] }, "RegisterSCAFinalResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "success" : { "type" : "boolean", "description" : "Specifies if the registration was initiated successfully." } } }, "RegisterSCARequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "name" : { "type" : "string", "description" : "The name of the SCA device that you are registering. You can use it to help your users identify the device.\n\nIf you do not specify a `name`, Adyen automatically generates one." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument for which you are registering the SCA device." }, "strongCustomerAuthentication" : { "$ref" : "#/components/schemas/DelegatedAuthenticationData", "description" : "Contains information required to register the SCA device." } }, "required" : [ "paymentInstrumentId", "strongCustomerAuthentication" ] }, "RegisterSCAResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "string", "description" : "The unique identifier of the SCA device you are registering." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument for which you are registering the SCA device." }, "sdkInput" : { "type" : "string", "description" : "A string that you must pass to the authentication SDK to continue with the registration process.", "maxLength" : 20000 }, "success" : { "type" : "boolean", "description" : "Specifies if the registration was initiated successfully." } } }, "RemediatingAction" : { "type" : "object", "additionalProperties" : false, "properties" : { "code" : { "type" : "string", "description" : "The remediating action code." }, "message" : { "type" : "string", "description" : "A description of how you can resolve the verification error." } } }, "RestServiceError" : { "type" : "object", "additionalProperties" : false, "properties" : { "detail" : { "type" : "string", "description" : "A human-readable explanation specific to this occurrence of the problem." }, "errorCode" : { "type" : "string", "description" : "A code that identifies the problem type." }, "instance" : { "type" : "string", "description" : "A unique URI that identifies the specific occurrence of the problem." }, "invalidFields" : { "type" : "array", "description" : "Detailed explanation of each validation error, when applicable.", "items" : { "$ref" : "#/components/schemas/InvalidField" } }, "requestId" : { "type" : "string", "description" : "A unique reference for the request, essentially the same as `pspReference`." }, "response" : { "$ref" : "#/components/schemas/JSONObject", "description" : "JSON response payload." }, "status" : { "type" : "integer", "format" : "int32", "description" : "The HTTP status code." }, "title" : { "type" : "string", "description" : "A short, human-readable summary of the problem type." }, "type" : { "type" : "string", "description" : "A URI that identifies the problem type, pointing to human-readable documentation on this problem type." } }, "required" : [ "detail", "errorCode", "status", "title", "type" ] }, "RevealPinRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "encryptedKey" : { "type" : "string", "description" : "The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument, which is the card for which you are managing the PIN." } }, "required" : [ "encryptedKey", "paymentInstrumentId" ] }, "RevealPinResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "encryptedPinBlock" : { "type" : "string", "description" : "The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block)." }, "token" : { "type" : "string", "description" : "The 16-digit token that you need to extract the `encryptedPinBlock`." } }, "required" : [ "encryptedPinBlock", "token" ] }, "SELocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "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 }, "clearingNumber" : { "type" : "string", "description" : "The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.", "maxLength" : 5, "minLength" : 4 }, "type" : { "type" : "string", "default" : "seLocal", "description" : "**seLocal**", "enum" : [ "seLocal" ] } }, "required" : [ "accountNumber", "clearingNumber", "type" ] }, "SGLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 4- to 19-digit bank account number, without separators or whitespace.", "maxLength" : 19, "minLength" : 4 }, "bic" : { "type" : "string", "description" : "The bank's 8- or 11-character BIC or SWIFT code.", "maxLength" : 11, "minLength" : 8 }, "type" : { "type" : "string", "default" : "sgLocal", "description" : "**sgLocal**", "enum" : [ "sgLocal" ] } }, "required" : [ "accountNumber", "bic" ] }, "SearchRegisteredDevicesResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "data" : { "type" : "array", "description" : "Contains a list of registered SCA devices and their corresponding details.", "items" : { "$ref" : "#/components/schemas/Device" } }, "itemsTotal" : { "type" : "integer", "format" : "int32", "description" : "The total amount of registered SCA devices that match the query parameters." }, "link" : { "$ref" : "#/components/schemas/Link", "description" : "Contains links to the list pages." }, "pagesTotal" : { "type" : "integer", "format" : "int32", "description" : "The total amount of list pages." } } }, "TransactionRule" : { "type" : "object", "additionalProperties" : false, "properties" : { "amount" : { "$ref" : "#/components/schemas/Amount", "description" : "The maximum amount that a payment instrument can be used for in the period specified in the `interval.type`." }, "balancePlatformId" : { "type" : "string", "description" : "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/get/balancePlatforms/{id}__queryParam_id) to which the rule applies." }, "countries" : { "type" : "array", "description" : "List of countries to which the rule applies. For example: **[\"NL\",\"US\"]**.", "items" : { "type" : "string" } }, "description" : { "type" : "string", "description" : "Your description for the transaction rule.", "maxLength" : 300 }, "endDate" : { "type" : "string", "description" : "The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**.\n\nIf not provided, the rule will be evaluated until the rule status is set to **inactive**." }, "entryModes" : { "type" : "array", "description" : "List of point-of-sale entry modes to which the rule applies.\n\nPossible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **token**, **server**, **barcode**, **ocr**.", "items" : { "type" : "string", "enum" : [ "barcode", "chip", "cof", "contactless", "magstripe", "manual", "ocr", "server", "unknown" ] } }, "id" : { "type" : "string", "description" : "The unique identifier of the transaction rule." }, "interval" : { "$ref" : "#/components/schemas/TransactionRuleInterval", "description" : "The [time interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) when the rule conditions apply." }, "maxTransactions" : { "type" : "integer", "format" : "int32", "description" : "The maximum number of transactions that a payment instrument can be used for in the period specified in the `interval.type`." }, "mccs" : { "type" : "array", "description" : "List of Merchant Category Codes (MCCs) to which the rule applies.", "items" : { "type" : "string" } }, "paymentInstrumentGroupId" : { "type" : "string", "description" : "The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/paymentInstrumentGroups__resParam_id) to which the rule applies." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/paymentInstruments__resParam_id) to which the rule applies." }, "processingTypes" : { "type" : "array", "description" : "List of processing types to which the rule applies.\n\nPossible values: **atmWithdraw**, **pos**, **ecommerce**, **moto**, **recurring**, **balanceInquiry**.", "items" : { "type" : "string", "enum" : [ "atmWithdraw", "balanceInquiry", "ecommerce", "moto", "pos", "recurring", "token", "unknown" ] } }, "reference" : { "type" : "string", "description" : "Your reference for the transaction rule.", "maxLength" : 150 }, "startDate" : { "type" : "string", "description" : "The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**.\n\nIf not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. \n\n" }, "status" : { "type" : "string", "description" : "The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created \nwith an **active** status. \n\nPossible values: **active**, **inactive**.", "enum" : [ "active", "inactive" ] }, "type" : { "type" : "string", "description" : "Type of conditions provided in the rule.\n\nPossible values:\n * **allowList**: The rule provides categories (such as country and MCC) where payments must be allowed.\n * **blockList**: The rule provides categories (such as country and MCC) where payments must be blocked.\n * **maxUsage**: The rule sets limits for the maximum amount or maximum number of transactions for the lifetime of the payment instrument.\n * **velocity**: The rule sets limits for the maximum amount or maximum number of transactions for a given time interval.\n", "enum" : [ "allowList", "blockList", "maxUsage", "velocity" ] } }, "required" : [ "description", "interval", "reference", "type" ] }, "TransactionRuleInfo" : { "type" : "object", "additionalProperties" : false, "properties" : { "amount" : { "$ref" : "#/components/schemas/Amount", "description" : "The maximum amount that a payment instrument can be used for in the period specified in the `interval.type`." }, "balancePlatformId" : { "type" : "string", "description" : "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/get/balancePlatforms/{id}__queryParam_id) to which the rule applies." }, "countries" : { "type" : "array", "description" : "List of countries to which the rule applies. For example: **[\"NL\",\"US\"]**.", "items" : { "type" : "string" } }, "description" : { "type" : "string", "description" : "Your description for the transaction rule.", "maxLength" : 300 }, "endDate" : { "type" : "string", "description" : "The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**.\n\nIf not provided, the rule will be evaluated until the rule status is set to **inactive**." }, "entryModes" : { "type" : "array", "description" : "List of point-of-sale entry modes to which the rule applies.\n\nPossible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **token**, **server**, **barcode**, **ocr**.", "items" : { "type" : "string", "enum" : [ "barcode", "chip", "cof", "contactless", "magstripe", "manual", "ocr", "server", "unknown" ] } }, "interval" : { "$ref" : "#/components/schemas/TransactionRuleInterval", "description" : "The [time interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) when the rule conditions apply." }, "maxTransactions" : { "type" : "integer", "format" : "int32", "description" : "The maximum number of transactions that a payment instrument can be used for in the period specified in the `interval.type`." }, "mccs" : { "type" : "array", "description" : "List of Merchant Category Codes (MCCs) to which the rule applies.", "items" : { "type" : "string" } }, "paymentInstrumentGroupId" : { "type" : "string", "description" : "The unique identifier of the [payment instrument group](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/paymentInstrumentGroups__resParam_id) to which the rule applies." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/paymentInstruments__resParam_id) to which the rule applies." }, "processingTypes" : { "type" : "array", "description" : "List of processing types to which the rule applies.\n\nPossible values: **atmWithdraw**, **pos**, **ecommerce**, **moto**, **recurring**, **balanceInquiry**.", "items" : { "type" : "string", "enum" : [ "atmWithdraw", "balanceInquiry", "ecommerce", "moto", "pos", "recurring", "token", "unknown" ] } }, "reference" : { "type" : "string", "description" : "Your reference for the transaction rule.", "maxLength" : 150 }, "startDate" : { "type" : "string", "description" : "The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**.\n\nIf not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. \n\n" }, "status" : { "type" : "string", "description" : "The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created \nwith an **active** status. \n\nPossible values: **active**, **inactive**.", "enum" : [ "active", "inactive" ] }, "type" : { "type" : "string", "description" : "Type of conditions provided in the rule.\n\nPossible values:\n * **allowList**: The rule provides categories (such as country and MCC) where payments must be allowed.\n * **blockList**: The rule provides categories (such as country and MCC) where payments must be blocked.\n * **maxUsage**: The rule sets limits for the maximum amount or maximum number of transactions for the lifetime of the payment instrument.\n * **velocity**: The rule sets limits for the maximum amount or maximum number of transactions for a given time interval.\n", "enum" : [ "allowList", "blockList", "maxUsage", "velocity" ] } }, "required" : [ "description", "interval", "reference", "type" ] }, "TransactionRuleInterval" : { "type" : "object", "additionalProperties" : false, "properties" : { "type" : { "type" : "string", "description" : "The [type of interval](https://docs.adyen.com/issuing/transaction-rules#time-intervals) during which the rule conditions and limits apply, and how often counters are reset.\n\nPossible values:\n * **perTransaction**: conditions are evaluated and the counters are reset for every transaction.\n * **daily**: the counters are reset daily at 00:00:00 UTC.\n * **weekly**: the counters are reset every Monday at 00:00:00 UTC. \n * **monthly**: the counters reset every first day of the month at 00:00:00 UTC. \n * **lifetime**: conditions are applied to the lifetime of the payment instrument.\n", "enum" : [ "daily", "lifetime", "monthly", "perTransaction", "weekly" ] } }, "required" : [ "type" ] }, "TransactionRuleResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "transactionRule" : { "$ref" : "#/components/schemas/TransactionRule", "description" : "The transaction rule." } } }, "TransactionRulesResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "transactionRules" : { "type" : "array", "description" : "List of transaction rules.", "items" : { "$ref" : "#/components/schemas/TransactionRule" } } } }, "TransferRoute" : { "type" : "object", "additionalProperties" : false, "properties" : { "category" : { "type" : "string", "description" : " The type of transfer.\n\n Possible values:\n\n - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account.\n", "enum" : [ "bank", "card", "grants", "interest", "internal", "issuedCard", "migration", "platformPayment", "topUp", "upgrade" ] }, "country" : { "type" : "string", "description" : "The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**." }, "currency" : { "type" : "string", "description" : "The three-character ISO currency code of transfer. For example, **USD** or **EUR**." }, "priority" : { "type" : "string", "description" : "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values:\n\n* **regular**: For normal, low-value transactions.\n\n* **fast**: A faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions.\n\n* **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions.\n\n* **instant**: For instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).\n\n* **crossBorder**: For high-value transfers to a recipient in a different country.\n\n* **internal**: For transfers to an Adyen-issued business bank account (by bank account number/IBAN).", "enum" : [ "crossBorder", "fast", "instant", "internal", "regular", "wire" ] }, "requirements" : { "type" : "array", "description" : "A set of rules defined by clearing houses and banking partners. Your transfer request must adhere to these rules to ensure successful initiation of transfer. Based on the priority, one or more requirements may be returned. Each requirement is defined with a `type` and `description`.", "items" : { "oneOf" : [ { "$ref" : "#/components/schemas/AdditionalBankIdentificationRequirement" }, { "$ref" : "#/components/schemas/AddressRequirement" }, { "$ref" : "#/components/schemas/AmountMinMaxRequirement" }, { "$ref" : "#/components/schemas/AmountNonZeroDecimalsRequirement" }, { "$ref" : "#/components/schemas/BankAccountIdentificationTypeRequirement" }, { "$ref" : "#/components/schemas/IbanAccountIdentificationRequirement" }, { "$ref" : "#/components/schemas/PaymentInstrumentRequirement" }, { "$ref" : "#/components/schemas/USInstantPayoutAddressRequirement" }, { "$ref" : "#/components/schemas/USInternationalAchAddressRequirement" }, { "$ref" : "#/components/schemas/USInternationalAchPriorityRequirement" } ] } } } }, "TransferRouteRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "balanceAccountId" : { "type" : "string", "description" : "The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).\nRequired if `counterparty` is **transferInstrumentId**." }, "balancePlatform" : { "type" : "string", "description" : "The unique identifier assigned to the balance platform associated with the account holder." }, "category" : { "type" : "string", "description" : " The type of transfer. Possible values:\n\n - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account.\n", "enum" : [ "bank" ] }, "counterparty" : { "$ref" : "#/components/schemas/Counterparty", "description" : "The recipient of the funds transfer. A bank account or a transfer instrument." }, "country" : { "type" : "string", "description" : "The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**.\n > Either `counterparty` or `country` field must be provided in a transfer route request." }, "currency" : { "type" : "string", "description" : "The three-character ISO currency code of transfer. For example, **USD** or **EUR**." }, "priorities" : { "type" : "array", "description" : "The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided.\nPossible values:\n\n* **regular**: For normal, low-value transactions.\n\n* **fast**: A faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions.\n\n* **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions.\n\n* **instant**: For instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).\n\n* **crossBorder**: For high-value transfers to a recipient in a different country.\n\n* **internal**: For transfers to an Adyen-issued business bank account (by bank account number/IBAN).", "items" : { "type" : "string", "enum" : [ "crossBorder", "fast", "instant", "internal", "regular", "wire" ] } } }, "required" : [ "balancePlatform", "category", "currency" ] }, "TransferRouteResponse" : { "type" : "object", "additionalProperties" : false, "properties" : { "transferRoutes" : { "type" : "array", "description" : "List of available priorities for a transfer, along with requirements. Use this information to initiate a transfer.", "items" : { "$ref" : "#/components/schemas/TransferRoute" } } } }, "UKLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The 8-digit bank account number, without separators or whitespace.", "maxLength" : 8, "minLength" : 8 }, "sortCode" : { "type" : "string", "description" : "The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.", "maxLength" : 6, "minLength" : 6 }, "type" : { "type" : "string", "default" : "ukLocal", "description" : "**ukLocal**", "enum" : [ "ukLocal" ] } }, "required" : [ "accountNumber", "sortCode", "type" ] }, "USInstantPayoutAddressRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies that you must provide complete street addresses for the party and counterParty for transactions greater than USD 3000." }, "type" : { "type" : "string", "default" : "usInstantPayoutAddressRequirement", "description" : "**usInstantPayoutAddressRequirement**", "enum" : [ "usInstantPayoutAddressRequirement" ] } }, "required" : [ "type" ] }, "USInternationalAchAddressRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies that you must provide a complete street address for International ACH (IAT) transactions." }, "type" : { "type" : "string", "default" : "usInternationalAchAddressRequirement", "description" : "**usInternationalAchAddressRequirement**", "enum" : [ "usInternationalAchAddressRequirement" ] } }, "required" : [ "type" ] }, "USInternationalAchPriorityRequirement" : { "type" : "object", "additionalProperties" : false, "properties" : { "description" : { "type" : "string", "description" : "Specifies that transactions deemed to be International ACH (IAT) per OFAC/NACHA rules cannot have fast priority." }, "type" : { "type" : "string", "default" : "usInternationalAchPriorityRequirement", "description" : "**usInternationalAchPriorityRequirement**", "enum" : [ "usInternationalAchPriorityRequirement" ] } }, "required" : [ "type" ] }, "USLocalAccountIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "accountNumber" : { "type" : "string", "description" : "The bank account number, without separators or whitespace.", "maxLength" : 18, "minLength" : 2 }, "accountType" : { "type" : "string", "default" : "checking", "description" : "The bank account type.\n\nPossible values: **checking** or **savings**. Defaults to **checking**.", "enum" : [ "checking", "savings" ] }, "routingNumber" : { "type" : "string", "description" : "The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.", "maxLength" : 9, "minLength" : 9 }, "type" : { "type" : "string", "default" : "usLocal", "description" : "**usLocal**", "enum" : [ "usLocal" ] } }, "required" : [ "accountNumber", "routingNumber", "type" ] }, "UpdateNetworkTokenRequest" : { "type" : "object", "additionalProperties" : false, "properties" : { "status" : { "type" : "string", "description" : "The new status of the network token. Possible values: **active**, **suspended**, **closed**. The **closed** status is final and cannot be changed.", "enum" : [ "active", "suspended", "closed" ] } } }, "UpdatePaymentInstrument" : { "type" : "object", "additionalProperties" : false, "properties" : { "additionalBankAccountIdentifications" : { "type" : "array", "description" : "Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.", "items" : { "oneOf" : [ { "$ref" : "#/components/schemas/IbanAccountIdentification" } ] } }, "balanceAccountId" : { "type" : "string", "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." }, "bankAccount" : { "$ref" : "#/components/schemas/BankAccountDetails", "description" : "Contains the business account details. Returned when you create a payment instrument with `type` **bankAccount**." }, "card" : { "$ref" : "#/components/schemas/Card", "description" : "Contains information about the card payment instrument. Returned when you create a payment instrument with `type` **card**." }, "description" : { "type" : "string", "description" : "Your description for the payment instrument, maximum 300 characters.", "maxLength" : 300 }, "id" : { "type" : "string", "description" : "The unique identifier of the payment instrument." }, "issuingCountryCode" : { "type" : "string", "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**." }, "paymentInstrumentGroupId" : { "type" : "string", "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." }, "reference" : { "type" : "string", "description" : "Your reference for the payment instrument, maximum 150 characters.", "maxLength" : 150 }, "replacedById" : { "type" : "string", "description" : "The unique identifier of the payment instrument that replaced this payment instrument." }, "replacementOfId" : { "type" : "string", "description" : "The unique identifier of the payment instrument that is replaced by this payment instrument." }, "status" : { "type" : "string", "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 **Requested**.\n\nPossible values: \n\n * **Active**: The payment instrument is active and can be used to make payments. \n\n * **Requested**: The payment instrument has been requested. This state is applicable for physical cards. \n\n* **Inactive**: The payment instrument is inactive and cannot be used to make payments. \n\n * **Suspended**: The payment instrument is temporarily suspended and cannot be used to make payments. \n\n * **Closed**: The payment instrument is permanently closed. This action cannot be undone. \n\n* **Stolen** \n\n * **Lost**\n\n ", "enum" : [ "Active", "Closed", "Inactive", "Lost", "Requested", "Stolen", "Suspended", "blocked", "discarded" ] }, "statusComment" : { "type" : "string", "description" : "Comment for the status of the payment instrument.", "x-addedInVersion" : "2" }, "type" : { "type" : "string", "description" : "The type of payment instrument.\n\nPossible values: **card**, **bankAccount**.", "enum" : [ "bankAccount", "card" ] } }, "required" : [ "balanceAccountId", "id", "issuingCountryCode", "type" ] }, "VerificationDeadline" : { "type" : "object", "additionalProperties" : false, "properties" : { "capabilities" : { "type" : "array", "description" : "The names of the capabilities to be disallowed.", "items" : { "type" : "string", "enum" : [ "acceptExternalFunding", "acceptPspFunding", "acceptTransactionInRestrictedCountries", "acceptTransactionInRestrictedCountriesCommercial", "acceptTransactionInRestrictedCountriesConsumer", "acceptTransactionInRestrictedIndustries", "acceptTransactionInRestrictedIndustriesCommercial", "acceptTransactionInRestrictedIndustriesConsumer", "acquiring", "atmWithdrawal", "atmWithdrawalCommercial", "atmWithdrawalConsumer", "atmWithdrawalInRestrictedCountries", "atmWithdrawalInRestrictedCountriesCommercial", "atmWithdrawalInRestrictedCountriesConsumer", "authorisedPaymentInstrumentUser", "getGrantOffers", "issueBankAccount", "issueCard", "issueCardCommercial", "issueCardConsumer", "issueChargeCard", "issueChargeCardCommercial", "issueCreditLimit", "localAcceptance", "payout", "payoutToTransferInstrument", "processing", "receiveFromBalanceAccount", "receiveFromPlatformPayments", "receiveFromThirdParty", "receiveFromTransferInstrument", "receiveGrants", "receivePayments", "sendToBalanceAccount", "sendToThirdParty", "sendToTransferInstrument", "thirdPartyFunding", "useCard", "useCardCommercial", "useCardConsumer", "useCardInRestrictedCountries", "useCardInRestrictedCountriesCommercial", "useCardInRestrictedCountriesConsumer", "useCardInRestrictedIndustries", "useCardInRestrictedIndustriesCommercial", "useCardInRestrictedIndustriesConsumer", "useChargeCard", "useChargeCardCommercial", "withdrawFromAtm", "withdrawFromAtmCommercial", "withdrawFromAtmConsumer", "withdrawFromAtmInRestrictedCountries", "withdrawFromAtmInRestrictedCountriesCommercial", "withdrawFromAtmInRestrictedCountriesConsumer" ] }, "readOnly" : true }, "entityIds" : { "type" : "array", "description" : "The unique identifiers of the bank account(s) that the deadline applies to", "items" : { "type" : "string" }, "readOnly" : true }, "expiresAt" : { "type" : "string", "format" : "date-time", "description" : "The date that verification is due by before capabilities are disallowed.", "readOnly" : true } }, "required" : [ "capabilities", "expiresAt" ] }, "VerificationError" : { "type" : "object", "additionalProperties" : false, "properties" : { "capabilities" : { "type" : "array", "description" : "Contains the capabilities that the verification error applies to.", "items" : { "type" : "string", "enum" : [ "acceptExternalFunding", "acceptPspFunding", "acceptTransactionInRestrictedCountries", "acceptTransactionInRestrictedCountriesCommercial", "acceptTransactionInRestrictedCountriesConsumer", "acceptTransactionInRestrictedIndustries", "acceptTransactionInRestrictedIndustriesCommercial", "acceptTransactionInRestrictedIndustriesConsumer", "acquiring", "atmWithdrawal", "atmWithdrawalCommercial", "atmWithdrawalConsumer", "atmWithdrawalInRestrictedCountries", "atmWithdrawalInRestrictedCountriesCommercial", "atmWithdrawalInRestrictedCountriesConsumer", "authorisedPaymentInstrumentUser", "getGrantOffers", "issueBankAccount", "issueCard", "issueCardCommercial", "issueCardConsumer", "issueChargeCard", "issueChargeCardCommercial", "issueCreditLimit", "localAcceptance", "payout", "payoutToTransferInstrument", "processing", "receiveFromBalanceAccount", "receiveFromPlatformPayments", "receiveFromThirdParty", "receiveFromTransferInstrument", "receiveGrants", "receivePayments", "sendToBalanceAccount", "sendToThirdParty", "sendToTransferInstrument", "thirdPartyFunding", "useCard", "useCardCommercial", "useCardConsumer", "useCardInRestrictedCountries", "useCardInRestrictedCountriesCommercial", "useCardInRestrictedCountriesConsumer", "useCardInRestrictedIndustries", "useCardInRestrictedIndustriesCommercial", "useCardInRestrictedIndustriesConsumer", "useChargeCard", "useChargeCardCommercial", "withdrawFromAtm", "withdrawFromAtmCommercial", "withdrawFromAtmConsumer", "withdrawFromAtmInRestrictedCountries", "withdrawFromAtmInRestrictedCountriesCommercial", "withdrawFromAtmInRestrictedCountriesConsumer" ] } }, "code" : { "type" : "string", "description" : "The verification error code." }, "message" : { "type" : "string", "description" : "A description of the error." }, "remediatingActions" : { "type" : "array", "description" : "Contains the actions that you can take to resolve the verification error.", "items" : { "$ref" : "#/components/schemas/RemediatingAction" } }, "subErrors" : { "type" : "array", "description" : "Contains more granular information about the verification error.", "items" : { "$ref" : "#/components/schemas/VerificationError-recursive" } }, "type" : { "type" : "string", "description" : "The type of error.\n\n\n\nPossible values:\n* **invalidInput**\n* **dataMissing**\n* **pendingStatus**\n* **dataReview**\n\n", "enum" : [ "dataMissing", "dataReview", "invalidInput", "pendingStatus" ] } } }, "VerificationError-recursive" : { "type" : "object", "additionalProperties" : false, "properties" : { "capabilities" : { "type" : "array", "description" : "Contains the capabilities that the verification error applies to.", "items" : { "type" : "string", "enum" : [ "acceptExternalFunding", "acceptPspFunding", "acceptTransactionInRestrictedCountries", "acceptTransactionInRestrictedCountriesCommercial", "acceptTransactionInRestrictedCountriesConsumer", "acceptTransactionInRestrictedIndustries", "acceptTransactionInRestrictedIndustriesCommercial", "acceptTransactionInRestrictedIndustriesConsumer", "acquiring", "atmWithdrawal", "atmWithdrawalCommercial", "atmWithdrawalConsumer", "atmWithdrawalInRestrictedCountries", "atmWithdrawalInRestrictedCountriesCommercial", "atmWithdrawalInRestrictedCountriesConsumer", "authorisedPaymentInstrumentUser", "getGrantOffers", "issueBankAccount", "issueCard", "issueCardCommercial", "issueCardConsumer", "issueChargeCard", "issueChargeCardCommercial", "issueCreditLimit", "localAcceptance", "payout", "payoutToTransferInstrument", "processing", "receiveFromBalanceAccount", "receiveFromPlatformPayments", "receiveFromThirdParty", "receiveFromTransferInstrument", "receiveGrants", "receivePayments", "sendToBalanceAccount", "sendToThirdParty", "sendToTransferInstrument", "thirdPartyFunding", "useCard", "useCardCommercial", "useCardConsumer", "useCardInRestrictedCountries", "useCardInRestrictedCountriesCommercial", "useCardInRestrictedCountriesConsumer", "useCardInRestrictedIndustries", "useCardInRestrictedIndustriesCommercial", "useCardInRestrictedIndustriesConsumer", "useChargeCard", "useChargeCardCommercial", "withdrawFromAtm", "withdrawFromAtmCommercial", "withdrawFromAtmConsumer", "withdrawFromAtmInRestrictedCountries", "withdrawFromAtmInRestrictedCountriesCommercial", "withdrawFromAtmInRestrictedCountriesConsumer" ] } }, "code" : { "type" : "string", "description" : "The verification error code." }, "message" : { "type" : "string", "description" : "A description of the error." }, "type" : { "type" : "string", "description" : "The type of error.\n\n\n\nPossible values:\n* **invalidInput**\n* **dataMissing**\n* **pendingStatus**\n* **dataReview**\n\n", "enum" : [ "dataMissing", "dataReview", "invalidInput", "pendingStatus" ] }, "remediatingActions" : { "type" : "array", "description" : "Contains the actions that you can take to resolve the verification error.", "items" : { "$ref" : "#/components/schemas/RemediatingAction" } } } }, "AuthorisedCardUsers" : { "type" : "object", "properties" : { "legalEntityIds" : { "type" : "array", "description" : "The legal entity IDs of the authorized card users linked to the specified payment instrument.", "items" : { "type" : "string" } } } }, "DefaultErrorResponseEntity" : { "type" : "object", "description" : "Standardized error response following RFC-7807 format", "externalDocs" : { "url" : "https://www.rfc-editor.org/rfc/rfc7807" }, "properties" : { "detail" : { "type" : "string", "description" : "A human-readable explanation specific to this occurrence of the problem." }, "errorCode" : { "type" : "string", "description" : "Unique business error code." }, "instance" : { "type" : "string", "description" : "A URI that identifies the specific occurrence of the problem if applicable." }, "invalidFields" : { "type" : "array", "description" : "Array of fields with validation errors when applicable.", "items" : { "$ref" : "#/components/schemas/InvalidField" } }, "requestId" : { "type" : "string", "description" : "The unique reference for the request." }, "status" : { "type" : "integer", "format" : "int32", "description" : "The HTTP status code." }, "title" : { "type" : "string", "description" : "A short, human-readable summary of the problem type." }, "type" : { "type" : "string", "description" : "A URI that identifies the validation error type. It points to human-readable documentation for the problem type." } } }, "ListMandatesResponse" : { "type" : "object", "properties" : { "link" : { "$ref" : "#/components/schemas/Link", "description" : "Contains links to the next and previous page whenever applicable." }, "mandates" : { "type" : "array", "description" : "Contains a list of the mandates.", "items" : { "$ref" : "#/components/schemas/Mandate" } } }, "required" : [ "link", "mandates" ] }, "Mandate" : { "type" : "object", "properties" : { "balanceAccountId" : { "type" : "string", "description" : "The unique identifier of the balance account linked to the payment instrument." }, "counterparty" : { "$ref" : "#/components/schemas/MandateBankAccount", "description" : "Contains information to identify the counterparty." }, "createdAt" : { "type" : "string", "format" : "date-time", "description" : "The date when the mandate was created." }, "id" : { "type" : "string", "description" : "The unique identifier of the mandate." }, "paymentInstrumentId" : { "type" : "string", "description" : "The unique identifier of the payment instrument linked to the mandate." }, "status" : { "$ref" : "#/components/schemas/MandateStatus", "description" : "The status of the mandate.\n\nPossible values: **pending**, **approved**, **cancelled**." }, "type" : { "$ref" : "#/components/schemas/MandateType", "description" : "The type of mandate. Possible value: **bacs**." }, "updatedAt" : { "type" : "string", "format" : "date-time", "description" : "The date when the mandate was updated." } } }, "MandateAccountIdentification" : { "type" : "object", "discriminator" : { "propertyName" : "type", "mapping" : { "ukLocal" : "#/components/schemas/UKLocalMandateAccountIdentification" } }, "properties" : { "type" : { "type" : "string" } }, "required" : [ "type" ] }, "MandateBankAccount" : { "type" : "object", "properties" : { "accountHolder" : { "$ref" : "#/components/schemas/MandatePartyIdentification", "description" : "Contains information about the owner of the counterparty bank account." }, "accountIdentification" : { "$ref" : "#/components/schemas/MandateAccountIdentification", "description" : "Contains the bank account details of the counterparty. The fields required in this object depend on the country of the bank account and the currency of the transfer." } }, "required" : [ "accountHolder", "accountIdentification" ] }, "MandatePartyIdentification" : { "type" : "object", "properties" : { "fullName" : { "type" : "string", "description" : "The full name of the entity that owns the bank account.\n\nSupported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" ' and space." } } }, "MandateStatus" : { "type" : "string", "enum" : [ "pending", "approved", "cancelled" ] }, "MandateType" : { "type" : "string", "enum" : [ "bacs" ] }, "MandateUpdate" : { "type" : "object", "properties" : { "paymentInstrumentId" : { "type" : [ "string", "null" ], "description" : "The unique identifier of the payment instrument linked to the mandate." } } }, "UKLocalMandateAccountIdentification" : { "type" : "object", "allOf" : [ { "$ref" : "#/components/schemas/MandateAccountIdentification" }, { "type" : "object", "properties" : { "accountNumber" : { "type" : "string", "description" : "The 8-digit bank account number, without separators or whitespace.", "maxLength" : 8, "minLength" : 8 }, "sortCode" : { "type" : "string", "description" : "The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.", "maxLength" : 6, "minLength" : 6 }, "type" : { "type" : "string", "default" : "ukLocal", "description" : "**ukLocal**" } } } ], "required" : [ "accountNumber", "sortCode", "type" ] } }, "examples" : { "delete-transactionRules-transactionRuleId-success-200" : { "summary" : "Transaction rule deleted", "description" : "Example response for successfully deleting a transaction rule", "value" : { "amount" : { "currency" : "EUR", "value" : 10000 }, "description" : "Allow up to 100 EUR per month", "interval" : { "type" : "monthly" }, "paymentInstrumentGroupId" : "PG3227C223222B5CMD3FJFKGZ", "reference" : "myRule16378", "startDate" : "2021-01-25T12:46:35", "type" : "velocity", "id" : "TR3227C223222B5CMDKQTBQ5M" } }, "generic-400" : { "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" } }, "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" } }, "generic-403" : { "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" } }, "generic-404" : { "summary" : "Response code 404 - Not found", "value" : { "type" : "https://docs.adyen.com/errors/general/not-found", "title" : "Not found", "status" : 404, "detail" : "Service not found.", "errorCode" : "00_404" } }, "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" } }, "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-503" : { "summary" : "Response code - 503 Internal Server Error", "value" : { "type" : "https://docs.adyen.com/errors/general/processing-error", "title" : "Error processing request", "status" : 500, "detail" : "Error while determining the payment instrument workflow", "requestId" : "1W1UHY5O2CONU4R7", "errorCode" : "99_500" } }, "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" : "AH32272223222B59K6ZKBBFNQ", "defaultCurrencyCode" : "EUR", "timeZone" : "Europe/Amsterdam", "id" : "BA32272223222B59K6ZXHBFN6", "status" : "Active" }, { "accountHolderId" : "AH32272223222B59K6ZKBBFNQ", "defaultCurrencyCode" : "EUR", "timeZone" : "Europe/Amsterdam", "id" : "BA32272223222B59K72CKBFNJ", "status" : "Active" }, { "accountHolderId" : "AH32272223222B59K6ZKBBFNQ", "defaultCurrencyCode" : "EUR", "timeZone" : "Europe/Amsterdam", "id" : "BA32272223222B5BRR27B2M7G", "status" : "Active" } ], "hasNext" : true, "hasPrevious" : false } }, "get-accountHolders-id-success-200" : { "summary" : "Account holder retrieved", "description" : "Example response when retrieving an account holder", "value" : { "balancePlatform" : "YOUR_BALANCE_PLATFORM", "description" : "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, "verificationStatus" : "pending" } }, "id" : "AH3227C223222C5GXQXF658WB", "status" : "Active" } }, "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" } ] } }, "get-balanceAccounts-id-success-200" : { "summary" : "Balance account details retrieved", "description" : "Example response for retrieving a balance account", "value" : { "accountHolderId" : "AH32272223222B59K6RTQBFNZ", "defaultCurrencyCode" : "EUR", "balances" : [ { "available" : 0, "balance" : 0, "currency" : "EUR", "reserved" : 0 } ], "id" : "BA3227C223222B5BLP6JQC3FD", "paymentInstruments" : [ { "id" : "PI32272223222B5BRM4FZ7J9J" } ], "status" : "Active" } }, "get-balancePlatforms-id-accountHolders-success-200" : { "summary" : "List of account holders retrieved", "description" : "Example response when retrieving a list of account holders under a balance platform", "value" : { "accountHolders" : [ { "description" : "Test-305", "legalEntityId" : "LE3227C223222D5D8S5S33M4M", "reference" : "LegalEntity internal error test", "id" : "AH32272223222B5GFSNSXFFL9", "status" : "Active" }, { "description" : "Test-751", "legalEntityId" : "LE3227C223222D5D8S5TT3SRX", "reference" : "LegalEntity internal error test", "id" : "AH32272223222B5GFSNVGFFM7", "status" : "Active" }, { "description" : "Explorer Holder", "legalEntityId" : "LE3227C223222D5D8S5TT3SRX", "reference" : "Account from the Explorer Holder", "id" : "AH32272223222B5GFWNRFFVR6", "status" : "Active" } ], "hasNext" : true, "hasPrevious" : true } }, "get-balancePlatforms-id-success-200" : { "summary" : "Balance platform retrieved", "description" : "Example response when retrieving a balance platform", "value" : { "id" : "YOUR_BALANCE_PLATFORM", "status" : "Active" } }, "get-paymentInstrumentGroups-id-success-200" : { "summary" : "Payment instrument group retrieved", "description" : "Example response when retrieving a payment instrument group", "value" : { "balancePlatform" : "YOUR_BALANCE_PLATFORM", "txVariant" : "mc", "id" : "PG3227C223222B5CMD3FJFKGZ" } }, "get-paymentInstrumentGroups-id-transactionRules-success-200" : { "summary" : "Transaction rules for a payment instrument group retrieved", "description" : "Example response when retrieving a list of transaction rules applied to a payment instrument group", "value" : { "transactionRules" : [ { "amount" : { "currency" : "EUR", "value" : 100000 }, "description" : "Up to 1000 EUR per card for the last 12 hours", "interval" : { "type" : "perTransaction" }, "paymentInstrumentGroupId" : "PG3227C223222C5GXR3M5592Q", "reference" : "YOUR_REFERENCE_2918A", "status" : "inactive", "type" : "velocity", "id" : "TR3227C223222C5GXR3XP596N" }, { "amount" : { "currency" : "EUR", "value" : 100000 }, "description" : "NL only", "interval" : { "type" : "daily" }, "paymentInstrumentGroupId" : "PG3227C223222C5GXR3M5592Q", "reference" : "myRule12345", "status" : "inactive", "type" : "velocity", "id" : "TR3227C223222C5GXR3WC595H" } ] } }, "get-paymentInstruments-id-reveal-success-200" : { "summary" : "Get the card's primary account number (PAN)", "description" : "Example response for getting the card PAN", "value" : { "cvc" : "123", "expiration" : { "month" : "02", "year" : "2026" }, "pan" : "5555444411209883" } }, "get-paymentInstruments-id-success-200" : { "summary" : "Payment instruments retrieved", "description" : "Example response for retrieving payment instruments associated with a balance account", "value" : { "balanceAccountId" : "BA32272223222B59CZ3T52DKZ", "description" : "S. Hopper - Main card", "issuingCountryCode" : "GB", "status" : "Active", "type" : "card", "card" : { "brand" : "mc", "brandVariant" : "mcdebit", "cardholderName" : "Simon Hopper", "formFactor" : "virtual", "bin" : "555544", "expiration" : { "month" : "01", "year" : "2024" }, "lastFour" : "3548", "number" : "************3548" }, "id" : "PI32272223222B5CMD3MQ3HXX" } }, "get-paymentInstruments-id-transactionRules-success-200" : { "summary" : "Transaction rules for a payment instrument retrieved", "description" : "Example response when retrieving a list of transaction rules applied to a payment instrument", "value" : { "transactionRules" : [ { "description" : "Only allow point-of-sale transactions", "interval" : { "type" : "perTransaction" }, "paymentInstrumentId" : "PI3227C223222B5FN65FN5NS9", "reference" : "YOUR_REFERENCE_4F7346", "startDate" : "2022-08-02T16:07:00.851374+02:00", "status" : "active", "type" : "blockList", "id" : "TR32272223222B5GFSGFLFCHM" }, { "description" : "Set the maximum number of active network tokens to one for this card", "interval" : { "type" : "perTransaction" }, "paymentInstrumentId" : "PI3227C223222B5FN65FN5NS9", "reference" : "myRule123", "startDate" : "2022-10-03T14:48:28.999314+02:00", "status" : "active", "type" : "blockList", "id" : "TR32272223222C5GQJ93L7J8Z" } ] } }, "get-transactionRules-transactionRuleId-success-200" : { "summary" : "Transaction rules retrieved", "description" : "Example response when retrieving a transaction rule", "value" : { "transactionRule" : { "description" : "Only allow point-of-sale transactions", "interval" : { "type" : "perTransaction" }, "paymentInstrumentId" : "PI3227C223222B5FN65FN5NS9", "reference" : "YOUR_REFERENCE_4F7346", "startDate" : "2022-08-02T16:07:00.851374+02:00", "status" : "active", "type" : "blockList", "id" : "TR32272223222B5GFSGFLFCHM" } } }, "patch-accountHolders-id-requestAccountHolderCapability" : { "summary" : "Request account holder capability", "description" : "Example request for the `receivePayments` capability for an account holder", "value" : { "description" : "Account holder used for international payments and payouts", "reference" : "S.Eller-001", "capabilities" : { "receivePayments" : { "requested" : true } } } }, "patch-accountHolders-id-requestAccountHolderCapability-200" : { "summary" : "Account holder capability requested", "description" : "Example response for requesting the `receivePayments` capability for an account holder", "value" : { "balancePlatform" : "APIExplorer", "description" : "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" } }, "patch-accountHolders-id-updateAccountHolderStatus" : { "summary" : "Deactivate account holder", "description" : "Example request for permanently deactivating an account holder", "value" : { "status" : "Closed" } }, "patch-accountHolders-id-updateAccountHolderStatus-200" : { "summary" : "Account holder deactivated", "description" : "Example response for permanently deactivating an account holder", "value" : { "balancePlatform" : "APIExplorer", "description" : "Account holder used for international payments and payouts", "legalEntityId" : "LE322JV223222F5GKQZZ9DS99", "reference" : "S.Eller-001", "id" : "AH3227C223222C5GKR23686TF", "status" : "Closed" } }, "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" } }, "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", "paymentInstruments" : [ ], "status" : "Active" } }, "patch-paymentInstruments-id-updatePaymentInstrumentBalanceAccount" : { "summary" : "Update the balance account linked to a payment instrument", "description" : "Example request for updating the balance account of a payment instrument", "value" : { "balanceAccountId" : "BA32272223222B5CM82WL892M" } }, "patch-paymentInstruments-id-updatePaymentInstrumentBalanceAccount-200" : { "summary" : "Balance account updated", "description" : "Example response for updating the balance account linked to a payment instrument", "value" : { "balanceAccountId" : "BA32272223222B5CM82WL892M", "description" : "S. Hopper - Main card", "issuingCountryCode" : "GB", "status" : "Inactive", "type" : "card", "card" : { "brand" : "mc", "brandVariant" : "mcdebit", "cardholderName" : "Simon Hopper", "formFactor" : "virtual", "bin" : "555544", "expiration" : { "month" : "01", "year" : "2024" }, "lastFour" : "5785", "number" : "************5785" }, "id" : "PI3227C223222B5CMD278FKGS" } }, "patch-paymentInstruments-id-updatePaymentInstrumentStatus" : { "summary" : "Update the status of a payment instrument", "description" : "Example request for updating the status of a payment instrument", "value" : { "status" : "Suspended" } }, "patch-paymentInstruments-id-updatePaymentInstrumentStatus-200" : { "summary" : "Payment instrument status updated", "description" : "Example response for updating the status of a payment instrument", "value" : { "balanceAccountId" : "BA32272223222B59CZ3T52DKZ", "description" : "S. Hopper - Main card", "issuingCountryCode" : "GB", "status" : "Suspended", "type" : "card", "card" : { "brand" : "mc", "brandVariant" : "mcdebit", "cardholderName" : "Simon Hopper", "formFactor" : "virtual", "bin" : "555544", "expiration" : { "month" : "01", "year" : "2024" }, "lastFour" : "5785", "number" : "************5785" }, "id" : "PI3227C223222B5CMD278FKGS" } }, "patch-transactionRules-transactionRuleId-updateTransactionRuleStatus" : { "summary" : "Update the interval of transaction rule", "description" : "Example request for updating the interval of a transaction rule", "value" : { "description" : "Allow transactions only from NL", "reference" : "YOUR_REFERENCE_1738A", "paymentInstrumentId" : "PI32272223222B5FN64HK3KLM", "type" : "allowList", "countries" : [ "NL" ], "status" : "active", "interval" : { "type" : "weekly" } } }, "patch-transactionRules-transactionRuleId-updateTransactionRuleStatus-200" : { "summary" : "Transaction rule status updated", "description" : "Example response for successfully updating the status of a transaction rule", "value" : { "description" : "Allow 5 transactions per month", "interval" : { "type" : "monthly" }, "maxTransactions" : 5, "paymentInstrumentId" : "PI3227C223222B59KGTXP884R", "reference" : "myRule12345", "startDate" : "2021-01-21T12:46:35", "status" : "inactive", "type" : "velocity", "id" : "TR3227C223222B5B85CDV4DRS" } }, "post-accountHolders-createAccountHolder" : { "summary" : "Create an account holder", "description" : "Example request for creating an account holder", "value" : { "description" : "Account holder used for international payments and payouts", "reference" : "S.Eller-001", "legalEntityId" : "LE322JV223222D5GG42KN6869" } }, "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" : "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" : "AH32272223222H5J4DCPVC9CM", "status" : "Active" } }, "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" } }, "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-paymentInstrumentGroups-createPaymentInstrumentGroups" : { "summary" : "Create a payment instrument group", "description" : "Example request for creating a payment instrument group", "value" : { "balancePlatform" : "YOUR_BALANCE_PLATFORM", "txVariant" : "mc" } }, "post-paymentInstrumentGroups-createPaymentInstrumentGroups-200" : { "summary" : "Create a payment instrument group", "description" : "Example request for creating a payment instrument group", "value" : { "balancePlatform" : "YOUR_BALANCE_PLATFORM", "txVariant" : "mc", "id" : "PG32272223222H5J4DCRVC9DH" } }, "post-paymentInstruments-createBusinessAccountNL" : { "summary" : "Create a business account in NL", "description" : "Example request for creating a business account in NL", "value" : { "type" : "bankAccount", "description" : "YOUR_DESCRIPTION", "balanceAccountId" : "BA3227C223222B5CTBLR8BWJB", "issuingCountryCode" : "NL" } }, "post-paymentInstruments-createBusinessAccountNL-200" : { "summary" : "Business account in NL created", "description" : "Example response for creating a business account in NL", "value" : { "balanceAccountId" : "BA3227C223222B5CTBLR8BWJB", "issuingCountryCode" : "NL", "status" : "Active", "type" : "bankAccount", "description" : "YOUR_DESCRIPTION", "bankAccount" : { "type" : "iban", "iban" : "NL20ADYB2017000035" }, "id" : "PI322LJ223222B5DJS7CD9LWL" } }, "post-paymentInstruments-createBusinessAccountUS" : { "summary" : "Create a business account in the US", "description" : "Example request for creating a business account in the US", "value" : { "type" : "bankAccount", "description" : "YOUR_DESCRIPTION", "balanceAccountId" : "BA3227C223222B5CTBLR8BWJB", "issuingCountryCode" : "US" } }, "post-paymentInstruments-createBusinessAccountUS-200" : { "summary" : "Business account in the US created", "description" : "Example response for creating a business account in the US", "value" : { "balanceAccountId" : "BA3227C223222B5CTBLR8BWJB", "issuingCountryCode" : "US", "status" : "Active", "type" : "bankAccount", "description" : "YOUR_DESCRIPTION", "bankAccount" : { "type" : "usLocal", "accountNumber" : "333720756", "routingNumber" : "210000219", "accountType" : "checking" }, "id" : "PI322LJ223222B5DJS7CD9LWL" } }, "post-paymentInstruments-createPhysicalCard" : { "summary" : "Create a physical card", "description" : "Example request for creating a physical card", "value" : { "type" : "card", "issuingCountryCode" : "NL", "balanceAccountId" : "BA32272223222B59CZ3T52DKZ", "description" : "S.Hopper - Main card", "status" : "Inactive", "card" : { "formFactor" : "physical", "brand" : "mc", "brandVariant" : "mcdebit", "cardholderName" : "Sam Hopper", "deliveryContact" : { "address" : { "houseNumberOrName" : "64", "street" : "Brannan Street", "postalCode" : "1020CD", "city" : "Amsterdam", "country" : "NL" }, "name" : { "firstName" : "Sam", "lastName" : "Hopper" } }, "configuration" : { "configurationProfileId" : "CP123AB45678C91ABCD2ABCDE" } } } }, "post-paymentInstruments-createPhysicalCard-200" : { "summary" : "Physical card created", "description" : "Example response for creating a physical card", "value" : { "balanceAccountId" : "BA32272223222B59CZ3T52DKZ", "description" : "S. Hopper - Main card", "issuingCountryCode" : "NL", "status" : "Inactive", "type" : "card", "card" : { "brand" : "mc", "brandVariant" : "mcdebit", "cardholderName" : "Sam Hopper", "formFactor" : "physical", "number" : "************5785", "bin" : "555544", "expiration" : { "month" : "08", "year" : "2024" }, "lastFour" : "2765", "authentication" : { "password" : "******", "phone" : { "number" : "+123456789", "type" : "Mobile" } }, "deliveryContact" : { "address" : { "houseNumberOrName" : "64", "street" : "Brannan Street", "postalCode" : "1020CD", "city" : "Amsterdam", "country" : "NL" }, "name" : { "firstName" : "Sam", "lastName" : "Hopper" } }, "configuration" : { "configurationProfileId" : "CP123AB45678C91ABCD2ABCDE" } }, "id" : "PI3227C223222B5BPCMFXD2XG" } }, "post-paymentInstruments-createVirtualCard" : { "summary" : "Create a virtual card", "description" : "Example request for creating a virtual card", "value" : { "type" : "card", "description" : "S. Hopper - Main card", "balanceAccountId" : "BA32272223222B59CZ3T52DKZ", "issuingCountryCode" : "NL", "card" : { "cardholderName" : "Sam Hopper", "brand" : "mc", "brandVariant" : "mcdebit", "formFactor" : "virtual" } } }, "post-paymentInstruments-createVirtualCard-200" : { "summary" : "Virtual card created", "description" : "Example response for creating a virtual card", "value" : { "balanceAccountId" : "BA32272223222B59CZ3T52DKZ", "description" : "S.Hopper - Virtual card", "issuingCountryCode" : "NL", "status" : "Active", "type" : "card", "card" : { "brand" : "mc", "brandVariant" : "mcdebit", "cardholderName" : "Sam Hopper", "formFactor" : "virtual", "bin" : "555544", "cvc" : "613", "expiration" : { "month" : "03", "year" : "2025" }, "lastFour" : "9883", "number" : "5555444411209883" }, "id" : "PI32272223222B5FR7Z5CFDW4" } }, "post-transactionRules-createTransactionRule" : { "summary" : "Create a transaction rule", "value" : { "description" : "Allow transactions only from NL", "reference" : "YOUR_REFERENCE_1738A", "paymentInstrumentId" : "PI32272223222B5FN64HK3KLM", "type" : "allowList", "countries" : [ "NL" ], "status" : "active", "interval" : { "type" : "perTransaction" } } }, "post-transactionRules-createTransactionRule-200" : { "summary" : "Transaction rule created", "value" : { "countries" : [ "NL" ], "description" : "Allow transactions only from NL.", "interval" : { "type" : "perTransaction" }, "paymentInstrumentId" : "9826150920000060", "reference" : "YOUR_REFERENCE_1738A", "startDate" : "2024-02-21T17:15:09.92724969+01:00", "status" : "active", "type" : "allowList", "id" : "Z58FGTKBRCQ2WN27" } }, "post-validateBankAccountIdentification-validateBankAccountIdentificationIban" : { "summary" : "Validate an IBAN", "value" : { "accountIdentification" : { "type" : "iban", "iban" : "1001001234" } } }, "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" } }, "post-validateBankAccountIdentification-validateBankAccountIdentificationUs" : { "summary" : "Validate a US bank account", "value" : { "accountIdentification" : { "type" : "usLocal", "accountNumber" : "12345JHDhjkf67890", "accountType" : "checking", "routingNumber" : "121000567" } } }, "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." } ], "errorCode" : "33_01" } } }, "securitySchemes" : { "ApiKeyAuth" : { "type" : "apiKey", "name" : "X-API-Key", "in" : "header" }, "BasicAuth" : { "type" : "http", "scheme" : "basic" }, "clientKey" : { "type" : "apiKey", "name" : "clientKey", "in" : "query" } } } }