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

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Solana Pay

> A standard protocol for decentralized payments on Solana

**Solana Pay is a standard protocol and set of reference implementations that
enable developers to incorporate decentralized payments into their apps and
services.** Solana confirms transactions in under a second, and the base fee is
5,000 lamports (about \$0.0005 at \$100/SOL), with no intermediaries.

## Why Solana Pay?

- **Standard Protocol**: Unified approach to payments across all Solana wallets
  and apps
- **Fast**: Transactions confirm in under a second
- **Low cost**: A base fee of 5,000 lamports (about \$0.0005 at \$100/SOL)
- **No Intermediaries**: Direct peer-to-peer payments without third parties
- **Universal Wallet Support**: Compatible with Phantom, Solflare, Backpack, and
  more

## Quick Start

The simplest way to get started is with a transfer request URL:

```
solana:recipient?amount=0.01&label=Coffee%20Shop&message=Grande%20Latte
```

This URL can be:

- Encoded as a QR code for mobile wallet scanning
- Used as a payment link in web applications
- Embedded in mobile apps as deep links

The quick start guides cover each part of an integration:

| Guide                                                                          | What it covers                                                                  | Best for                                                       |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [Installation](/developers/docs/tools/solana-pay/quickstart/installation)                 | Install the SDK and its dependencies                                            | Every integration                                              |
| [Transfer requests](/developers/docs/tools/solana-pay/quickstart/transfer-requests)       | Non-interactive payment URLs for SOL and SPL token transfers                    | Basic payments and donations, QR code payments, links in email |
| [Transaction requests](/developers/docs/tools/solana-pay/quickstart/transaction-requests) | Interactive payment flows where your server composes the transaction            | Dynamic pricing, NFT minting, DeFi, custom business logic      |
| [QR codes](/developers/docs/tools/solana-pay/quickstart/qr-codes)                         | Generate and customize QR codes for mobile wallet payments                      | Point of sale, web to mobile payments, in-person transactions  |

**[→ Protocol overview](/developers/docs/tools/solana-pay/overview)** - Detailed overview
and specifications

## Installation

Install the Solana Pay JavaScript SDK:

```bash
npm install @solana/pay@beta @solana/kit@^6.5.0
```

## Use Cases

Solana Pay enables a wide range of payment scenarios:

- **Retail Payments**: In-person payments using QR codes
- **E-commerce**: Web checkout flows with wallet integration
- **Mobile Apps**: Native payment experiences with deep linking
- **NFT Minting**: Dynamic transaction creation for complex interactions
- **Subscriptions**: Recurring payments and loyalty programs
- **DeFi Integration**: Composable transactions with swaps and lending

## Supporting Wallets

Solana Pay works with all major Solana wallets:

- **[Phantom](https://phantom.app/)** - Most popular Solana wallet
- **[Solflare](https://solflare.com/)** - Multi-platform Solana wallet
- **[Backpack](https://backpack.app/)** - Web3 wallet and app store
- **[Glow](https://glow.app/)** - Mobile-first Solana wallet
- **[Decaf Wallet](https://decaf.so/)** - Global Payments wallet
- **[Espresso Cash](https://www.espressocash.com/)** - Global Payments wallet
- **[Tiplink](https://tiplink.io/)** - The world's simplest wallet
- **[Bitget Wallet](https://web3.bitget.com/)** - Multi-chain wallet

## Next Steps

Explore the documentation based on what you're building:

- **[Quick Start Guides](/developers/docs/tools/solana-pay/quickstart/installation)** - Get
  up and running quickly
- **[Transfer Requests](/developers/docs/tools/solana-pay/quickstart/transfer-requests)** -
  Simple payment URLs
- **[Transaction Requests](/developers/docs/tools/solana-pay/quickstart/transaction-requests)** -
  Interactive payment flows
- **[QR Code Integration](/developers/docs/tools/solana-pay/quickstart/qr-codes)** -
  Generate scannable payment codes

## Community & Support

- **Questions?** Ask on
  [Solana Stack Exchange](https://solana.stackexchange.com/) (use the
  `solana-pay` tag)
- **Issues?** Report on
  [GitHub Issues](https://github.com/solana-foundation/pay/issues)

## Source

- [GitHub Repository](https://github.com/solana-foundation/pay)

Built and maintained by the [Solana Foundation](https://solana.org).

Licensed under Apache License, Version 2.0.
