POST
/
users
/
{user_id}
/
complete_onboarding
cURL
curl --request POST \
  --url http://localhost:8080/users/{user_id}/complete_onboarding \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": {
    "city": "Bengaluru",
    "country": "IN",
    "line1": "123, MG Road",
    "line2": "Flat 4B, Sunrise Apartments",
    "pincode": "560001",
    "state": "Karnataka"
  },
  "bank_details": {
    "account_number": "50123456789",
    "ifsc_code": "HDFC0000001"
  },
  "dob": "2000-01-15",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>"
}
'
{
  "access_token": "<string>",
  "user": {
    "created_at": "2026-01-15T12:34:56",
    "last_modified_at": "2026-01-15T12:34:56",
    "phone_country_code": "<string>",
    "phone_number": "<string>",
    "user_id": "012345678901",
    "address": {
      "city": "Bengaluru",
      "country": "IN",
      "line1": "123, MG Road",
      "line2": "Flat 4B, Sunrise Apartments",
      "pincode": "560001",
      "state": "Karnataka"
    },
    "dob": "2000-01-15",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>"
  }
}

Path Parameters

user_id
string
required

User ID

Body

application/json
address
object
required

Structured address details for user profiles and insurance documents.

bank_details
object
required

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

dob
string
required
Example:

"2000-01-15"

first_name
string
required
gender
enum<string>
required

User gender.

Available options:
MALE,
FEMALE,
OTHER
last_name
string
required
salutation
enum<string>
required

Title or honorific for a person.

Available options:
MR,
MRS,
MS,
MASTER
email
string | null

Response

Onboarding completed

access_token
string
required
user
object
required