Important: From December 1, 2026, this endpoint will be deprecated; we advise you to move to our new Online Onboarding system, which is faster and more effective. Contact your account manager or support for information.
Enables your system to create a legal payment account by following these steps:
- Your client enters their personal data on your platform (e.g. in their profile).
- Your server calls the Accounts API.
- Lemonway provisions the payment account in your environment.
- Your system reads the API response and notifies the user.
The API enforces several validation rules:
-
Injection checks
• String parameters (email, name, etc.) must not contain unusual or non‑standard characters. -
Name requirements (first & last name)
• Cannot be a placeholder or “made‑up” value (e.g. “name”, “nom”, “prenom”, “test”, “unknown”).
• Must consist of at least two characters and include at least one vowel.
• First name and last name must differ.
• No character may repeat three times in a row.
• Additional checks may apply for special cases (e.g. VIP or politically exposed persons).
Important: Whenever you see accountId in a path or body parameter, enter your wallet’s ID.
401Unauthorized
500InternalServerError
