v1
latestOpenAPI 3.0.02026-07-2691259477.2 KBaccounts
Creates 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.
The is call estially 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.
post/accounts/individual
Request body
Example request
{
"individual": {
"firstName": "Jonathan",
"lastName": "Lamary",
"birthDate": "1973-06-01",
"email": "JLamry55@gmail.com",
"birthCountry": "FR"
},
"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"
}