Skip to main content
POST
/
api
/
v1
/
customers
/
{customerId}
/
acceptTerms
Accept Terms and Conditions
curl --request POST \
  --url https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "termsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "ipAddress": "192.168.1.100",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
'
{
  "termsId": "94b302e4-77d4-4627-af36-8265121bef29",
  "ipAddress": "1.1.1.1",
  "userAgent": null,
  "acceptedAt": "2026-02-25T20:29:11.243033Z"
}

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.

Body

application/json

Terms and Conditions acceptance payload.

termsId
string<uuid>
required

UUID of the Terms and Conditions the customer is accepting.

Example:

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

ipAddress
string<ipv4>
required

IP address of the customer at the time of acceptance.

Example:

"192.168.1.100"

userAgent
string

User agent string from the customer's browser or app (optional).

Example:

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"

Response

Terms and Conditions accepted successfully.

termsId
string<uuid>
required

UUID of the accepted Terms and Conditions.

Example:

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

ipAddress
string
required

IP address recorded at the time of acceptance.

Example:

"192.168.1.100"

acceptedAt
string<date-time>
required

Timestamp when the customer accepted the Terms and Conditions.

Example:

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

userAgent
string | null

User agent recorded at the time of acceptance. Returns null if not provided in the request.

Example:

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"