Getting started

Quickstart

Go from a new account to your first paid checkout in five minutes.

You'll need a Zcash wallet that gives you unified addresses with an Orchard receiver, such as Zashi.

  1. Create your account

    Open PetraPay and choose Create account. You'll get a 12-word recovery phrase: it is your account (there's no email or password), so write it down somewhere safe.

  2. Add shielded addresses

    In Shielded addresses, paste a few unified addresses from your wallet (they start with u1). In Zashi, tap Receive, copy, and repeat; each time it shows a new address. Every payment uses a fresh one from this pool.

  3. Create something to pay

    Pick whatever fits: an invoice, a payment link, a sale on your POS terminal, or a checkout from the API.

  4. Share it and get paid

    Send the link or show the QR. Your customer picks a token, sees the exact amount with fees included, and pays from their wallet. A few minutes later the ZEC lands in your wallet, shielded.

Integrating your website?

Create a secret key in Dashboard → Developers, then create a checkout from your server and redirect the customer to its URL:

curl https://api.petrapay.xyz/v1/checkouts \
  -H "Authorization: Bearer pp_sk_..." \
  -H "Content-Type: application/json" \
  -d '{ "currency": "USD", "amount": "25.00", "title": "Order #1001" }'

Continue with the API overview, or try everything without real money in test mode.