Getting started
Introduction
PaySovra is a non-custodial crypto payment gateway. Your customers pay in crypto; the funds settle directly to your own wallet. PaySovra never holds, routes, or controls the money — it creates the payment request, watches the chain, confirms the payment, and notifies you.
There are three ways to accept payments, from least to most technical: drop-in payment links and invoices (no code), the embeddable widget (one script tag), and the API (full programmatic control, plus AI agents via MCP).
Quickstart
Authentication
Every API request carries your key in the X-Api-Key header. There are two key types:
• Publishable key — pk_live_… Safe to expose in the browser and the widget. Can ONLY create payment sessions and read public asset data. It can never read your orders or manage resources.
• Secret key — sk_live_… Server-side only, available on the Pro plan. Full access to the /v1 management API (orders, invoices, products, customers). Treat it like a password; never ship it to the browser.