v1
latestOpenAPI 3.1.02026-07-26165182724.7 KBCreate travel-rule widget session
Creates (or reuses an unexpired) widget session for the given userId, currency, network, and counterparty identifier within the authenticated application.
Provide exactly one counterparty identifier: counterpartyAddress (on-chain), paymentHash (Lightning), or invoice (a bolt11 Lightning invoice, decoded server-side to its payment hash). Lightning identifiers are valid on BTC / BTC only.
currency and network must be supported and consistent (e.g. SOL / SOL, POL / POLYGON).
Optional forceVerifyOwnership (default false) persists on the session and forces wallet ownership verification for self-hosted OWNED counterparties regardless of Travel Rule thresholds. Reusing an unexpired session can upgrade the flag from false to true but not the reverse.
Request body
Example request
{
"userId": "f714f7e8-6ba1-4802-81cc-12040113ff5b",
"network": "SOL",
"currency": "SOL",
"counterpartyAddress": "HfZ2KhxgZcmGbHUREpwj9vMcgBna5Qv1x8qfcMLC2VcY",
"forceVerifyOwnership": true
}Response
success
Example response
{
"sessionId": "widget_session_01jvcnwd02f0tf1p2n5q3f5gdz",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"widgetUrl": "https://widget.example.com/widget_session_01jvcnwd02f0tf1p2n5q3f5gdz?token=eyJhbGciOi...",
"expiresAt": "2026-05-15T12:00:00.000Z"
}