Skip to main content

ClickwrapTemplateRequest

String
required
Template ID from the ClickTerm Dashboard.
String
required
Your identifier for the end user. It must not be empty.
[String: AnyCodable]
Structured values inserted into the agreement. See Template placeholders.
String
required
Language code for the agreement and dialog UI. See supported languages.

Template placeholders

Only send placeholders used by the selected template.

Environments

Production is the default:
Use the development environment while testing:
The SDK also supports custom API and translation URLs:
Use .custom only for controlled development or proxy setups. Production apps should normally use .production.

Dialog appearance

Dialog colors, buttons, logo, and agreement mode come from the template settings in ClickTerm Template Preview & Customize. The iOS show() method does not require a separate appearance configuration object.