---
title: "Collect payments"
description: "Connect a payment gateway and take card and ACH payments."
---

C3 collects card and ACH payments through a payment gateway. Once a gateway is connected and a customer has a payment method on file, C3 can charge invoices automatically or on demand.

## Connect your gateway

::::tabs
:::tab[Stripe]
1. Share your Stripe live secret key with the C3 team.
2. In Stripe, add a webhook endpoint with all charge events. The C3 team gives you the URL, for example `https://contoso-c3-api.azurewebsites.net/c3/api/PaymentNotifier/Stripe`.
:::
:::tab[Authorize.net]
1. Share your **API Login Id** and **Transaction Key** (or **Signature Key**) with the C3 team.
2. Enable the **Transaction Details API** in Authorize.net.
3. Add a webhook ending in `/api/PaymentNotifier/AuthorizeNetPaymentUpdates` with all Payment Events. The C3 team confirms the full URL.
:::
:::tab[Bill&Pay]
1. Share your **App Id**, **App Key** and **Biller Id** with the C3 team.
2. Set the callback URL to `https://<your C3 URL>/api/PaymentNotifier/`.
:::
::::

## Set up a customer

:::steps
### Link the billing profile
Open **Customer Settings** > **Link to Billing Profile**, enter the **Billing System ID**, look it up and select **Proceed to Onboard**.

### Add a payment method
Impersonate the customer, open **Profile** and add a payment method (card or ACH). Select **Stop Impersonation** when done.

### Test it
Open **Customer Settings** > **Customer Payments** and use the **Test Charge Button** to make a $1 test charge.
:::

:::note
The **Link to Billing Profile** tab only appears after a gateway is integrated.
:::

## Take payments

- **Charge open invoices:** go to **Analyze** > **Business** > **Invoice & Dues** and select **Pay Pending Invoices**.
- **Record offline payments:** on the **Payments** tab, select **Record Advance Payment** and choose **Single** or **Multiple Payments**.
- **Pay automatically:** turn on **Auto pay invoices** under **Settings** > **Billing**.
