Set up your account
1
Sign up
Go to dashboard.prava.space and create an account with your email
(one-time code) or Google. You’ll land in the dashboard right away.
2
Create an API key
In the dashboard, create an API key by entering your entity name (and optional website). Prava
provisions your merchant and issues your keys instantly:
- A publishable key (
pk_test_*) — safe for the browser, used to initialize the SDK. - A secret key (
sk_test_*) — server-side only, used to create sessions.
Going to production? Production is a separate environment you switch to from the dashboard, and
going live may require some additional verification. Reach out at
support@prava.space when you’re ready. You can build and
test everything in sandbox first.
Create your first session
A session is the workspace for a single payment. Once you have your credentials, create a session from your backend:session_token and an iframe_url.
Choose how to collect the card
From that one session you can collect the card two ways:- Hosted (default): redirect the cardholder to the
iframe_url; Prava returns them to yourcallback_urlwhen done. No frontend SDK needed. - Embedded: set
integration_type: "embedding"on the session and mount Prava’s card UI inside your own page with the SDK (below).
Embed the card form (embedded mode)
Where next
Full tutorial
The complete integration in your app: backend, frontend, credentials, reporting.
Pure REST walkthrough
The same flow with hosted card entry and nothing but cURL.
Test it in sandbox
Test cards, sandbox behaviors, and a full test run.