Skip to main content
Your users must accept Adyen’s Terms of Service before they can perform particular actions in your . If you build your own UI to collect data to onboard your users, you must generate a Terms of Service document, show the document to your users, and ask them to accept it. If you are using hosted onboarding, your user will complete this step as part of the onboarding process. The Terms of Service document must be accepted by an individual legal entity that represents a physical person. For organizations, the document must be accepted by an authorized signatory of the organization. For example:
  • A cardholder accepts the document on their own behalf.
  • The owner of a restaurant accepts the document on behalf of the legal entity that represents the business.

Requirements

Before you begin, take into account the following requirements and preparations.

How it works

To generate the Terms of Service and have them accepted by your users, follow these steps:
  1. Listen to the webhook to confirm Terms of Service requirements.
  2. Make an API request to get the types of Terms of Service required.
  3. Make an API request to generate the Terms of Service documents.
  4. Present the Terms of Service document to your user.
  5. Make an API request to confirm that your user has accepted the Terms of Service.
  6. Optionally, make an API request to see the Terms of Service information for a specific legal entity.

1. Confirm Terms of Service requirements

When you create an account holder, certain capabilities are requested for them. To check whether your user must accept the Terms of Service, listen to balancePlatform.accountHolder.updated webhooks. If your user is required to accept Adyen’s Terms of Service, it is indicated in the verificationErrors array. balancePlatform.accountHolder.updated webhook - with verification errors array

2. Get the types of Terms of Service required

If your user is required to accept Adyen’s Terms of Service, you must determine which types of documents they need to accept. Make a GET /legalEntities/{id}/termsOfServiceStatus request, specifying the id of the main legal entity in the path. For sole proprietorships, this is the individual legal entity ID of the owner. Note that your user may need to accept more than one Terms of Service document. In your test environment, only the document type adyenForPlatformsAdvanced is returned regardless of your actual integration. This is since all accounts use the same default configuration. In your live environment, the actual Terms of Service document types are returned. Response

3. Generate the Terms of Service documents

To generate the Terms of Service documents, make a POST /legalEntities/{id}/termsOfService request, specifying the id of the main legal entity in the path. For sole proprietorships, this is the individual legal entity ID of the owner. Generate the Terms of Service document
The response returns the following information: Response
The response returns the document and its unique termsOfServiceDocumentId. Your user may need to accept more than one Terms of Service document depending on your integration. In this case, every required document and termsOfServiceDocumentId is returned in the response. You will need to present the document to your user in the next step. Use the document ID when you confirm your user has accepted the Terms of Service.

4. Present the Terms of Service document to your user

You need to ask your user to review and accept the Terms of Service document. The process to do this depends on the format of the document.
To present the document to your user, you can use the Adyen Document Viewer to render the document in your website.Before passing the document to the Adyen Document Viewer, you need to decode it.