Creates a user linked to the logged-in corporate or consumer identity.
Once on-boarded, users have access to all instruments (cards and accounts) of the identity.
Application-specific permissions to limit what each user can view and do need to be implemented in your application.
In order to Create an Authorised User you would need a stepped-up token. Before calling /multi/users you need to step-up ( issue a challenge multi/stepup/challenges/otp/{channel} )
More details on how to step-up a token can be found here Step-Up
The tag field is a custom field that can be used to search and filter.
BCP47 locale code (e.g. en, en-US). The locale determines which email and SMS user notification templates are used.
Brand identifier used to determine the set of email and SMS user notification templates. Must be alphanumeric, up to 25 characters, and contain no spaces.
- Weavr Sandbox Environmenthttps://sandbox.weavr.io/multi/users
- Mock serverhttps://api.weavr.io/_mock/products/multi/openapi/users
curl -i -X POST \
https://sandbox.weavr.io/multi/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-H 'idempotency-ref: string' \
-d '{
"name": "string",
"surname": "string",
"email": "user@example.com",
"mobile": {
"countryCode": "stri",
"number": "string"
},
"dateOfBirth": {
"year": 1900,
"month": 1,
"day": 1
},
"tag": "string",
"countryOfResidence": "st",
"locale": "en-GB",
"brand": "string",
"roles": [
"CARD_ASSIGNEE"
]
}'Success
The state of the user. If the active attribute is false, then the user will not be able to log in.
The tag field is a custom field that can be used to search and filter.
BCP47 locale code (e.g. en, en-US). The locale determines which email and SMS user notification templates are used.
Brand identifier used to determine the set of email and SMS user notification templates. Must be alphanumeric, up to 25 characters, and contain no spaces.
{ "id": "string", "identity": { "type": "CONSUMER", "id": "string" }, "name": "string", "surname": "string", "email": "user@example.com", "mobile": { "countryCode": "stri", "number": "string" }, "active": true, "dateOfBirth": { "year": 1900, "month": 1, "day": 1 }, "tag": "string", "countryOfResidence": "st", "locale": "en-GB", "brand": "string", "roles": [ "CARD_ASSIGNEE" ] }