POST
/
core
/
terms-of-service
/
{termsOfService}
/
accept
Accept terms of service
curl --request POST \
  --url https://api.enterprise.sandbox.uphold.com/core/terms-of-service/{termsOfService}/accept \
  --header 'Authorization: Bearer <token>'
{
"termsOfService": {
"code": "unique-account-number-viban",
"type": "unique-account-number",
"countries": [
"GB",
"PT"
],
"modifiedAt": "2025-02-01T00:00:00Z",
"acceptedAt": "2025-03-01T00:00:00Z"
}
}
The X-Uphold-User-Ip request metadata header is mandatory on this request, so that the user’s IP gets recorded when accepting any Terms of Service.

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Path Parameters

termsOfService
enum<string>
required

The terms of service code.

Available options:
unique-account-number-viban

Response

201
application/json

Terms of service acceptance added.

The response is of type object.