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

# Bark Pay

> Accept Lightning, Ark, and on-chain payments on your own server with Bark Pay, a self-custodial payment processor with a checkout page and a charges API.

Create charges from the dashboard or straight from your app, and a webhook tells you the moment one is paid. Only you can move the bitcoin back out.

![Screenshot of the hosted checkout page for a 21,000 sats charge, with the Lightning, Ark, and On-chain tabs, an Ark QR code, and the Pending status with a countdown](https://mintcdn.com/second-0659a37d/w3x3inV3jE1Buo4A/images/bark-pay/checkout.png?fit=max\&auto=format\&n=w3x3inV3jE1Buo4A\&q=85\&s=6de513fd5ba70d4633b027fe59a5c34a)

Your customers pay a charge over Lightning, Ark, or on-chain from one hosted page

## What Bark Pay manages for you

* **One wallet you control:** Every live charge settles into the same Barkd wallet on your server. Only you can spend from it. Test mode uses a separate signet wallet.
* **Every payment method:** A charge offers Lightning, Ark, and on-chain when the amount fits each one. Bark Pay notifies your app when it settles.
* **Wallet maintenance:** Like any off-chain protocol, Ark wallets require ongoing maintenance. Barkd handles all of it in the background for you.

## Set up and run Bark Pay

> [card] [Install Bark Pay](https://second.tech/docs/bark-pay/install.md)
>
> Run the Docker Compose stack on your server, connect it to Barkd, and sign in.

> [card] [Back up your wallet](https://second.tech/docs/bark-pay/backups.md)
>
> Write down the seed phrase and keep the wallet volumes backed up.

> [card] [Create and track charges](https://second.tech/docs/bark-pay/charges.md)
>
> Create a charge from the dashboard, share its checkout link, and follow its status.

> [card] [Take payments at checkout](https://second.tech/docs/bark-pay/checkout.md)
>
> Check what your customers see on the hosted page, and put your branding on it.

> [card] [Integrate Bark Pay with your app](https://second.tech/docs/bark-pay/integrate.md)
>
> Create API keys, open checkout sessions from your server, and fulfill orders on webhooks.

> [card] [Manage your Bark Pay wallet](https://second.tech/docs/bark-pay/wallet.md)
>
> Read your balances, deposit bitcoin, and send manual payouts from the dashboard.

> [card] [Configure Bark Pay](https://second.tech/docs/bark-pay/settings.md)
>
> Set charge defaults, the amount tolerance, test mode, and your admin password.

> [card] [Update or remove Bark Pay](https://second.tech/docs/bark-pay/update.md)
>
> Pull a new version without losing data, or shut the stack down safely.


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