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

# Card

> Let customers securely make payments using cards, like credit, debit, or prepaid, on your website or mobile application.

## Get started with Card

### 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 a card processor to your Dashboard**\
   Go to the Connections section of the Dashboard and look for a card processor such as Stripe, Adyen, Braintree, and many others.\
   Follow the instructions to connect the processor account to your Primer Dashboard.

2. **Activate Card on the Checkout**\
   Go to the Checkout section of the Dashboard and activate the Card payment method.

3. **Configure a Workflow to process payments with Card**\
   Go to the Workflow section and make sure one of your card processors is used to process card payments.

### Prepare the client session

Card 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                                                                                      |

## Add Card into your website or mobile app

Follow our [Checkout guide](/checkout/overview) to learn how to integrate Primer's SDK, using [Drop-In](/checkout/drop-in/overview) or [Headless](/checkout/headless), and show the card form in your checkout.
