Skip to main content
GET
/
api
/
v1
/
customers
/
{customerId}
/
termsAcceptance
Get Terms Acceptance Status
curl --request GET \
  --url https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/termsAcceptance/ \
  --header 'Authorization: Bearer <token>'
{
  "termsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "country": "AR",
  "version": "1.0",
  "url": "https://example.com/terms/v1.0",
  "accepted": true,
  "acceptedAt": "2024-06-01T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.

Path Parameters

customerId
string<uuid>
required

Unique identifier for the customer.

Response

Terms acceptance status retrieved successfully.

country
string
required

Country code these Terms and Conditions apply to.

Example:

"AR"

accepted
boolean
required

Whether the customer has accepted the currently active Terms and Conditions. Always true when no active T&C exist for the country (the customer is not blocked).

Example:

true

termsId
string<uuid> | null

UUID of the active Terms and Conditions. null when no active T&C exist for the country.

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

version
string | null

Version string of the active Terms and Conditions. null when no active T&C exist.

Example:

"1.0"

url
string<uri> | null

URL where the full Terms and Conditions document can be read. null when no active T&C exist.

Example:

"https://example.com/terms/v1.0"

acceptedAt
string<date-time> | null

Timestamp when the customer last accepted the active Terms and Conditions. null if not yet accepted.

Example:

"2024-06-01T12:00:00Z"