Create unity user

A unity user is created before initiating the LAMF journey. The API accepts a bunch of optional values like contact & bank details, date of birth, etc. that can be passed at the time of Unity User creation. These values will be later pre-populated in the LAMF journey for the user.

Path Params
string
required
Defaults to gatewaydemo
Body Params
string
required
Defaults to AIXOL9094G

Required | PAN of the user to be pre-filled in the LAMF or LAS journey

authContact
object
required
string

Optional | Only if part of the LAMF or LAS referrer program

string
Defaults to 04-11-1999

Optional | To pre-fill the date of birth in the LAMF or LAS journey (DD-MM-YYYY) format

contacts
array of objects

Optional | To pre-fill user's contact details in the LAMF or LAS journey

contacts
boolean
Defaults to false

Optional | If enabled then holdings will not be actually lien marked and the Unity user can be used for testing

bankAccounts
array of objects

Optional | To pre-fill user's bank account details in the LAMF or LAS journey

bankAccounts
holdings
array of objects
holdings
date-time

Required if holdings array is passed

string

Optional | To attribute your system identifier with the Unity user

string
Defaults to lamf

Optional | Product type for the loan. Defaults to lamf (covers both LAMF and LAS)

string
enum
Defaults to MUTUALFUND

Optional | Asset type for the loan. MUTUALFUND for LAMF (default), STOCKS for LAS

Allowed:
string

Optional | To pre-fill user's name in the LAMF or LAS journey

string

Optional | Used to pre-fill the user's age in the LAMF or LAS journey. If either DOB or age is provided, the user will not be prompted to enter it during the journey.

boolean

Optional | Indicates whether the user is an NRI. Required for certain lenders in the LAMF or LAS journey

Headers
string
required
Defaults to gatewayDemo_secret

Required | apiSecret shared for authentication

string
required
Defaults to eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJndWVzdCI6dHJ1ZSwiaWF0IjoxNjU0MzIxMDAwfQ.qiZ_w1yFYXhkdLMlqI28XJOXitfZwr64e2oL-lMEHZU

Required | JWT created with payload {"iss":"<your_gateway_name>"}, and signed with the shared secret

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json