Checkouts
Everything a customer pays (an invoice, a payment-link purchase, a POS sale or an API checkout) is a checkout: an amount in USD or ZEC, a hosted payment page, and a status.
| Status | Meaning |
|---|---|
| open | Waiting for payment. |
| processing | The customer's payment arrived and is being converted to ZEC. |
| paid | ZEC was delivered to your shielded address. |
| cancelled | Cancelled by you. |
| expired | Passed its expiry without being paid (API checkouts and POS sales). |
Shielded address pool
You give PetraPay a pool of unified addresses from your own wallet. Each checkout takes an unused one, so on-chain observers can't tell that two payments went to the same merchant. When the pool runs out, PetraPay reuses your default address and flags it in the dashboard, so keep it topped up.
Quotes and settlement
When a customer picks a token, PetraPay requests a signed quote from a decentralized swap network: exactly how much of their token to send, fees included, so that you receive the exact ZEC amount of the checkout. PetraPay verifies the quote's signature and that it pays your address before showing a one-time deposit address.
- The customer sends their token to the one-time deposit address.
- Market makers swap it into ZEC.
- ZEC is delivered to your shielded address. The checkout becomes paid.
If anything goes wrong (the wrong amount, or a quote that expired), the customer is refunded automatically to the address they gave. Funds never sit with PetraPay.
USD or ZEC pricing
A USD checkout converts at the ZEC price when the customer requests their quote, so you receive ZEC worth that many dollars. A ZEC checkout delivers exactly that much ZEC.
Paying with shielded ZEC directly
Customers who already hold ZEC can pay straight to your shielded address with a ZIP-321 QR. Because shielded transfers are invisible without a viewing key, and PetraPay never asks for one, these payments can't be detected automatically: the customer taps "I've sent it" and you mark the checkout paid after checking your wallet.
Your account
There's no email or password. Your account is a key derived from your 12-word recovery phrase and kept in your browser. Lose the phrase and nobody, including us, can recover the account. Your funds are always in your own wallet either way.