Skip to main content
Creates a short-lived session for one of your platform users. It lets the embeddable wallet verification UI act for exactly this user without your API key ever reaching the browser. Create the session on your backend, pass session and client_id to your page, and create a new one when it expires. A session is valid for 15 minutes and only for your instance. On the page, the widget shows the amount, the address and a QR code and updates when the payment arrives:
Optional attributes: data-theme (dark or light), data-accent (a hex color), data-radius (0-24), data-frameless, data-compact and data-height. The widget only loads on your instance’s sites, and on localhost while the instance is not live. You receive the wallet.verified webhook when the payment arrived.

Body

string
required
Your id of the user. Alternatively pass csid_id.

Usage Example

Response

string
Your id of the user.
string
Your Instance ID (csid_...), public.
string
The session token, starts with pvs_. Treat it like a short-lived password for this user.
string
When the session expires.
integer
Lifetime in seconds, 900.

Errors

See Errors for the full list.