> ## Documentation Index
> Fetch the complete documentation index at: https://second.tech/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Take payments at checkout

> Check what your customers see on the Bark Pay hosted checkout page, follow the paid and expired states, and put your own name and logo on the page.

Every checkout link opens a page on your own Bark Pay domain. Your customer pays there, and the page confirms the payment on its own.

<Frame caption="The page opens on the Ark tab when the charge offers Ark. Your customer selects Lightning or On-chain to pay another way">
  <img src="https://mintcdn.com/second-0659a37d/w3x3inV3jE1Buo4A/images/bark-pay/checkout.png?fit=max&auto=format&n=w3x3inV3jE1Buo4A&q=85&s=6de513fd5ba70d4633b027fe59a5c34a" alt="Screenshot of the hosted checkout page for a 21,000 sats charge, with the Lightning, Ark, and On-chain tabs, a QR code, the Ark address, the Copy Ark address button, and the Pending status with a countdown" width="1000" height="1360" data-path="images/bark-pay/checkout.png" />
</Frame>

## Follow a payment on the page

Your customer scans the QR code with a wallet app, or selects **Copy Lightning invoice**, **Copy Ark address**, or **Copy On-chain address** and pastes it in. A charge with a single payment method shows no tabs. The page updates itself:

| State | What the page shows |
| - | - |
| Underpaid | The remaining amount, with the payment details still on screen for a top-up. |
| Paid | **Payment received** and a receipt. If the charge has a success URL, the page redirects there after a moment. |
| Expired or cancelled | The page reads **This charge is no longer payable.** If the page was open when the charge ended, the QR code first blurs under an **Expired** label. If the charge has a cancel URL, a **Return** link takes your customer back. |

## Checkout branding

Select **Branding** in the sidebar to change how every checkout page looks:

* **Display name:** Replaces the `bark-pay` wordmark at the top of the page.
* **Accent color:** The highlight color, as a hex value. Select it from the swatch or type it.
* **Logo:** Upload a PNG, JPEG, or WebP up to 200 KB, or paste an image URL.

Select **Save branding** to apply your changes, or **Preview** to open a sample checkout in a new tab first.

<Frame caption="Branding applies to every hosted checkout page at once">
  <img src="https://mintcdn.com/second-0659a37d/w3x3inV3jE1Buo4A/images/bark-pay/branding.png?fit=max&auto=format&n=w3x3inV3jE1Buo4A&q=85&s=0689249cd19cdb4c598563fb8bfec22c" alt="Screenshot of the Checkout branding page, with the Display name, Accent color, and Logo fields and the Save branding and Preview buttons" width="1300" height="1010" data-path="images/bark-pay/branding.png" />
</Frame>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.