When to use
Create an end-user account after you have a validaccessToken. The returned account.id (entityId) is used to create wallets and payment links for that user.
Endpoint
POST {{ACCOUNT_URL}}/v1/ext/account/create-user- Auth: Bearer
{{accessToken}}
Request
Fields
| Field | Type | Description | Required |
|---|---|---|---|
firstName | string | End user first name | Yes |
lastName | string | End user last name | Yes |
email | string | End user email | Yes |
identifier | string | Your unique user identifier | Yes |
type | string | Must be USER | Yes |
Success Response (200)
Error (400 - Account Exists)
Next steps
- Save
account.idasentityId. - Create wallets for this user.
- Link payments (
externalId) to this user in downstream calls.