Consumes an invitation perviously sent to the user via userInviteSend. This is needed so that the invited user sets up the password.
Note that on the Sandbox Environment, the inviteCode is always set to "123456".
Security
api-key
The user's password or passcode used to log in a user. Passwords must be:
- minimum 8 characters for end-users (Consumers and Corporates); 12 characters for others
- maximum 30 characters
- include a lowercase character
- include an uppercase character
- include a digit and a special character
- different from any of the 5 last such passwords used.
For non-PCI compliant integrations, the password submitted must be tokenised.
- Weavr Sandbox Environmenthttps://sandbox.weavr.io/multi/users/{user_id}/invite/consume
- Mock serverhttps://api.weavr.io/_mock/products/multi/openapi/users/{user_id}/invite/consume
curl -i -X POST \
'https://sandbox.weavr.io/multi/users/{user_id}/invite/consume' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-H 'idempotency-ref: string' \
-d '{
"inviteCode": "string",
"password": {
"value": "pa$$word"
},
"mobile": {
"countryCode": "stri",
"number": "string"
}
}'Response
{ "token": "string" }