Create a terms session
Creates a terms-of-service session. Customer provisioning at a settlement partner is fail-closed on an accepted terms session: POST /customers returns 422 TERMS_ACCEPTANCE_REQUIRED until you submit the terms_session_id of a session that has been accepted.
The response carries id - the session token - once, at creation. OZAV stores only its hash, so it is never returned again. Persist it before you present the terms to your end user.
Present terms_url to the end user, collect their acceptance in your own flow, then record it with POST /customers/terms-sessions/accept. Sessions expire; expires_at is absolute.
Accepts an optional Idempotency-Key. Replaying the same key returns the same session without id - the token is only ever issued once.
Request
- Base URLhttps://developers.ozav.io/v2
- Auth
- API key in header X-API-Key
- or HTTP bearer
Headers
Optional idempotency key (16-256 characters of [A-Za-z0-9_-]); same semantics as on money-moving operations.
Response
Idempotent replay - the same session, without the token
Changes
No recorded changes to this operation across all 1 revision of this API.