receiveGrants capability is enabled for them. You can choose to have your user accept the ToS either before or after receiving the grant offers.
If you are unable to generate the required Terms of Service documents, reach out to your Adyen contact.
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:- Listen to the webhook to confirm Terms of Service requirements.
- Make an API request to get the types of Terms of Service required.
- Make an API request to generate the Terms of Service documents.
- Present the Terms of Service document to your user.
- Make an API request to confirm that your user has accepted the Terms of Service.
- 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 theverificationErrors 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 typeadyenForPlatformsAdvanced 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
Response
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.- Format: JSON
- Format: PDF or TXT
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.
