mirror of
https://github.com/gcatanese/adyen-openapi.git
synced 2026-03-10 08:01:24 +00:00
3121 lines
125 KiB
JSON
3121 lines
125 KiB
JSON
{
|
|
"openapi" : "3.1.0",
|
|
"servers" : [
|
|
{
|
|
"url" : "https://kyc-test.adyen.com/lem/v1"
|
|
}
|
|
],
|
|
"info" : {
|
|
"version" : "1",
|
|
"x-publicVersion" : true,
|
|
"title" : "Legal Entity Management API",
|
|
"description" : "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nTo connect to the Legal Entity Management API, you must use the basic authentication credentials of your web service user. If you don't have one, contact the [Adyen Support Team](https://www.adyen.help/hc/en-us/requests/new). Use the web service user credentials to authenticate your request, for example:\n\n```\ncurl\n-U \"ws12345@Scope.BalancePlatform_YourBalancePlatform\":\"YourWsPassword\" \\\n-H \"Content-Type: application/json\" \\\n...\n```\nNote that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n## Versioning\nThe Legal Entity Management API supports versioning of its endpoints through 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://kyc-test.adyen.com/lem/v1/legalEntities\n```\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the username and password to send requests to `https://kyc-live.adyen.com/lem/v1`.\n\n",
|
|
"x-timestamp" : "2022-10-10T11:25:27Z",
|
|
"termsOfService" : "https://www.adyen.com/legal/terms-and-conditions",
|
|
"contact" : {
|
|
"name" : "Adyen Developer Experience team",
|
|
"url" : "https://www.adyen.help/hc/en-us/community/topics",
|
|
"email" : "developer-experience@adyen.com"
|
|
}
|
|
},
|
|
"x-groups" : [
|
|
"Legal entities",
|
|
"Transfer instruments",
|
|
"Business lines",
|
|
"Documents",
|
|
"Hosted Onboarding"
|
|
],
|
|
"tags" : [
|
|
{
|
|
"name" : "Legal entities"
|
|
},
|
|
{
|
|
"name" : "Hosted Onboarding"
|
|
},
|
|
{
|
|
"name" : "Business lines"
|
|
},
|
|
{
|
|
"name" : "Documents"
|
|
},
|
|
{
|
|
"name" : "Transfer instruments"
|
|
}
|
|
],
|
|
"paths" : {
|
|
"/businessLines" : {
|
|
"post" : {
|
|
"tags" : [
|
|
"Business lines"
|
|
],
|
|
"summary" : "Create a business line",
|
|
"description" : "Creates a business line. \n\nThis resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "post-businessLines",
|
|
"x-groupName" : "Business lines",
|
|
"x-sortIndex" : 12,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"examples" : {
|
|
"createBusinessLines-businessAccounts" : {
|
|
"$ref" : "#/components/examples/post-businessLines-createBusinessLines-businessAccounts"
|
|
},
|
|
"createBusinessLines-receive" : {
|
|
"$ref" : "#/components/examples/post-businessLines-createBusinessLines-receive"
|
|
}
|
|
},
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/BusinessLineInfo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"examples" : {
|
|
"createBusinessLines-businessAccounts" : {
|
|
"$ref" : "#/components/examples/post-businessLines-createBusinessLines-businessAccounts-200"
|
|
},
|
|
"createBusinessLines-receive" : {
|
|
"$ref" : "#/components/examples/post-businessLines-createBusinessLines-receive-200"
|
|
}
|
|
},
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/BusinessLine"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/businessLines/{id}" : {
|
|
"get" : {
|
|
"tags" : [
|
|
"Business lines"
|
|
],
|
|
"summary" : "Get a business line",
|
|
"description" : "Returns the detail of a business line.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-businessLines-id",
|
|
"x-groupName" : "Business lines",
|
|
"x-sortIndex" : 13,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the business line.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/BusinessLine"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/documents" : {
|
|
"post" : {
|
|
"tags" : [
|
|
"Documents"
|
|
],
|
|
"summary" : "Upload a document for verification checks",
|
|
"description" : "Uploads a document for verification checks.\n\n Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents.\n\n You should only upload documents when Adyen requests additional information for the legal entity. ",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "post-documents",
|
|
"x-groupName" : "Documents",
|
|
"x-sortIndex" : 4,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/Document"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/Document"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/documents/{id}" : {
|
|
"delete" : {
|
|
"tags" : [
|
|
"Documents"
|
|
],
|
|
"summary" : "Delete a document",
|
|
"description" : "Deletes a document.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "delete-documents-id",
|
|
"x-groupName" : "Documents",
|
|
"x-sortIndex" : 7,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the document to be deleted.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/VoidResponse"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
},
|
|
"get" : {
|
|
"tags" : [
|
|
"Documents"
|
|
],
|
|
"summary" : "Get a document",
|
|
"description" : "Returns a document.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-documents-id",
|
|
"x-groupName" : "Documents",
|
|
"x-sortIndex" : 5,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the document.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/Document"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
},
|
|
"patch" : {
|
|
"tags" : [
|
|
"Documents"
|
|
],
|
|
"summary" : "Update a document",
|
|
"description" : "Updates a document.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "patch-documents-id",
|
|
"x-groupName" : "Documents",
|
|
"x-sortIndex" : 6,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/Document"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the document to be updated.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/Document"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/legalEntities" : {
|
|
"post" : {
|
|
"tags" : [
|
|
"Legal entities"
|
|
],
|
|
"summary" : "Create a legal entity",
|
|
"description" : "Creates a legal entity. \n\nThis resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. \n\n",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "post-legalEntities",
|
|
"x-groupName" : "Legal entities",
|
|
"x-sortIndex" : 1,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"examples" : {
|
|
"createLegalEntityIndividualNL" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualNL"
|
|
},
|
|
"createLegalEntityIndividualUS" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualUS"
|
|
},
|
|
"createLegalEntityOrganizationNL" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityOrganizationNL"
|
|
},
|
|
"createLegalEntityOrganizationUS" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityOrganizationUS"
|
|
},
|
|
"createLegalEntitySolePropNL" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntitySolePropNL"
|
|
},
|
|
"createLegalEntitySolePropUS" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntitySolePropUS"
|
|
}
|
|
},
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/LegalEntityInfo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"examples" : {
|
|
"createLegalEntityIndividualNL" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualNL-200"
|
|
},
|
|
"createLegalEntityIndividualUS" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualUS-200"
|
|
},
|
|
"createLegalEntityOrganizationNL" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityOrganizationNL-200"
|
|
},
|
|
"createLegalEntityOrganizationUS" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityOrganizationUS-200"
|
|
},
|
|
"createLegalEntitySolePropNL" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntitySolePropNL-200"
|
|
},
|
|
"createLegalEntitySolePropUS" : {
|
|
"$ref" : "#/components/examples/post-legalEntities-createLegalEntitySolePropUS-200"
|
|
}
|
|
},
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/LegalEntity"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/legalEntities/{id}" : {
|
|
"get" : {
|
|
"tags" : [
|
|
"Legal entities"
|
|
],
|
|
"summary" : "Get a legal entity",
|
|
"description" : "Returns a legal entity.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-legalEntities-id",
|
|
"x-groupName" : "Legal entities",
|
|
"x-sortIndex" : 2,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the legal entity.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/LegalEntity"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
},
|
|
"patch" : {
|
|
"tags" : [
|
|
"Legal entities"
|
|
],
|
|
"summary" : "Update a legal entity",
|
|
"description" : "Updates a legal entity.\n\n >To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "patch-legalEntities-id",
|
|
"x-groupName" : "Legal entities",
|
|
"x-sortIndex" : 3,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/GenericEntityInfo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the legal entity.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/LegalEntity"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/legalEntities/{id}/businessLines" : {
|
|
"get" : {
|
|
"tags" : [
|
|
"Legal entities"
|
|
],
|
|
"summary" : "Get all business lines under a legal entity",
|
|
"description" : "Returns the business lines owned by a legal entity.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-legalEntities-id-businessLines",
|
|
"x-groupName" : "Legal entities",
|
|
"x-sortIndex" : 4,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the legal entity.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/BusinessLines"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/legalEntities/{id}/onboardingLinks" : {
|
|
"post" : {
|
|
"tags" : [
|
|
"Hosted Onboarding"
|
|
],
|
|
"summary" : "Get a link to an Adyen-hosted onboarding page",
|
|
"description" : "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "post-legalEntities-id-onboardingLinks",
|
|
"x-groupName" : "Hosted Onboarding",
|
|
"x-sortIndex" : 1,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/OnboardingLinkInfo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the legal entity",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/OnboardingLink"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/themes" : {
|
|
"get" : {
|
|
"tags" : [
|
|
"Hosted Onboarding"
|
|
],
|
|
"summary" : "Get a list of hosted onboarding page themes",
|
|
"description" : "Returns a list of hosted onboarding page themes.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-themes",
|
|
"x-groupName" : "Hosted Onboarding",
|
|
"x-sortIndex" : 2,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/OnboardingThemes"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/themes/{id}" : {
|
|
"get" : {
|
|
"tags" : [
|
|
"Hosted Onboarding"
|
|
],
|
|
"summary" : "Get an onboarding link theme",
|
|
"description" : "Returns the details of the theme identified in the path.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-themes-id",
|
|
"x-groupName" : "Hosted Onboarding",
|
|
"x-sortIndex" : 4,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the theme",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/OnboardingTheme"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/transferInstruments" : {
|
|
"post" : {
|
|
"tags" : [
|
|
"Transfer instruments"
|
|
],
|
|
"summary" : "Create a transfer instrument",
|
|
"description" : "Creates a transfer instrument. \n\nA transfer instrument is a bank account or other payment details that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses.\n\nWhen the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts).",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "post-transferInstruments",
|
|
"x-groupName" : "Transfer instruments",
|
|
"x-sortIndex" : 8,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"examples" : {
|
|
"createTransferInstrumentEUR" : {
|
|
"$ref" : "#/components/examples/post-transferInstruments-createTransferInstrumentEUR"
|
|
},
|
|
"createTransferInstrumentUSD" : {
|
|
"$ref" : "#/components/examples/post-transferInstruments-createTransferInstrumentUSD"
|
|
}
|
|
},
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/TransferInstrumentInfo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"examples" : {
|
|
"createTransferInstrumentEUR" : {
|
|
"$ref" : "#/components/examples/post-transferInstruments-createTransferInstrumentEUR-200"
|
|
},
|
|
"createTransferInstrumentUSD" : {
|
|
"$ref" : "#/components/examples/post-transferInstruments-createTransferInstrumentUSD-200"
|
|
}
|
|
},
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/TransferInstrument"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/transferInstruments/{id}" : {
|
|
"delete" : {
|
|
"tags" : [
|
|
"Transfer instruments"
|
|
],
|
|
"summary" : "Delete a transfer instrument",
|
|
"description" : "Deletes a transfer instrument.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "delete-transferInstruments-id",
|
|
"x-groupName" : "Transfer instruments",
|
|
"x-sortIndex" : 11,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the transfer instrument to be deleted.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/VoidResponse"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
},
|
|
"get" : {
|
|
"tags" : [
|
|
"Transfer instruments"
|
|
],
|
|
"summary" : "Get a transfer instrument",
|
|
"description" : "Returns the details of a transfer instrument.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "get-transferInstruments-id",
|
|
"x-groupName" : "Transfer instruments",
|
|
"x-sortIndex" : 9,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the transfer instrument.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/TransferInstrument"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
},
|
|
"patch" : {
|
|
"tags" : [
|
|
"Transfer instruments"
|
|
],
|
|
"summary" : "Update a transfer instrument",
|
|
"description" : "Updates a transfer instrument.",
|
|
"x-addedInVersion" : "1",
|
|
"operationId" : "patch-transferInstruments-id",
|
|
"x-groupName" : "Transfer instruments",
|
|
"x-sortIndex" : 10,
|
|
"security" : [
|
|
{
|
|
"BasicAuth" : [
|
|
]
|
|
},
|
|
{
|
|
"ApiKeyAuth" : [
|
|
]
|
|
}
|
|
],
|
|
"requestBody" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/TransferInstrumentInfo"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parameters" : [
|
|
{
|
|
"description" : "The unique identifier of the transfer instrument.",
|
|
"name" : "id",
|
|
"in" : "path",
|
|
"required" : true,
|
|
"schema" : {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
],
|
|
"responses" : {
|
|
"200" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/TransferInstrument"
|
|
}
|
|
}
|
|
},
|
|
"description" : "OK - the request has succeeded."
|
|
},
|
|
"400" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Bad Request - a problem reading or understanding the request."
|
|
},
|
|
"401" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unauthorized - authentication required."
|
|
},
|
|
"403" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Forbidden - insufficient permissions to process the request."
|
|
},
|
|
"422" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Unprocessable Entity - a request validation error."
|
|
},
|
|
"500" : {
|
|
"content" : {
|
|
"application/json" : {
|
|
"schema" : {
|
|
"$ref" : "#/components/schemas/ServiceError"
|
|
}
|
|
}
|
|
},
|
|
"description" : "Internal Server Error - the server could not process the request."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components" : {
|
|
"schemas" : {
|
|
"Address" : {
|
|
"properties" : {
|
|
"city" : {
|
|
"description" : "The name of the city. Required if `stateOrProvince` is provided.\n\nIf you specify the city, you must also send `postalCode` and `street`.",
|
|
"type" : "string"
|
|
},
|
|
"country" : {
|
|
"description" : "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.",
|
|
"type" : "string"
|
|
},
|
|
"postalCode" : {
|
|
"description" : "Postal code. Required if `stateOrProvince` and/or `city` is provided.",
|
|
"type" : "string"
|
|
},
|
|
"stateOrProvince" : {
|
|
"description" : "The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. \n\nIf you specify the state or province, you must also send `city`, `postalCode`, and `street`.",
|
|
"type" : "string"
|
|
},
|
|
"street" : {
|
|
"description" : "The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided.",
|
|
"type" : "string"
|
|
},
|
|
"street2" : {
|
|
"description" : "The apartment, unit, or suite number.",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"country"
|
|
]
|
|
},
|
|
"Attachment" : {
|
|
"properties" : {
|
|
"content" : {
|
|
"description" : "The document in Base64-encoded string format.",
|
|
"format" : "byte",
|
|
"type" : "string"
|
|
},
|
|
"contentType" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The file format.\n\n Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. ",
|
|
"type" : "string"
|
|
},
|
|
"filename" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The name of the file including the file extension.",
|
|
"type" : "string"
|
|
},
|
|
"pageType" : {
|
|
"description" : "Specifies which side of the ID card is uploaded.\n\n* When `type` is **driversLicense**, set this to **front** or **back**.\n\n* When omitted, we infer the page number based on the order of attachments.",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"content"
|
|
]
|
|
},
|
|
"BankAccountInfo" : {
|
|
"properties" : {
|
|
"accountNumber" : {
|
|
"description" : "The bank account number (without separators).\n\n When this is provided, the `branchCode` is also required.",
|
|
"type" : "string"
|
|
},
|
|
"accountType" : {
|
|
"description" : "The type of bank account.",
|
|
"type" : "string"
|
|
},
|
|
"bankBicSwift" : {
|
|
"description" : "The bank's BIC or SWIFT code.",
|
|
"type" : "string"
|
|
},
|
|
"bankCity" : {
|
|
"description" : "The city where the bank is located.",
|
|
"type" : "string"
|
|
},
|
|
"bankCode" : {
|
|
"description" : "The bank code of the banking institution with which the bank account is registered.",
|
|
"type" : "string"
|
|
},
|
|
"bankName" : {
|
|
"description" : "The name of the banking institution where the bank account is held.",
|
|
"type" : "string"
|
|
},
|
|
"branchCode" : {
|
|
"description" : "The branch code of the branch under which the bank account is registered.\n\nRequired when you provide an `accountNumber`.\n\n In the following countries, this value corresponds to:\n\n\n* United States: routing number\n* United Kingdom: sort code\n* Germany: Bankleitzahl",
|
|
"type" : "string"
|
|
},
|
|
"checkCode" : {
|
|
"description" : "The check code of the bank account.",
|
|
"type" : "string"
|
|
},
|
|
"countryCode" : {
|
|
"description" : "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.",
|
|
"type" : "string"
|
|
},
|
|
"currencyCode" : {
|
|
"description" : "The account's three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **EUR**.",
|
|
"type" : "string"
|
|
},
|
|
"iban" : {
|
|
"description" : "The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"countryCode",
|
|
"currencyCode"
|
|
]
|
|
},
|
|
"BirthData" : {
|
|
"properties" : {
|
|
"dateOfBirth" : {
|
|
"description" : "The individual's date of birth, in YYYY-MM-DD format.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"BusinessLine" : {
|
|
"properties" : {
|
|
"capability" : {
|
|
"description" : "The capability for which you are creating the business line. For example, **receivePayments**.",
|
|
"type" : "string"
|
|
},
|
|
"id" : {
|
|
"description" : "The unique identifier of the business line.",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"industryCode" : {
|
|
"description" : "A code that represents the industry of the legal entity. For example, **4431A** for computer software stores.",
|
|
"type" : "string"
|
|
},
|
|
"legalEntityId" : {
|
|
"description" : "Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.",
|
|
"type" : "string"
|
|
},
|
|
"salesChannels" : {
|
|
"description" : "A list of channels where goods or services are sold. You cannot combine point of sale and ecommerce in one business line.\n\nPossible values and combinations:\n\n- For point of sale: **pos** and **posMoto**\n\n- For ecommerce: **eCommerce** and **ecomMoto**\n\n- For Pay by Link: **payByLink**\n\nRequired only in combination with the `capability` to **receivePayments** or **receiveFromPlatformPayments**.",
|
|
"items" : {
|
|
"type" : "string"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"sourceOfFunds" : {
|
|
"description" : "Contains information about the source of your user's funds. Required only for the `capability` to **issueBankAccount**.",
|
|
"$ref" : "#/components/schemas/SourceOfFunds"
|
|
},
|
|
"webData" : {
|
|
"description" : "List of website URLs where your user's goods or services are sold. When this is required for a capability but your user does not have an online presence, provide the reason in the `webDataExemption` object.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/WebData"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"webDataExemption" : {
|
|
"description" : "The reason why the web data is not provided.",
|
|
"$ref" : "#/components/schemas/WebDataExemption"
|
|
}
|
|
},
|
|
"required" : [
|
|
"capability",
|
|
"industryCode",
|
|
"legalEntityId",
|
|
"id"
|
|
]
|
|
},
|
|
"BusinessLineInfo" : {
|
|
"properties" : {
|
|
"capability" : {
|
|
"description" : "The capability for which you are creating the business line. For example, **receivePayments**.",
|
|
"type" : "string"
|
|
},
|
|
"industryCode" : {
|
|
"description" : "A code that represents the industry of the legal entity. For example, **4431A** for computer software stores.",
|
|
"type" : "string"
|
|
},
|
|
"legalEntityId" : {
|
|
"description" : "Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.",
|
|
"type" : "string"
|
|
},
|
|
"salesChannels" : {
|
|
"description" : "A list of channels where goods or services are sold. You cannot combine point of sale and ecommerce in one business line.\n\nPossible values and combinations:\n\n- For point of sale: **pos** and **posMoto**\n\n- For ecommerce: **eCommerce** and **ecomMoto**\n\n- For Pay by Link: **payByLink**\n\nRequired only in combination with the `capability` to **receivePayments** or **receiveFromPlatformPayments**.",
|
|
"items" : {
|
|
"type" : "string"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"sourceOfFunds" : {
|
|
"description" : "Contains information about the source of your user's funds. Required only for the `capability` to **issueBankAccount**.",
|
|
"$ref" : "#/components/schemas/SourceOfFunds"
|
|
},
|
|
"webData" : {
|
|
"description" : "List of website URLs where your user's goods or services are sold. When this is required for a capability but your user does not have an online presence, provide the reason in the `webDataExemption` object.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/WebData"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"webDataExemption" : {
|
|
"description" : "The reason why the web data is not provided.",
|
|
"$ref" : "#/components/schemas/WebDataExemption"
|
|
}
|
|
},
|
|
"required" : [
|
|
"capability",
|
|
"industryCode",
|
|
"legalEntityId"
|
|
]
|
|
},
|
|
"BusinessLines" : {
|
|
"properties" : {
|
|
"businessLines" : {
|
|
"description" : "List of business lines.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/BusinessLine"
|
|
},
|
|
"type" : "array"
|
|
}
|
|
},
|
|
"required" : [
|
|
"businessLines"
|
|
]
|
|
},
|
|
"Document" : {
|
|
"properties" : {
|
|
"attachment" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"x-deprecatedMessage" : "Use the `attachments` array instead.",
|
|
"description" : "Object that contains the document.",
|
|
"$ref" : "#/components/schemas/Attachment"
|
|
},
|
|
"attachments" : {
|
|
"description" : "Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/Attachment"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"description" : {
|
|
"description" : "Your description for the document.",
|
|
"type" : "string"
|
|
},
|
|
"expiryDate" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The expiry date of the document, in YYYY-MM-DD format.",
|
|
"type" : "string"
|
|
},
|
|
"fileName" : {
|
|
"description" : "The filename of the document.",
|
|
"type" : "string"
|
|
},
|
|
"id" : {
|
|
"description" : "The unique identifier of the document.",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"issuerCountry" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**.",
|
|
"type" : "string"
|
|
},
|
|
"issuerState" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The state or province where the document was issued (AU only).",
|
|
"type" : "string"
|
|
},
|
|
"number" : {
|
|
"description" : "The number in the document.",
|
|
"type" : "string"
|
|
},
|
|
"owner" : {
|
|
"description" : "Contains information about the resource that owns the document.",
|
|
"$ref" : "#/components/schemas/OwnerEntity"
|
|
},
|
|
"type" : {
|
|
"description" : "Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type.\n\nWhen providing ID numbers:\n* For **individual**, the `type` values can be **driversLicense**, **identityCard**, **nationalIdNumber**, or **passport**.\n\nWhen uploading documents:\n* For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **taxDocument**, **proofOfOwnership**, or **proofOfIndustry**. \n\n* For **individual**, the `type` values can be **identityCard**, **driversLicense**, **proofOfNationalIdNumber**, **proofOfResidency**, or **proofOfIndustry**.\n\n* Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).",
|
|
"enum" : [
|
|
"bankStatement",
|
|
"driversLicense",
|
|
"identityCard",
|
|
"nationalIdNumber",
|
|
"passport",
|
|
"proofOfAddress",
|
|
"proofOfNationalIdNumber",
|
|
"proofOfResidency",
|
|
"registrationDocument",
|
|
"taxDocument",
|
|
"proofOfIndustry"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"type",
|
|
"description",
|
|
"owner",
|
|
"attachments",
|
|
"id"
|
|
]
|
|
},
|
|
"EntityReference" : {
|
|
"properties" : {
|
|
"id" : {
|
|
"description" : "The unique identifier of the resource.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"GenericEntityInfo" : {
|
|
"properties" : {
|
|
"entityAssociations" : {
|
|
"description" : "List of legal entities associated with the current legal entity.\nFor example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/LegalEntityAssociation"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"individual" : {
|
|
"description" : "Information about the individual. Required if `type` is **individual**.",
|
|
"$ref" : "#/components/schemas/Individual"
|
|
},
|
|
"organization" : {
|
|
"description" : "Information about the organization. Required if `type` is **organization**.",
|
|
"$ref" : "#/components/schemas/Organization"
|
|
}
|
|
}
|
|
},
|
|
"IdentificationData" : {
|
|
"properties" : {
|
|
"expiryDate" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The expiry date of the document, in YYYY-MM-DD format.",
|
|
"type" : "string"
|
|
},
|
|
"issuerCountry" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**.",
|
|
"type" : "string"
|
|
},
|
|
"issuerState" : {
|
|
"description" : "The state or province where the document was issued (AU only).",
|
|
"type" : "string"
|
|
},
|
|
"nationalIdExempt" : {
|
|
"description" : "Applies only to individuals in the US. Set to **true** if the individual does not have an SSN. To verify their identity, Adyen will require them to upload an ID document.",
|
|
"type" : "boolean"
|
|
},
|
|
"number" : {
|
|
"description" : "The number in the document.",
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type.\n\nWhen providing ID numbers:\n* For **individual**, the `type` values can be **driversLicense**, **identityCard**, **nationalIdNumber**, or **passport**.\n\nWhen uploading documents:\n* For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **taxDocument**, **proofOfOwnership**, or **proofOfIndustry**. \n\n* For **individual**, the `type` values can be **identityCard**, **driversLicense**, **proofOfNationalIdNumber**, **proofOfResidency**, or **proofOfIndustry**.\n\n* Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).",
|
|
"enum" : [
|
|
"bankStatement",
|
|
"driversLicense",
|
|
"identityCard",
|
|
"nationalIdNumber",
|
|
"passport",
|
|
"proofOfAddress",
|
|
"proofOfNationalIdNumber",
|
|
"proofOfResidency",
|
|
"registrationDocument",
|
|
"taxDocument",
|
|
"proofOfIndustry"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"type"
|
|
]
|
|
},
|
|
"Individual" : {
|
|
"properties" : {
|
|
"birthData" : {
|
|
"description" : "The individual's birth information.",
|
|
"$ref" : "#/components/schemas/BirthData"
|
|
},
|
|
"email" : {
|
|
"description" : "The email address of the legal entity.",
|
|
"type" : "string"
|
|
},
|
|
"identificationData" : {
|
|
"description" : "Information about the individual's identification document.",
|
|
"$ref" : "#/components/schemas/IdentificationData"
|
|
},
|
|
"name" : {
|
|
"description" : "The individual's name.",
|
|
"$ref" : "#/components/schemas/Name"
|
|
},
|
|
"nationality" : {
|
|
"description" : "The individual's nationality.",
|
|
"type" : "string"
|
|
},
|
|
"phone" : {
|
|
"description" : "The phone number of the legal entity.",
|
|
"$ref" : "#/components/schemas/PhoneNumber"
|
|
},
|
|
"residentialAddress" : {
|
|
"description" : "The residential address of the individual.",
|
|
"$ref" : "#/components/schemas/Address"
|
|
},
|
|
"webData" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The website and app URL of the legal entity.",
|
|
"$ref" : "#/components/schemas/WebData"
|
|
}
|
|
},
|
|
"required" : [
|
|
"name",
|
|
"residentialAddress"
|
|
]
|
|
},
|
|
"LegalEntity" : {
|
|
"properties" : {
|
|
"documents" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"x-deprecatedMessage" : "Use the `documentDetails` array instead.",
|
|
"description" : "List of documents uploaded for the legal entity.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/EntityReference"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"entityAssociations" : {
|
|
"description" : "List of legal entities associated with the current legal entity.\nFor example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/LegalEntityAssociation"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"id" : {
|
|
"description" : "The unique identifier of the legal entity.",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"individual" : {
|
|
"description" : "Information about the individual. Required if `type` is **individual**.",
|
|
"$ref" : "#/components/schemas/Individual"
|
|
},
|
|
"organization" : {
|
|
"description" : "Information about the organization. Required if `type` is **organization**.",
|
|
"$ref" : "#/components/schemas/Organization"
|
|
},
|
|
"reference" : {
|
|
"description" : "Your reference for the legal entity, maximum 150 characters.",
|
|
"maxLength" : 150,
|
|
"type" : "string"
|
|
},
|
|
"transferInstruments" : {
|
|
"description" : "List of transfer instruments owned by the legal entity.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/EntityReference"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"type" : {
|
|
"description" : "The type of legal entity.\n\n Possible values: **individual** or **organization**",
|
|
"enum" : [
|
|
"individual",
|
|
"organization"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"type",
|
|
"id"
|
|
]
|
|
},
|
|
"LegalEntityAssociation" : {
|
|
"properties" : {
|
|
"associatorId" : {
|
|
"description" : "The unique identifier of another legal entity with which the `legalEntityId` is associated. When the `legalEntityId` is associated to legal entities other than the current one, the response returns all the associations.",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"entityType" : {
|
|
"description" : "The legal entity type of associated legal entity. \n\nFor example, **organization**, **soleProprietorship** or **individual**. ",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"jobTitle" : {
|
|
"description" : "The individual's job title if the `type` is **uboThroughControl** or **signatory**.",
|
|
"type" : "string"
|
|
},
|
|
"legalEntityId" : {
|
|
"description" : "The unique identifier of the associated [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id).",
|
|
"type" : "string"
|
|
},
|
|
"name" : {
|
|
"description" : "The name of the associated [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id).\n\n- For **individual**, `name.firstName` and `name.lastName`.\n- For **organization**, `legalName`.\n- For **soleProprietorship**, `name`.",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "Defines the relationship of the legal entity to the current legal entity. \n\nFor example, **uboThroughOwnership**, **uboThroughControl**, or **signatory**. ",
|
|
"enum" : [
|
|
"signatory",
|
|
"uboThroughControl",
|
|
"uboThroughOwnership"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"legalEntityId",
|
|
"type"
|
|
]
|
|
},
|
|
"LegalEntityInfo" : {
|
|
"properties" : {
|
|
"entityAssociations" : {
|
|
"description" : "List of legal entities associated with the current legal entity.\nFor example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/LegalEntityAssociation"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"individual" : {
|
|
"description" : "Information about the individual. Required if `type` is **individual**.",
|
|
"$ref" : "#/components/schemas/Individual"
|
|
},
|
|
"organization" : {
|
|
"description" : "Information about the organization. Required if `type` is **organization**.",
|
|
"$ref" : "#/components/schemas/Organization"
|
|
},
|
|
"reference" : {
|
|
"description" : "Your reference for the legal entity, maximum 150 characters.",
|
|
"maxLength" : 150,
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "The type of legal entity.\n\n Possible values: **individual** or **organization**",
|
|
"enum" : [
|
|
"individual",
|
|
"organization"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"type"
|
|
]
|
|
},
|
|
"Name" : {
|
|
"properties" : {
|
|
"firstName" : {
|
|
"description" : "The individual's first name.",
|
|
"type" : "string"
|
|
},
|
|
"infix" : {
|
|
"description" : "The infix in the individual's name, if any.",
|
|
"type" : "string"
|
|
},
|
|
"lastName" : {
|
|
"description" : "The individual's last name.",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"firstName",
|
|
"lastName"
|
|
]
|
|
},
|
|
"OnboardingLink" : {
|
|
"properties" : {
|
|
"url" : {
|
|
"description" : "The URL of the hosted onboarding page where you need to redirect your user. This URL expires after 4 minutes and can only be used once.\n\nIf the link expires, you need to create a new link.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"OnboardingLinkInfo" : {
|
|
"properties" : {
|
|
"locale" : {
|
|
"description" : "The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. Possible values: **cs-CZ**, **de-DE**, **en-US**, **es-ES**, **it-IT**, **nl-NL**, **no-NO**, **pl-PL**, **pt-PT**, **sv-SE**. \n\nIf not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.",
|
|
"type" : "string"
|
|
},
|
|
"redirectUrl" : {
|
|
"description" : "The URL where the user is redirected after they complete hosted onboarding.",
|
|
"type" : "string"
|
|
},
|
|
"themeId" : {
|
|
"description" : "The unique identifier of the hosted onboarding theme.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"OnboardingTheme" : {
|
|
"properties" : {
|
|
"createdAt" : {
|
|
"description" : "The creation date of the theme.",
|
|
"format" : "date-time",
|
|
"type" : "string"
|
|
},
|
|
"description" : {
|
|
"description" : "The description of the theme.",
|
|
"type" : "string"
|
|
},
|
|
"id" : {
|
|
"description" : "The unique identifier of the theme.",
|
|
"type" : "string"
|
|
},
|
|
"properties" : {
|
|
"additionalProperties" : {
|
|
"type" : "string"
|
|
},
|
|
"description" : "The properties of the theme.",
|
|
"type" : "object"
|
|
},
|
|
"updatedAt" : {
|
|
"description" : "The date when the theme was last updated.",
|
|
"format" : "date-time",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"properties",
|
|
"id",
|
|
"createdAt"
|
|
]
|
|
},
|
|
"OnboardingThemes" : {
|
|
"properties" : {
|
|
"next" : {
|
|
"description" : "The next page. Only present if there is a next page.",
|
|
"type" : "string"
|
|
},
|
|
"previous" : {
|
|
"description" : "The previous page. Only present if there is a previous page.",
|
|
"type" : "string"
|
|
},
|
|
"themes" : {
|
|
"description" : "List of onboarding themes.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/OnboardingTheme"
|
|
},
|
|
"type" : "array"
|
|
}
|
|
},
|
|
"required" : [
|
|
"themes"
|
|
]
|
|
},
|
|
"Organization" : {
|
|
"properties" : {
|
|
"description" : {
|
|
"description" : "Your description for the organization.",
|
|
"type" : "string"
|
|
},
|
|
"doingBusinessAs" : {
|
|
"description" : "The organization's trading name, if different from the registered legal name.",
|
|
"type" : "string"
|
|
},
|
|
"email" : {
|
|
"description" : "The email address of the legal entity.",
|
|
"type" : "string"
|
|
},
|
|
"legalName" : {
|
|
"description" : "The organization's legal name.",
|
|
"type" : "string"
|
|
},
|
|
"phone" : {
|
|
"description" : "The phone number of the legal entity.",
|
|
"$ref" : "#/components/schemas/PhoneNumber"
|
|
},
|
|
"principalPlaceOfBusiness" : {
|
|
"description" : "The address where the organization operates from. Provide this if the principal place of business is different from the `registeredAddress`.",
|
|
"$ref" : "#/components/schemas/Address"
|
|
},
|
|
"registeredAddress" : {
|
|
"description" : "The address of the organization registered at their registrar (such as the Chamber of Commerce).",
|
|
"$ref" : "#/components/schemas/Address"
|
|
},
|
|
"registrationNumber" : {
|
|
"description" : "The organization's registration number.",
|
|
"type" : "string"
|
|
},
|
|
"stockData" : {
|
|
"description" : "Information about the organization's publicly traded stock. Provide this object only if `type` is **listedPublicCompany**.",
|
|
"$ref" : "#/components/schemas/StockData"
|
|
},
|
|
"taxExempt" : {
|
|
"description" : "Indicates whether the legal entity is exempt from tax. When **true**, the `taxIdAbsenceReason` must be provided.\n\n",
|
|
"type" : "boolean"
|
|
},
|
|
"taxId" : {
|
|
"description" : "The organization's tax identifier.",
|
|
"type" : "string"
|
|
},
|
|
"taxIdAbsenceReason" : {
|
|
"description" : "The reason the organization has not provided a tax identifier.\n\nPossible values: **industryExemption**, **belowTaxThreshold**.",
|
|
"enum" : [
|
|
"industryExemption",
|
|
"belowTaxThreshold"
|
|
],
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "Type of organization. \n\nPossible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.",
|
|
"enum" : [
|
|
"associationIncorporated",
|
|
"governmentalOrganization",
|
|
"listedPublicCompany",
|
|
"nonProfit",
|
|
"partnershipIncorporated",
|
|
"privateCompany"
|
|
],
|
|
"type" : "string"
|
|
},
|
|
"webData" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "The website and app URL of the legal entity.",
|
|
"$ref" : "#/components/schemas/WebData"
|
|
}
|
|
},
|
|
"required" : [
|
|
"legalName",
|
|
"registeredAddress"
|
|
]
|
|
},
|
|
"OwnerEntity" : {
|
|
"properties" : {
|
|
"id" : {
|
|
"description" : "Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).",
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "Type of resource that owns the document.\n\nPossible values: **legalEntity**, **bankAccount**.",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"id",
|
|
"type"
|
|
]
|
|
},
|
|
"PhoneNumber" : {
|
|
"properties" : {
|
|
"countryCode" : {
|
|
"description" : "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. For example, **US** or **NL**.",
|
|
"type" : "string"
|
|
},
|
|
"number" : {
|
|
"description" : "The phone number.",
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "The type of phone number.\n Possible values: **mobile**, **landline**, **sip**, **fax.** ",
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"type",
|
|
"number"
|
|
]
|
|
},
|
|
"RecurringDetail" : {
|
|
"properties" : {
|
|
"merchantAccount" : {
|
|
"description" : "The merchant account used when the payment details were stored.",
|
|
"type" : "string"
|
|
},
|
|
"reference" : {
|
|
"description" : "The `recurringDetailReference` returned in the response when the payment details were stored.",
|
|
"type" : "string"
|
|
},
|
|
"shopperReference" : {
|
|
"description" : "The unique identifier used when the payment details were stored.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"ServiceError" : {
|
|
"properties" : {
|
|
"errorCode" : {
|
|
"description" : "The error code mapped to the error message.",
|
|
"type" : "string"
|
|
},
|
|
"errorType" : {
|
|
"description" : "The category of the error.",
|
|
"type" : "string"
|
|
},
|
|
"message" : {
|
|
"description" : "A short explanation of the issue.",
|
|
"type" : "string"
|
|
},
|
|
"pspReference" : {
|
|
"description" : "The PSP reference of the payment.",
|
|
"type" : "string"
|
|
},
|
|
"status" : {
|
|
"description" : "The HTTP response status.",
|
|
"format" : "int32",
|
|
"type" : "integer"
|
|
}
|
|
}
|
|
},
|
|
"SourceOfFunds" : {
|
|
"properties" : {
|
|
"acquiringBusinessLineId" : {
|
|
"description" : "The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. Required when `adyenProcessedFunds` is **true**.",
|
|
"type" : "string"
|
|
},
|
|
"adyenProcessedFunds" : {
|
|
"description" : "Indicates whether the funds are coming from transactions processed by Adyen.\n\n - If **true**, the `acquiringBusinessLineId` is required.\n\n - If **false**, a `description` is required.",
|
|
"type" : "boolean"
|
|
},
|
|
"description" : {
|
|
"description" : "Text describing the source of funds. For example, for `type` **business**, provide a description of the business. Required when `adyenProcessedFunds` is **false**.",
|
|
"type" : "string"
|
|
},
|
|
"type" : {
|
|
"description" : "The type of the source of funds. Possible value: **business**.",
|
|
"enum" : [
|
|
"business"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"StockData" : {
|
|
"properties" : {
|
|
"marketIdentifier" : {
|
|
"description" : "The four-digit [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) of the stock market where the organization's stocks are traded.",
|
|
"type" : "string"
|
|
},
|
|
"stockNumber" : {
|
|
"description" : "The 12-digit International Securities Identification Number (ISIN) of the company, without dashes (-).",
|
|
"type" : "string"
|
|
},
|
|
"tickerSymbol" : {
|
|
"description" : "The stock ticker symbol.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"TransferInstrument" : {
|
|
"properties" : {
|
|
"bankAccount" : {
|
|
"description" : "Contains information about the legal entity's bank account. Required when `type` is **bankAccount**.",
|
|
"$ref" : "#/components/schemas/BankAccountInfo"
|
|
},
|
|
"documents" : {
|
|
"deprecated" : true,
|
|
"x-deprecatedInVersion" : "1",
|
|
"description" : "List of documents uploaded for the transfer instrument.",
|
|
"items" : {
|
|
"$ref" : "#/components/schemas/EntityReference"
|
|
},
|
|
"type" : "array"
|
|
},
|
|
"id" : {
|
|
"description" : "The unique identifier of the transfer instrument.",
|
|
"readOnly" : true,
|
|
"type" : "string"
|
|
},
|
|
"legalEntityId" : {
|
|
"description" : "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the transfer instrument.",
|
|
"type" : "string"
|
|
},
|
|
"recurringDetail" : {
|
|
"description" : "Contains information about the legal entity's previously stored payment details. Required when `type` is **recurringDetail**.",
|
|
"$ref" : "#/components/schemas/RecurringDetail"
|
|
},
|
|
"type" : {
|
|
"description" : "The type of transfer instrument.\n\nPossible values: **bankAccount**, **recurringDetail**.",
|
|
"enum" : [
|
|
"bankAccount",
|
|
"recurringDetail"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"legalEntityId",
|
|
"type",
|
|
"id"
|
|
]
|
|
},
|
|
"TransferInstrumentInfo" : {
|
|
"properties" : {
|
|
"bankAccount" : {
|
|
"description" : "Contains information about the legal entity's bank account. Required when `type` is **bankAccount**.",
|
|
"$ref" : "#/components/schemas/BankAccountInfo"
|
|
},
|
|
"legalEntityId" : {
|
|
"description" : "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the transfer instrument.",
|
|
"type" : "string"
|
|
},
|
|
"recurringDetail" : {
|
|
"description" : "Contains information about the legal entity's previously stored payment details. Required when `type` is **recurringDetail**.",
|
|
"$ref" : "#/components/schemas/RecurringDetail"
|
|
},
|
|
"type" : {
|
|
"description" : "The type of transfer instrument.\n\nPossible values: **bankAccount**, **recurringDetail**.",
|
|
"enum" : [
|
|
"bankAccount",
|
|
"recurringDetail"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"required" : [
|
|
"legalEntityId",
|
|
"type"
|
|
]
|
|
},
|
|
"VoidResponse" : {
|
|
|
|
},
|
|
"WebData" : {
|
|
"properties" : {
|
|
"webAddress" : {
|
|
"description" : "The URL of the website.",
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
"WebDataExemption" : {
|
|
"properties" : {
|
|
"reason" : {
|
|
"description" : "The reason why the web data was not provided. Possible value: **noOnlinePresence**.",
|
|
"enum" : [
|
|
"noOnlinePresence"
|
|
],
|
|
"type" : "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"securitySchemes" : {
|
|
"ApiKeyAuth" : {
|
|
"in" : "header",
|
|
"name" : "X-API-Key",
|
|
"type" : "apiKey"
|
|
},
|
|
"BasicAuth" : {
|
|
"scheme" : "basic",
|
|
"type" : "http"
|
|
}
|
|
},
|
|
"examples" : {
|
|
"post-businessLines-createBusinessLines-businessAccounts" : {
|
|
"summary" : "Create a business line for a business account",
|
|
"description" : "Example request for creating a business line for a business account",
|
|
"value" : {
|
|
"capability" : "issueBankAccount",
|
|
"industryCode" : "55",
|
|
"webData" : [
|
|
{
|
|
"webAddress" : "https://www.adyen.com"
|
|
}
|
|
],
|
|
"legalEntityId" : "LE322JV223222D5FZ9N74BSGM",
|
|
"sourceOfFunds" : {
|
|
"type" : "business",
|
|
"adyenProcessedFunds" : "false",
|
|
"description" : "Funds from my flower shop business"
|
|
}
|
|
}
|
|
},
|
|
"post-businessLines-createBusinessLines-businessAccounts-200" : {
|
|
"summary" : "Example response for creating a business line",
|
|
"value" : {
|
|
"capability" : "issueBankAccount",
|
|
"industryCode" : "55",
|
|
"legalEntityId" : "LE322JV223222D5FZ9N74BSGM",
|
|
"sourceOfFunds" : {
|
|
"adyenProcessedFunds" : "false",
|
|
"description" : "Funds from my flower shop business",
|
|
"type" : "business"
|
|
},
|
|
"webData" : [
|
|
{
|
|
"webAddress" : "https://www.adyen.com"
|
|
}
|
|
],
|
|
"id" : "SE322KT223222D5FJ7TJN2986"
|
|
}
|
|
},
|
|
"post-businessLines-createBusinessLines-receive" : {
|
|
"summary" : "Create a business line for receiving payments",
|
|
"description" : "Example request for receiving payments",
|
|
"value" : {
|
|
"capability" : "receivePayments",
|
|
"salesChannels" : [
|
|
"eCommerce",
|
|
"ecomMoto"
|
|
],
|
|
"industryCode" : "339E",
|
|
"legalEntityId" : "LE322JV223222D5FZ9N74BSGM",
|
|
"webData" : [
|
|
{
|
|
"webAddress" : "https://yoururl.com"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"post-businessLines-createBusinessLines-receive-200" : {
|
|
"summary" : "Example response for creating a business line",
|
|
"value" : {
|
|
"capability" : "receivePayments",
|
|
"industryCode" : "339E",
|
|
"legalEntityId" : "LE322JV223222D5FZ9N74BSGM",
|
|
"salesChannels" : [
|
|
"eCommerce",
|
|
"ecomMoto"
|
|
],
|
|
"webData" : [
|
|
{
|
|
"webAddress" : "https://yoururl.com"
|
|
}
|
|
],
|
|
"id" : "SE322KT223222D5FJ7TJN2986"
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityIndividualNL" : {
|
|
"summary" : "Create a legal entity for an individual residing in the Netherlands",
|
|
"description" : "Example request for creating a legal entity for an individual residing in the Netherlands",
|
|
"value" : {
|
|
"type" : "individual",
|
|
"individual" : {
|
|
"residentialAddress" : {
|
|
"city" : "Amsterdam",
|
|
"country" : "NL",
|
|
"postalCode" : "1011DJ",
|
|
"street" : "Simon Carmiggeltstraat 6 - 50"
|
|
},
|
|
"name" : {
|
|
"firstName" : "Shelly",
|
|
"lastName" : "Eller"
|
|
},
|
|
"birthData" : {
|
|
"dateOfBirth" : "1990-06-21"
|
|
},
|
|
"email" : "s.eller@example.com"
|
|
}
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityIndividualNL-200" : {
|
|
"summary" : "Individual legal entity created",
|
|
"description" : "Example response for creating a legal entity for an individual residing in the Netherlands",
|
|
"value" : {
|
|
"individual" : {
|
|
"email" : "s.eller@example.com",
|
|
"birthData" : {
|
|
"dateOfBirth" : "1990-06-21"
|
|
},
|
|
"name" : {
|
|
"firstName" : "Shelly",
|
|
"lastName" : "Eller"
|
|
},
|
|
"residentialAddress" : {
|
|
"city" : "Amsterdam",
|
|
"country" : "NL",
|
|
"postalCode" : "1011DJ",
|
|
"street" : "Simon Carmiggeltstraat 6 - 50"
|
|
}
|
|
},
|
|
"type" : "individual",
|
|
"id" : "LE322JV223222D5GG42KN6869"
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityIndividualUS" : {
|
|
"summary" : "Create a legal entity for an individual residing in the US",
|
|
"description" : "Example request for creating a legal entity for an individual residing in the US",
|
|
"value" : {
|
|
"type" : "individual",
|
|
"individual" : {
|
|
"residentialAddress" : {
|
|
"city" : "New York",
|
|
"country" : "US",
|
|
"postalCode" : "10003",
|
|
"stateOrProvince" : "NY",
|
|
"street" : "71 5th Avenue",
|
|
"street2" : "11th floor"
|
|
},
|
|
"phone" : {
|
|
"number" : "+14153671502",
|
|
"type" : "mobile"
|
|
},
|
|
"name" : {
|
|
"firstName" : "Shelly",
|
|
"lastName" : "Eller"
|
|
},
|
|
"birthData" : {
|
|
"dateOfBirth" : "1990-06-21"
|
|
},
|
|
"email" : "s.eller@example.com"
|
|
}
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityIndividualUS-200" : {
|
|
"summary" : "Individual legal entity created",
|
|
"description" : "Example response for creating a legal entity for an individual residing in the US",
|
|
"value" : {
|
|
"individual" : {
|
|
"email" : "s.eller@example.com",
|
|
"phone" : {
|
|
"number" : "+14153671502",
|
|
"type" : "mobile"
|
|
},
|
|
"birthData" : {
|
|
"dateOfBirth" : "1990-06-21"
|
|
},
|
|
"name" : {
|
|
"firstName" : "Shelly",
|
|
"lastName" : "Eller"
|
|
},
|
|
"residentialAddress" : {
|
|
"city" : "New York",
|
|
"country" : "US",
|
|
"postalCode" : "10003",
|
|
"stateOrProvince" : "NY",
|
|
"street" : "71 5th Avenue",
|
|
"street2" : "11th floor"
|
|
}
|
|
},
|
|
"type" : "individual",
|
|
"id" : "LE322JV223222D5GGMHPC2FPL"
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityOrganizationNL" : {
|
|
"summary" : "Create a legal entity for a Dutch organization",
|
|
"description" : "Example request for creating a legal entity for an organization operating in the Netherlands",
|
|
"value" : {
|
|
"type" : "organization",
|
|
"organization" : {
|
|
"legalName" : "Explorer Company based in NL",
|
|
"doingBusinessAs" : "API Company Trading",
|
|
"type" : "privateCompany",
|
|
"registeredAddress" : {
|
|
"city" : "Amsterdam",
|
|
"country" : "NL",
|
|
"postalCode" : "1011DJ",
|
|
"street" : "Simon Carmiggeltstraat 6 - 50"
|
|
},
|
|
"registrationNumber" : "34179503",
|
|
"email" : "organization@example.com"
|
|
},
|
|
"entityAssociations" : [
|
|
{
|
|
"jobTitle" : "CEO",
|
|
"legalEntityId" : "LE322JV223222D5GG42KN6869",
|
|
"type" : "signatory"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityOrganizationNL-200" : {
|
|
"summary" : "Organization legal entity created",
|
|
"description" : "Example response for creating a legal entity for an organization operating in the Netherlands",
|
|
"value" : {
|
|
"organization" : {
|
|
"legalName" : "Explorer Company based in NL",
|
|
"doingBusinessAs" : "API Company Trading",
|
|
"registrationNumber" : "34179503",
|
|
"email" : "organization@example.com",
|
|
"registeredAddress" : {
|
|
"city" : "Amsterdam",
|
|
"country" : "NL",
|
|
"postalCode" : "1011DJ",
|
|
"street" : "Simon Carmiggeltstraat 6 - 50"
|
|
},
|
|
"taxExempt" : false,
|
|
"type" : "privateCompany"
|
|
},
|
|
"type" : "organization",
|
|
"id" : "LE322JV223222D5FZ9N74BSGM"
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityOrganizationUS" : {
|
|
"summary" : "Create a legal entity for an organization in the US",
|
|
"description" : "Example request for creating a legal entity for an organization operating in the US",
|
|
"value" : {
|
|
"type" : "organization",
|
|
"organization" : {
|
|
"legalName" : "Explorer Company based in US",
|
|
"registrationNumber" : "101002749",
|
|
"type" : "privateCompany",
|
|
"registeredAddress" : {
|
|
"city" : "New York",
|
|
"country" : "US",
|
|
"postalCode" : "10003",
|
|
"stateOrProvince" : "NY",
|
|
"street" : "71 5th Avenue",
|
|
"street2" : "11th floor"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntityOrganizationUS-200" : {
|
|
"summary" : "Organization legal entity created",
|
|
"description" : "Example response for creating a legal entity for an organization operating in the US",
|
|
"value" : {
|
|
"organization" : {
|
|
"legalName" : "Explorer Company based in US",
|
|
"registrationNumber" : "101002749",
|
|
"registeredAddress" : {
|
|
"city" : "New York",
|
|
"country" : "US",
|
|
"postalCode" : "10003",
|
|
"stateOrProvince" : "NY",
|
|
"street" : "71 5th Avenue",
|
|
"street2" : "11th floor"
|
|
},
|
|
"taxExempt" : false,
|
|
"type" : "privateCompany"
|
|
},
|
|
"type" : "organization",
|
|
"id" : "LE322JV223222D5FZ9N74BSGM"
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntitySolePropNL" : {
|
|
"summary" : "Create a legal entity for a Dutch sole proprietor",
|
|
"description" : "Example request for creating a legal entity for a sole proprietor operating in the Netherlands",
|
|
"value" : {
|
|
"type" : "soleProprietorship",
|
|
"soleProprietorship" : {
|
|
"name" : "Shelly Seller Sole Trader",
|
|
"countryOfGoverningLaw" : "NL",
|
|
"registeredAddress" : {
|
|
"city" : "Amsterdam",
|
|
"country" : "NL",
|
|
"postalCode" : "1011DJ",
|
|
"street" : "Simon Carmiggeltstraat 6 - 50"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntitySolePropNL-200" : {
|
|
"summary" : "Sole proprietor legal enity created",
|
|
"description" : "Example response for creating a legal entity for a sole proprietor operating in the Netherlands",
|
|
"value" : {
|
|
"type" : "soleProprietorship",
|
|
"soleProprietorship" : {
|
|
"name" : "Shelly Seller Sole Trader",
|
|
"countryOfGoverningLaw" : "NL",
|
|
"registeredAddress" : {
|
|
"city" : "Amsterdam",
|
|
"country" : "NL",
|
|
"postalCode" : "1011DJ",
|
|
"street" : "Simon Carmiggeltstraat 6 - 50"
|
|
}
|
|
},
|
|
"id" : "LE32272223222D5CGBR254SKT"
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntitySolePropUS" : {
|
|
"summary" : "Create a legal entity for a sole proprietor in the US",
|
|
"description" : "Example request for creating a legal entity for a sole proprietor operating in the US",
|
|
"value" : {
|
|
"type" : "soleProprietorship",
|
|
"soleProprietorship" : {
|
|
"name" : "Shelly Eller Sole Trader",
|
|
"countryOfGoverningLaw" : "US",
|
|
"registeredAddress" : {
|
|
"city" : "New York",
|
|
"country" : "US",
|
|
"postalCode" : "10003",
|
|
"stateOrProvince" : "NY",
|
|
"street" : "71 5th Avenue",
|
|
"street2" : "11th floor"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post-legalEntities-createLegalEntitySolePropUS-200" : {
|
|
"summary" : "Sole proprietor legal enity created",
|
|
"description" : "Example response for creating a legal entity for a sole proprietor operating in the US",
|
|
"value" : {
|
|
"type" : "soleProprietorship",
|
|
"soleProprietorship" : {
|
|
"name" : "Shelly Eller Sole Trader",
|
|
"countryOfGoverningLaw" : "US",
|
|
"registeredAddress" : {
|
|
"city" : "New York",
|
|
"country" : "US",
|
|
"postalCode" : "10003",
|
|
"stateOrProvince" : "NY",
|
|
"street" : "71 5th Avenue",
|
|
"street2" : "11th floor"
|
|
}
|
|
},
|
|
"id" : "LE32272223222D5CGBR254SKT"
|
|
}
|
|
},
|
|
"post-transferInstruments-createTransferInstrumentEUR" : {
|
|
"summary" : "Add a EUR bank account",
|
|
"description" : "Example request for creating a transfer instrument for EUR",
|
|
"value" : {
|
|
"legalEntityId" : "LE322KH223222D5GG4C9J83RN",
|
|
"type" : "bankAccount",
|
|
"bankAccount" : {
|
|
"countryCode" : "NL",
|
|
"currencyCode" : "EUR",
|
|
"iban" : "NL62ABNA0000000123"
|
|
}
|
|
}
|
|
},
|
|
"post-transferInstruments-createTransferInstrumentEUR-200" : {
|
|
"summary" : "Bank account added",
|
|
"description" : "Example response for adding a bank account as a transfer instrument of a legal entity",
|
|
"value" : {
|
|
"bankAccount" : {
|
|
"countryCode" : "NL",
|
|
"currencyCode" : "EUR",
|
|
"iban" : "NL62ABNA0000000123"
|
|
},
|
|
"legalEntityId" : "LE322KH223222D5GG4C9J83RN",
|
|
"type" : "bankAccount",
|
|
"id" : "SE576BH223222F5GJVKHH6BDT"
|
|
}
|
|
},
|
|
"post-transferInstruments-createTransferInstrumentUSD" : {
|
|
"summary" : "Add a USD bank account",
|
|
"description" : "Example request for creating a transfer instrument for USD",
|
|
"value" : {
|
|
"legalEntityId" : "LE322JV223222D5GGMHPC2FPL",
|
|
"type" : "bankAccount",
|
|
"bankAccount" : {
|
|
"countryCode" : "US",
|
|
"currencyCode" : "USD",
|
|
"accountNumber" : "0000000123",
|
|
"branchCode" : "121202211",
|
|
"accountType" : "checking"
|
|
}
|
|
}
|
|
},
|
|
"post-transferInstruments-createTransferInstrumentUSD-200" : {
|
|
"summary" : "Bank account added",
|
|
"description" : "Example response for adding a bank account as a transfer instrument of a legal entity",
|
|
"value" : {
|
|
"bankAccount" : {
|
|
"accountNumber" : "0000000123",
|
|
"accountType" : "checking",
|
|
"branchCode" : "121202211",
|
|
"countryCode" : "US",
|
|
"currencyCode" : "USD"
|
|
},
|
|
"legalEntityId" : "LE322JV223222D5GGMHPC2FPL",
|
|
"type" : "bankAccount",
|
|
"id" : "SE322JV223222F5GJVKHH8DTC"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |