RecordConsentRequest
consent_typestringrequired
The category of consent to record a decision for, such as auto_top_up.
Example:
auto_top_upactionstringrequired
The consent decision to record, either granted or revoked.
Example:
grantedconsent_methodstring
How the consent decision is being captured, such as api.
Example:
web_checkboxconsent_versionstring
Version identifier. Defaults to the current version for the consent type
metadata object
Consent-type-specific metadata. For auto_top_up, this is required and must include threshold_amount, topup_amount, and payment_method_ref.
object
RecordConsentRequest
{
"consent_type": "auto_top_up",
"action": "granted",
"consent_method": "web_checkbox",
"consent_version": "string",
"metadata": {}
}
Was this page helpful?