# Add to Click to Pay
source: https://developer.mastercard.com/issuer-enrollment/documentation/use-cases/use_case_button/index.md

To enable cardholders to add their cards to Mastercard Click to Pay, Issuers need to be enrolled in the [Mastercard Digital Enablement System (MDES) for Financial Institutions](https://developer.mastercard.com/product/mdes/#financial-institutions) and use the [Push Provisioning with MDES Token Connect](https://developer.mastercard.com/mdes-digital-enablement/documentation/use-cases/push-provisioning-merchant-use-case/) framework.

![Click to Pay button](https://static.developer.mastercard.com/content/issuer-enrollment/img/click-to-pay-button-r3.png "Click to Pay button")
Tip: Position the **Click to Pay** button at parity with other digital wallet enrollment options and secure preference by distinguishing your brand as an ecommerce thought leader.

The following section explains the steps for Mastercard Click to Pay Push Provisioning via the Enroll API for Issuers.

## Step 1: Presents Click to Pay to Consumer {#step-1-presents-click-to-pay-to-consumer}

After consumer logs into their mobile banking application or website, issuers can check if Mastercard Click to Pay is enabled for Consumer's account range. If eligible, then the Issuer must inform the Consumer about the ability to add their cards to Mastercard Click to Pay.

1. Consumer logs in to Issuer's app or website.
2. Consumer selects card from card list.
3. Issuer displays the Click to Pay button for eligible cards.

Diagram show-click-to-pay-button Note: To learn more about the APIs used to present Mastercard Click to Pay for eligible accounts, refer to [Get Eligible Token Requestors](https://developer.mastercard.com/mdes-token-connect/documentation/api-reference/) and [getAsset](https://developer.mastercard.com/mdes-token-connect/documentation/api-reference).

## Step 2: Consumer selects eligible card to provision to Click to Pay {#step-2consumer-selects-eligible-card-to-provision-to-click-to-pay}

During this step, the Issuer has the option of getting consent from the Consumer when the pre-populated information is displayed for Consumer's review. Consumers can provision only one card at a time. Provisioning of multiple accounts into Mastercard Click to Pay is currently not supported.

1. Consumer chooses to enroll to Click to Pay.
2. Issuer displays pre-populated consumer data for Consumer's review.
3. Consumer reviews the details and continues to enrolment.

Diagram consumer-selects-eligible-card

## Step 3: Consumer is enrolled to Mastercard Click to Pay {#step-3consumer-is-enrolled-to-mastercard-click-to-pay}

After the consumer provides consent, the Issuer enrolls the consumer in Mastercard Click to Pay Push Provisioning via the Enroll API endpoint.
Note: Issuer must include Mastercard Terms and Conditions, as well as Privacy Policy URLs in a request for enrolling consumers to Click to Pay.

1. Issuer calls MDES `pushMultipleAccount` API to get `pushAccountReceipt`. Issuer must pass funding information and billing information when requesting to `pushAccountReceipt` from MDES Token Connector.
2. Issuer gets `pushAccountReceipt` in response.
3. Issuer calls enroll API with Consumer's first name, last name, email, phone number, [Terms and Conditions](https://www.mastercard.com/global/click-to-pay/country-listing/terms.html) and [Privacy Policy](https://www.mastercard.com/global/click-to-pay/country-listing/privacy.html) URLs.
4. Click to Pay calls MDES for tokenizing the card with `pushAccountReceipt`.
5. MDES sends a request to the Issuer for tokenizing the card.
6. Issuer tokenizes the card and returns to MDES.
7. MDES sends response back to Click to Pay.
8. Click to Pay enrolls the consumer, generates a Click to Pay profile, and responds back to the Issuer with the Enroll API.
9. Issuer shows successful tokenization screen to consumer.

Diagram consumer-is-enrolled

**URLs for Compliance Settings**

You need to refer to the static [Terms and Conditions](https://www.mastercard.com/global/click-to-pay/country-listing/terms.html) and [Privacy Policy](https://www.mastercard.com/global/click-to-pay/country-listing/privacy.html) URLs to satisfy Mastercard's compliance requirements. For a better user experience, it is strongly recommended that you pass a locale at the end of the URL. The locale allows Consumers to directly view the Click to Pay Terms and Privacy in that language.

* For **Privacy**, use the following URI where xx is the ISO-639 language code and YY is the ISO-3166 format country code:

```curl
https://www.mastercard.com/global/click-to-pay/country-listing/privacy.html?locale=xx_YY
```

* For **Terms and Conditions**, use the following URI where xx is the ISO-639 language code and YY is the ISO-3166 format country code:

```curl
https://www.mastercard.com/global/click-to-pay/country-listing/terms.html?locale=xx_YY
```

You must pass the URLs shared above as part of the `ComplianceSettings` object during enrollment. This step is to ensure you are complying with Mastercard's requirements for showing the correct URLs.
