Create Individual Account for Onboarding
Changed onCreates a new individual Lemonway account for onboarding a new user. If the individual already has a Lemonway account but requires full onboarding, use POST /onboardings/individual and provide the user’s unique accountId.This call essentially validates you’ve provided all required bodyParams.• Creates an account record of type “individual.”• Associate a new wallet entry using the walletId.• Returns a populated account object (including an assigned Id) so you can pass it into subsequent onboarding calls.
Request
- Base URLhttps://onboarding-api.lemonway.com
- URLhttps://onboarding-api.lemonway.com/accounts/individual
- AuthHTTP bearer
Request body
Example request
{
"individual": {
"firstName": "Jonathan",
"lastName": "Lamary",
"birthDate": "1973-06-01",
"email": "JLamry55@gmail.com",
"birthCountry": "FR",
"address": {
"country": "UK"
}
},
"profile": "DONOR",
"walletId": "6768992"
}Response
In the Response a unique Id is created. This Id corresponds to the accountId field in the endpoint POST /onboardings/individual.
Example response
{
"id": "ff928147-d51e-4f22-b26c-d2c1a2sebd8d",
"status": "CREATED",
"profileStatus": "AWAITING_INFORMATION"
}Changes
- breaking
the request property
//became required - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - info
the
//request property's minLength was decreased from3to0
- breaking