Terms of Service

Generate hosted ToS acceptance link

Changed on

Creates a ToS acceptance record for the customer and returns a hosted verify URL for a human to complete agreements. The agent or API integration must not call the accept endpoint on the human’s behalf.

post/v1/tos/generate

Request

Headers

X-API-Keystring

API key

Request body

customerIdstring required

Customer ID for whom the hosted acceptance link is created

verificationSessionIdstring

Optional verification session to scope agreement flags (e.g. UBO vs business)

Example request

{
  "customerId": "cus_abc123",
  "verificationSessionId": "vsess_abc123"
}

Response

Hosted acceptance link created

idstring required

ToS acceptance ID (tos_…)

acceptanceUrlstring required

Hosted URL for a human to review and accept agreements in a browser

Example response

{
  "id": "tos_abc123",
  "acceptanceUrl": "https://verify.infinite.dev/tos/tos_abc123"
}

Changes