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

# Add Pesso as a checkout option

> Send your customer a Pesso link, get paid in USDC on Base to your own address, and get a signed webhook when it’s paid.

Create a payment request from your server and send your customer to its link. They pay in Pesso — from their balance, or by adding what’s missing with Apple Pay — and your server gets a signed `payment.succeeded` webhook.

> [!NOTE]
>
> The API is part of Pesso’s **Business** plan. [See plans](https://pesso.xyz/plans).

## What your customer sees

Pesso payment page, signed out: [orders@shop.example.com](mailto:orders@shop.example.com), verified, requests \$25.00, message #4418, Items 2 bags of coffee. Continue with Google or Continue with email. Nothing is paid until you confirm.

**1
Open your link**
Your verified email, the amount and your `concept`, before any sign-in. Then Google or email; new to Pesso, this makes their wallet.

Pay screen, signed in: [orders@shop.example.com](mailto:orders@shop.example.com), verified, $25.00, message #4418. From your Pesso $40.00. Pay \$25.00. Can’t be undone.

**2
Pay from their balance**
One button that names the exact amount. Payments can’t be undone.

Pay screen, short of money: $25.00 to orders@shop.example.com. Card total about $20.53, plus \$5.00 from your Pesso. Pay with Apple Pay. By continuing you agree to Coinbase’s terms.

**3
Or top up first**
Short? Apple Pay adds only the difference, on the same page. Then they pay.

Paid screen: \$25.00, paid to [orders@shop.example.com](mailto:orders@shop.example.com). Receipt. Return to shop.example.com, or Stay in Pesso.

**4
Back to your site**
A *Return to* button for your `successUrl`. Never an automatic redirect.

Illustrations of the Pesso app. `shop.example.com` and `orders@shop.example.com` stand in for your site and your Pesso sign-in; the message is the Quickstart’s `concept`, and the balance and card figures are examples.

## Where Pesso works

| | Who can use it |
| - | - |
| **Payment requests and the API** | You, wherever you are, on the Business plan. |
| **Paying a request** | Anyone with a Pesso account and USDC on Base in it. |
| **Adding money with Apple Pay** | Customers in the US, with a US debit card in Apple Pay and a US mobile number. |
| **Cash out to your own bank** | Residents of the US, Mexico, Brazil and Colombia, except New York. Included in Business. |

Customers outside the US can still pay you from money already in their Pesso — for example USDC on Base sent to their Pesso address. They can’t top up with Apple Pay on the request page.

## How it works

Integration in four steps: get a key, create a request, send your customer, get the webhook

```mermaid actions={false} theme={null}
sequenceDiagram
    participant S as Your server
    participant C as Customer
    participant P as Pesso
    S->>P: POST /send (psk_…)
    P-->>S: 201 { id, url }
    S->>C: Redirect to url
    C->>P: Pays in Pesso
    P->>P: Checks it on Base
    P->>S: payment.succeeded (signed)
    S-->>P: Verify, mark paid, 2xx
```

Pesso tells your server only after it has checked the payment on Base. **The webhook is your confirmation** — not your customer arriving at your `successUrl`, which anyone can open. There is no status endpoint to poll.

**Your customer pays your address directly on-chain; Pesso never holds the money.** Payments go to your own Pesso account, and the API has no field for a destination address.

> [card] [Quickstart](https://docs.pesso.xyz/quickstart.md)
>
> From API key to your first paid request.

> [card] [Webhooks](https://docs.pesso.xyz/webhooks.md)
>
> Verify the signature and handle retries.

> [card] [Go live](https://docs.pesso.xyz/go-live.md)
>
> Errors, edge cases and a checklist.


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