AI-generated Key Takeaways
-
The
TermsOfServicemessage outlines the legal agreements merchants must accept to use specific features or services. -
Merchants can access and accept the latest terms of service through dedicated methods like
termsOfService.retrieveLatestandtermsOfService.accept. -
The
TermsOfServicemessage includes details like region code, kind, external status, and a file URI for the terms of service document. -
Important fields within the
TermsOfServicemessage include name, region code, kind, external status, and file URI. -
Several methods are available for interacting with terms of service, including accepting, retrieving a specific version, and retrieving the latest version.
Resource: TermsOfService
The TermsOfService
message represents a specific version of the terms of service that merchants must accept to access certain features or services. For more information, see Terms of Service
.
This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given kind
and region
through termsOfService.retrieveLatest
, and accept them as required through termsOfService.accept
.
| JSON representation |
|---|
{
"name"
:
string
,
"regionCode"
:
string
,
"kind"
:
enum (
|
| Fields | |
|---|---|
name
|
Identifier. The resource name of the terms of service version. Format: |
regionCode
|
Region code as defined by CLDR
. This is either a country where the ToS applies specifically to that country or |
kind
|
The Kind this terms of service version applies to. |
external
|
Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API. |
fileUri
|
URI for terms of service file that needs to be displayed to signing users. |
Methods |
|
|---|---|
|
Accepts a TermsOfService
. |
|
Retrieves the TermsOfService
associated with the provided version. |
|
Retrieves the latest version of the TermsOfService
for a given kind
and region_code
. |

