# Card payments (/merchants/card-payments)

Turn on card payments and your checkout offers **Card** next to **Crypto wallet**. Your customer pays in US dollars, and
the money goes straight into your own Stripe account. It never passes through Fianto, and Fianto takes no fee on a card
payment (Stripe charges its own fees in your Stripe account).

Setting it up takes about 3 minutes: you create one key in Stripe, paste it into Fianto, and switch cards on.

![Fianto's checkout page with two ways to pay: Crypto wallet (USDC on Solana with Phantom, Solflare and more) and Card (Visa, Mastercard, Amex and more), each with its own total, then an optional email field and the Pay button.](/screenshots/cards/after-checkout.webp)

*What your customer sees once cards are on. Amounts are demo values.*

## Before you start [#before-you-start]

* A Stripe account that has finished verification. If you do not have one yet, create it at stripe.com first.
* Your Fianto password, and your two-factor code if two-factor sign-in is on. Connecting asks for them.

## Steps [#steps]

**Step 1.**

### Open Payment methods [#open-payment-methods]

In the sidebar, open **Settings**, then the **Payment methods** tab. The **Cards through Stripe** card says "Not
connected". Click **Connect Stripe**.

![Settings, Payment methods tab: a USDC on Solana card marked On with the wallet address, and a Cards through Stripe card marked Not connected with the buttons Connect Stripe and How it works.](/screenshots/cards/before-payment-methods.webp)

**Step 2.**

### Create a key in Stripe [#create-a-key-in-stripe]

The dialog walks you through it. In step 1, click **Open Stripe API keys**: your Stripe API keys page opens in a new
tab. There, click "Create secret key" and choose "Sharing with a third-party service" (if Stripe shows "Create restricted
key" instead, click that). When Stripe asks, type the two values the dialog shows, each with a copy button:

* **Vendor name**: `Fianto`
* **URL**: `https://fianto.xyz`

![The Connect Stripe dialog, step 1 Create the key in Stripe: the instructions, an Open Stripe API keys button, the values Vendor name Fianto and URL https://fianto.xyz with copy buttons, and the line Live mode takes Stripe live keys.](/screenshots/cards/before-connect-key.webp)

This key can only do what you allow, which is why Fianto asks for it instead of your secret key (`sk_`).

**Step 3.**

### Pick the permissions [#pick-the-permissions]

Step 2 of the dialog lists each permission, named as Stripe names it, with the level to pick: **Read** or **Write**. Set
every row under **Required (11)** to the level shown.

![The Connect Stripe dialog, step 2 Set the permissions: the Required list with each Stripe permission and its level, Read or Write, some with a note such as Read is enough to connect.](/screenshots/cards/before-connect-permissions.webp)

Two more groups are optional and can be added later, when you want the feature:

* **For disputes and withdrawals**: answering a dispute and withdrawing to your bank. See
  [Refunds and disputes](/merchants/refunds-and-disputes) and [Balances](/merchants/balances).
* **For card subscriptions**: subscriptions paid by card. See [Card subscriptions](/merchants/card-subscriptions).

Easiest: grant them all now, so you never have to come back. Then create the key in Stripe.

**Step 4.**

### Paste both keys [#paste-both-keys]

Stripe now shows two keys. In step 3, paste the **Publishable key** (`pk_live_…`) and the **Restricted key**
(`rk_live_…`). Copy the restricted key straight away: "Stripe shows it only once, when you create it."

![The Connect Stripe dialog scrolled to step 3 Paste the keys: the Publishable key and Restricted key fields, the hint Stripe shows it only once, when you create it, and the Cancel and Connect Stripe buttons.](/screenshots/cards/before-connect-paste.webp)

Click **Connect Stripe** and confirm with your password (and your code when two-factor sign-in is on). Fianto checks the
key and sets up everything it needs in your Stripe account.

**Step 5.**

### Turn on Card payments [#turn-on-card-payments]

The card now shows your Stripe account. Tick **Card payments**: from now on your checkouts offer a card.

![The Cards through Stripe card once connected: Account Quillfern Labs, US; Mode Test; Last event; a Make a test payment button; the Card payments box ticked and the Card subscriptions box off.](/screenshots/cards/after-connected.webp)

*Shown connected with Stripe test keys, so Mode says Test. With your live keys it says Live.*

## When a card is offered [#when-a-card-is-offered]

Once **Card payments** is on, the checkout offers a card for one-time payments, payment links, your Shop and invoices,
and for subscriptions too once [Card subscriptions](/merchants/card-subscriptions) are on.

A card is not offered when, for example:

* the amount is under $1.00, over $999,999.99, or not in whole cents;
* the checkout was limited to crypto;
* your account is not approved yet, or Stripe needs you to reconnect.

Your customer can still pay from a wallet in those cases.

## Where the money goes [#where-the-money-goes]

Into your Stripe balance. Stripe pays it out to your bank on your Stripe payout schedule. You see both your wallet and
your Stripe balance on [Balances](/merchants/balances), opened from **Home**.

> **No Fianto fee on a card payment:**
>
> A card payment has no Fianto fee and no network fee. The checkout shows a "Fianto fee" line of $0.00, and the "Card
> processing fee" as paid by you. Stripe charges its own fees in your Stripe account; each card payment's page in
> **Payments** shows its "Stripe fee" and its "Net (to your Stripe balance)".

A card payment shows as paid at once, with the card's brand and last four digits (for example "Visa •••• 4242") in
**Payments**. Use the **All / Crypto / Card** switch above the list to see one kind only. Unlike a crypto payment, a
card payment can be refunded by you and disputed by the cardholder: see
[Refunds and disputes](/merchants/refunds-and-disputes).

## Try it first in Test mode [#try-it-first-in-test-mode]

Want to practise before taking real money? Pick **Test mode** in the sidebar's **Mode** picker and connect with Stripe
**test** keys (`pk_test_…`, `rk_test_…`): "Test mode takes Stripe test keys." Test payments move no money. The card then
shows **Make a test payment**, which opens a one-dollar checkout that takes a card. Pay it with Stripe's test card
`4242 4242 4242 4242`, any future date such as **12/34**, and any three-digit CVC.

Live keys work only in Live mode, and test keys only in Test mode.

## Disconnect Stripe [#disconnect-stripe]

**Disconnect** on the card asks for your password: afterwards "Customers can no longer pay by card." It waits while
something is still in progress with Stripe: a card checkout still open, a refund or withdrawal Stripe has not answered
yet, or a card subscription that has not ended.

## Check it worked [#check-it-worked]

> In **Settings → Payment methods**, the **Cards through Stripe** card shows your Stripe account and **Card payments** is
> ticked. Open one of your payment links priced at $1.00 or more: the checkout offers **Card** next to **Crypto wallet**.

## Troubleshooting [#troubleshooting]

| You see | Why | Fix |
|---|---|---|
| "Use a restricted key (rk_), not your secret key." | You pasted your secret key (`sk_`). | In Stripe, create a restricted key as in step 2 and paste that one. |
| "Live mode uses Stripe live keys (pk_live_, rk_live_)." or "Test mode uses Stripe test keys (pk_test_, rk_test_)." | The keys are from the other Stripe mode, or the two keys are from different modes. | Use live keys in Live mode and test keys in Test mode. |
| A permission row is marked "Missing" | That permission was not set to the level shown when you created the key. | Edit the key in Stripe, set that permission, and connect again. |
| `stripe_account_in_use` | That Stripe account is already connected to another Fianto account. | Connect a Stripe account that no other Fianto account uses. |
| Needs attention says "Reconnect Stripe" | Your Stripe connection needs you. | Open Settings → Payment methods and follow what the **Cards through Stripe** card says. |
| The checkout shows no card | **Card payments** is off, the amount is under $1.00 or over $999,999.99, or the checkout was limited to crypto. | Check [When a card is offered](#when-a-card-is-offered). |

## See also [#see-also]

- [Balances](/merchants/balances): Your wallet and Stripe balances, payouts and Withdraw.

- [Refunds and disputes](/merchants/refunds-and-disputes): Refund a card payment, and answer a dispute.

- [Card subscriptions](/merchants/card-subscriptions): Subscriptions paid by card.

- [How money moves](/get-started/how-money-moves#a-card-payment): A card payment next to a crypto one.

- [Orders and payments](/merchants/orders-and-payments): What each payment status means.