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

# Illicado via Thunes

> Let customers securely make payments using Illicado via Thunes on your website or mobile application.

| One off payment | Refunds |
| --------------- | ------- |
| ✓               | ✓       |

## Get started with Illicado 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 Illicado payment method to your Thunes account**\
   Go to your Thunes account and add the payment method Illicado.

2. **Enable auto-capture for Illicado**\
   You may need to contact your Thunes account administrator to turn on **auto-capture** for Illicado. 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/) section of the Dashboard and look for `Thunes`.
   Follow the instructions to connect your Thunes processor account to your Primer Dashboard.

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

5. **Configure a Workflow to process payments made with Illicado**\
   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

Illicado 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#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                                                                                      |
| [amount](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-amount)                                                                                                                       | ✓        | The amount you would like to charge the customer, in minor units. e.g. for \$7, use `700`.                                  |

## Add Illicado via Thunes into your website or mobile app

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

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