Capital icon

Show the Terms of Service document

Get your users to accept Adyen's Terms of Service

Your user must accept the Terms of Service (ToS) for each grant before Adyen can pay out the grant. This applies to both business loans and merchant cash advances. Your user can accept only after you configure the grant, because Adyen determines the required Terms of Service type at that point. After your user accepts and all verification requirements are met, the receiveGrants capability is allowed.

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.

Requirement Description
Integration type You must have an Adyen for Platforms integration that supports Capital.
API credentials You must have API credentials for the Legal Entity Management API (for example, ws[123456]@Scope.Company[YourCompanyAccount])
Capabilities Make sure that you have requested the following capability for your user:
  • receiveGrants
Webhooks Ensure that your server can receive and accept standard webhooks.
Subscribe to the following webhooks:
Setup steps Before you begin, make sure:
  • You reached out to your Adyen contact to set up the necessary configurations to add the Capital financial product to your integration. For more details, see our Integration checklist.
  • You followed our compliance guidelines for Capital when creating user interfaces, marketing materials, and other processes.
  • You created legal entities for:
    • The user that has a contractual relationship with your platform.
    • The individual legal entity who will accept the document.

How it works

To generate the Terms of Service and have them accepted by your users, follow these steps:

  1. After you configure a grant, listen to the webhook to [confirm Terms of Service requirements](#get-updates).
  2. [Get the type of Terms of Service required](#get-required) for the grant.
  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

After you configure a grant, listen to balancePlatform.grants.updated webhooks for the grant. Match grant.id to the grant ID from your POST response.

When the grant requires Terms of Service acceptance, the grant has a SignTermsOfService action in status.actions. The termsOfService.type field of this action shows the required document. The resolved field is false until your user accepts the Terms of Service, and then changes to true.

The SignTermsOfService action in status.actions is currently only available for platforms in the merchant cash advance pilot. If you are not in the pilot, make a GET /legalEntities/{id}/termsOfServiceStatus request to get the required Terms of Service type.

If the SignTermsOfService action is not available for your platform, listen to balancePlatform.accountHolder.updated webhooks to check whether your user must accept the Terms of Service.

If your user is required to accept Adyen's Terms of Service, it is indicated in the verificationErrors array.

2. Get the types of Terms of Service required

Get the Terms of Service type required for the grant in one of the following ways:

  • In the balancePlatform.grants.updated webhook or in the response to a GET /grants/{grantId} request, check the termsOfService.type field of the SignTermsOfService action. This action is currently only available for platforms in the merchant cash advance pilot:
    • adyenCapital for business loans
    • adyenCapitalCashAdvance for merchant cash advances
  • 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.

The document type that you generate and present to your user must match the required type.

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.

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.

Parameter Required Description
type -white_check_mark- The type of document based on the services and capabilities requested by the user and your platform integration.

Use the termsOfService.type value from the grant's SignTermsOfService action, or the type returned by termsOfServiceStatus. Possible values: adyenCapital for business loans, or adyenCapitalCashAdvance for merchant cash advances.
language -white_check_mark- The language used for the Terms of Service document, specified by the two letter ISO 639-1 language code. Possible value: en for English or fr for French.

Note that French is only available for some integration types in certain countries/regions. Reach out to your Adyen contact for more information.
termsOfServiceDocumentFormat The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON, PDF, or TXT.

The response returns the following information:

Parameter Description
document The generated document in the Base64-encoded format.
id The unique identifier of the organization legal entity.
language The language of the document.
type The type of document based on the services and capabilities requested by the user and your platform integration.
termsOfServiceDocumentId The unique identifier of the document.
termsOfServiceDocumentFormat The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON, PDF, or TXT.

For merchant cash advances, the type in the response is adyenCapitalCashAdvance.

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.

5. Accept the Terms of Service

To confirm that your user has accepted the Terms of Service, make a PATCH /legalEntities/{id}/termsOfService/termsOfServicedocumentid request, specifying the id of the main legal entity and the termsOfServiceDocumentId of the document in the path. For sole proprietorships, include the legal entity ID of the owner in the path. For organizations, include the legal entity ID of the organization in the path.

In the body of the request, specify the following:

Parameter Required Description
acceptedBy -white_check_mark- The individual legal entity id of the user accepting the Terms of Service. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the legal entity ID of an authorized signatory for the organization.
ipAddress The IP address of the user.

This request populates the Terms of Service document with the data of the main legal entity. For sole proprietorships, this is the information for the individual legal entity of the owner. For organizations, this means the document contains both the data for the organization and the individual legal entity of the authorized signatory who accepted the document.

The response returns the following information.

Parameter Description
acceptedBy The individual legal entity id of the user who accepted the terms of service.
id The unique identifier of the accepted document.
ipAddress The IP address of the user. Only if provided in the request.
language The language of the document.
termsOfServiceDocumentId The unique identifier of the document.
type The type of document based on the services and capabilities requested by the user and your platform integration.

For merchant cash advances, the type in the response is adyenCapitalCashAdvance.

When your user accepts the Terms of Service for a grant, the resolved field of the grant's SignTermsOfService action is set to true, and the action includes termsOfService.acceptanceReference, an Adyen-generated reference for the accepted Terms of Service. Adyen then sends a balancePlatform.grants.updated webhook to notify your server.

6. (Optional): Get the Terms of Service information for a legal entity

To see the Terms of Service information for a legal entity, make a GET /legalEntities/{id}/termsOfServiceAcceptanceInfos request with the id of the main legal entity in the path. For sole proprietorships, this is the individual legal entity ID of the owner.

The response returns information about the Terms of Service document linked to the legal entity.

Parameter Description
createdAt The date the document was created.
id The unique identifier of the accepted document.
acceptedBy The id of the individual who accepted the terms of service.
acceptedFor The id of the main legal entity.
type The type of document based on the services and capabilities requested by the user and your platform integration.

For merchant cash advances, the type in the response is adyenCapitalCashAdvance.

Next steps