Skip to main content
POST
Accept Terms and Conditions

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"