Terms of Service
Initiate ToS acceptance
Creates a ToS acceptance record with the agreement fields set to false or null. Returns an ID that must be used with the accept endpoint to complete the acceptance. This is the first step in a two-step process: first call initiate to get an ID, then call accept with that ID when the user actually accepts the agreements.
post/v1/tos
Request
- Base URLhttps://sandbox.api.infinite.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"customerId": "cus_abc123",
"verificationSessionId": "vsess_abc123",
"organizationId": "org_abc123"
}Response
ToS acceptance initiated
Example response
{
"id": "tos_abc123"
}Changes
No recorded changes to this operation across all 47 revisions of this API.