ClickwrapTemplate parameters
String
required
Template ID from the ClickTerm dashboard.
String
required
Your identifier for the end user (max 256 chars).
TemplatePlaceholdersRequestDto
Structured placeholder object with standard fields plus
customPlaceholders for user-defined keys. See Template placeholders for the full list.String
Language code for template content and UI strings. See supported languages.
Dialog configuration
The third parameter ofClicktermDialog.show() accepts a nullable JSONObject with configuration options:
boolean
default:"false"
When
true, the user cannot close the dialog without accepting or declining.null as the config parameter to use defaults:
Visual customization
Starting from SDK version 2.1, dialog appearance is customized from the ClickTerm Dashboard — no code-level configuration needed. Settings apply at the template level across all versions.Placeholder values
Pass placeholder values as aTemplatePlaceholdersRequestDto:
Supported languages
ThelanguageCode parameter determines both the template content language and UI strings (buttons, prompts, labels). If omitted or unsupported, the default language configured in the ClickTerm UI is used.
See supported languages for the full list of language codes.
