Compliance
Create or resume a compliance customer and mint a scoped session
Changed onCalled by the integrator backend. Creates or resumes the provider-neutral compliance customer for the given opaque external customer id, optionally binds a registered smart account, and returns a short-lived browser session bearer. The project API key must never be forwarded to the browser — hand the returned token to the modal instead.
post/compliance/sessions
Request
- Base URLhttps://v1.orchestrator.rhinestone.dev/deposit-processor
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring
API key for authentication
Example:your-api-key
Request body
Example request
{
"externalCustomerId": "usr_01J7H8Q4K67Y8E",
"smartAccount": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"
}Response
Scoped session token
Example response
{
"expiresAt": "2026-08-13T12:15:00.000Z"
}Changes
- info
the endpoint scheme security
internalProjectBearerwas added to the API - info
the endpoint scheme security
tenantApiKeywas added to the API - info
the
headerrequest parameterx-api-keybecame optional
- info
- info
added the new optional request property
- info
added the non-success response with the status
- info