BuyerConsent is used for collecting the buyer's approval for a given policy --- ### Example ![buyerconsent](/assets/api/checkout-extensions/post-purchase/components/buyerconsent.png)

## Props 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 |