BuyerConsent is used to collect the buyer's approval for a given policy.


optional = ?

Name Type Description
checked boolean Whether the checkbox is active.
error? string An error label to present with the field.
policy "subscriptions" The policy the buyer has to approve
onChange (value: boolean) => void Callback when the value changes