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

# ACH via Stripe

> Let customers securely make payments using ACH via Stripe on your website or mobile application.

## Get started with ACH via Stripe

### 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 Stripe to your Dashboard**\
   Go to the [Integrations](https://dashboard.primer.io/integrations) section of the Dashboard and look for `Stripe`.\
   Follow the instructions to connect your Stripe account to your Primer Dashboard. Make sure `ACH` is selected for your Stripe connection.

2. **Activate ACH on the Checkout**\
   Go to the [Checkout](https://dashboard.primer.io/checkout) section of the Dashboard and activate the ACH payment method.

3. **Configure a Workflow to process payments made with Stripe ACH**\
   Go to [Workflows](https://dashboard.primer.io/workflows-v1), and ensure there is a workflow with the **Authorize payment** action configured to process APM payments.

### Prepare the client session

ACH via Stripe 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 format. For Stripe ACH only USD is supported.                                                                                                         |
| [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)                                                                                                                   | ✓        | In order to have Stripe ACH successful, you need to pass your device info: IP address and user agent in the metadata.`metadata.deviceInfo.ipAddress` and `metadata.deviceInfo.userAgent` |
| [paymentMethod](/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#request.body.paymentMethod)                                                                                                 | ✓        |                                                                                                                                                                                          |

```javasript Javascript theme={"dark"}
JSX "paymentMethod": {
    "vaultOnAgreement": true,
    "paymentType": "FIRST_PAYMENT"
  }
```

<br />

That should be passed if one wishes to vault ACH via Stripe.

## Add ACH via Stripe into your website or mobile app

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

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