> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CPay via Monext

> Let customers securely make payments using CPay via Monext on your website or mobile application.

| One-Off Payment | Refunds |
| --------------- | ------- |
| ✓               | ✓       |

## Get started with CPay via Monext

### Before you begin

If this is your first payment method, make sure to follow the [Get started guide](/get-started/overview) to begin processing payments with Primer.

### Configure in the Dashboard

1. **Add CPay payment method to your Monext account**\
   Go to your Monext account and add the payment method CPay.

2. **Add Monext to your Dashboard**\
   Go to the [Connections](/connections/payment-methods/) section of the Dashboard and look for [Monext](/connections/payment-methods/cpay/).
   Follow the instructions to connect your Monext processor account to your Primer Dashboard.

3. **Activate CPay on the Checkout**\
   Go to the [Checkout](/checkout) section of the Dashboard and activate the CPay payment method.
   Then go to the settings view of CPay, and make sure that CPay is properly set up to use your Monext processor account.

4. **Configure a Workflow to process payments made with CPay**\
   Go to the [Workflow](/workflows) make sure your Monext processor is used to process payments made with CPay.
   Set up the **Authorization** step only.

### Prepare the client session

CPay via Monext leverages the following parameters to process a payment.

Pass them when creating the client session.

| Parameter Name                                                                                                                                                                                                                                                                                                                                                                     | Required | Description                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------- |
| [currencyCode](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-currency-code)                                                                                                                                                                                                                                                                    | ✓        | 3-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format, e.g. `USD` for US dollars |
| [order](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-order.) <br /> ↳ [lineItems](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-order-line-items)                                                                                                                                                         | ✓        | Details of the line items of the order                                                                                      |
| [metadata](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-metadata) <br /> ↳ [monext\_contracts](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-metadata.monext_contracts) <br /> ↳ [CPAY](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-metadata.monext_contracts.CPAY) | ✓        | The e-commerce contract code or number                                                                                      |

## Add CPay via Monext into your website or mobile app

<CardGroup>
  <Card title="Drop-in UI" href="/connections/payment-methods/cpay/monext-dropin">
    Use our customizable drop-in UI to quickly add payment methods to your checkout.
  </Card>

  <Card title="Headless Checkout" href="/connections/payment-methods/cpay/monext-headless">
    Have the freedom to build your own UI using our headless checkout.
  </Card>
</CardGroup>
