Terms of Service
Generate hosted ToS acceptance link
Changed onCreates 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
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-API-Keystring
API key
Request body
Example request
{
"customerId": "cus_abc123",
"verificationSessionId": "vsess_abc123"
}Response
Hosted acceptance link created
Example response
{
"id": "tos_abc123",
"acceptanceUrl": "https://verify.infinite.dev/tos/tos_abc123"
}Changes
- info
endpoint added
- info