POST
cURL

Authorizations

Authorization
string
header
required

JWT bearer token. App-user tokens are issued by POST /auth/token (the partner backend calls it as its platform service account); admin and dashboard tokens are issued via OIDC login.

Path Parameters

user_id
string
required

User ID

Body

application/json
address
null | object

Structured address details for user profiles and insurance documents.

All fields except line2 are required — serde rejects a structured address missing any of line1, city, state, country, or pincode (presence is enforced by the type, not by a value-level validator). A fully free-text address is captured via [AddressDetailsOuter::Raw] instead.

bank_details
null | object

Origin-bank details required to open a purpose-bound account at PBA.

dob
string | null
Example:

"2000-01-15"

email
string | null
first_name
string | null
gender
null | enum<string>

User gender.

Available options:
MALE,
FEMALE,
OTHER
last_name
string | null

Response

Onboarding completed

access_token
string
required
user
object
required