> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/digital-river-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/digital-river-api/developer-resources/digitalrivercheckout.js-reference/digitalrivercheckout-object/components/compliance-component.md).

# Compliance component

The compliance component displays localized hypertext that links customers to the terms and disclosures of the designated [selling entity](/digital-river-api/integration-options/checkouts/creating-checkouts/selling-entities.md).

![](/files/LsBkkqBJ7pqeF9XgP2WN)

To access Digital River's [merchant of record](https://www.digitalriver.com/merchant-of-record/) model, you'll need to design your experience so that this component is visible (mostly likely in the footer of the page) throughout every stage of the checkout process.

{% hint style="success" %}
The only exception is the [payment component](/digital-river-api/developer-resources/digitalrivercheckout.js-reference/digitalrivercheckout-object/components/payment-component.md). Digital River automatically embeds its disclosures within that component.
{% endhint %}

## Creating the compliance component

To create an instance of the compliance component, pass `'compliance'` to [`createComponent()`](/digital-river-api/developer-resources/digitalrivercheckout.js-reference/digitalrivercheckout-object/components.md#createcomponent-componenttype).

```javascript
let complianceComponent;
...
complianceComponent = components.createComponent('compliance');
...
```

## Mounting the compliance component

To attach the compliance component to your DOM, pass the `id` of its container to [`mount()`](/digital-river-api/developer-resources/digitalrivercheckout.js-reference/digitalrivercheckout-object/components.md#mount-elementid).

```javascript
<div id="compliance-container" style="display: block">
...
complianceComponent.mount('compliance-container');
...
```
