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>.

Headers

X-Ripio-User-Ip
string

Optional. The public IP address of the end user's device (IPv4 or IPv6), captured on your frontend and forwarded by your backend — never your server's own address. Used for traceability and fraud prevention. An address that is not a valid IPv4 or IPv6 discards the end-user context of the request, without failing it. See Forwarding end-user context.

Maximum string length: 45
X-Ripio-User-Agent
string

Optional. The User-Agent of the end user's browser or app, not your backend's HTTP client. Longer values are truncated to 500 characters. See Forwarding end-user context.

Maximum string length: 500
X-Ripio-User-Device-Id
string

Optional. A stable identifier of the end user's device, as your app or frontend defines it. Longer values are truncated to 200 characters. See Forwarding end-user context.

Maximum string length: 200

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"