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

# Chèque Fidélité via Thunes

> Let customers securely make payments using Chèque Fidélité via Thunes on your website or mobile application.

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

## Get started with Chèque Fidélité via Thunes

### 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 Chèque Fidélité payment method to your Thunes account**\
   Go to your Thunes account and add the payment method Chèque Fidélité.

2. **Enable auto-capture for Chèque Fidélité**\
   You may need to contact your Thunes account administrator to turn on **auto-capture** for Chèque Fidélité. If you don't have this turned on, you will have to perform a separate **Capture** action on your workflow or manually via our [Payments API](https://apiref.primer.io/reference/capture_payment_payments__id__capture_post).

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

4. **Activate Chèque Fidélité on the Checkout**\
   Go to the [Checkout](/checkout) section of the Dashboard and activate the Chèque Fidélité payment method.
   Then go to the settings view of Chèque Fidélité, and make sure that Chèque Fidélité is properly set up to use your Thunes processor account.

5. **Configure a Workflow to process payments made with Chèque Fidélité**\
   Go to the [Workflow](/workflows), set up the **Authorization** step to process APMs. Finish the workflow with a **Continue payment flow** action.

### Prepare the client session

Chèque Fidélité via Thunes 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#response-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#response-order) <br /> ↳ [lineItems](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#response-order-line-items) | ✓        | Details of the line items of the order                                                                                      |
| [amount](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#response-amount)                                                                                                                            | ✓        | The amount you would like to charge the customer, in minor units. e.g. for \$7, use `700`.                                  |

## Add Chèque Fidélité via Thunes into your website or mobile app

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

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