Corporate and Consumer identities can invite authorised users to access their account. Once on-boarded, authorised users can create and manage instruments and transactions on behalf of the identity they are on-boarded with.
In case of Corporate Identities, authorised users are typically employees who have access to company's banking products such as cards and bank accounts.
In case of Consumer Identities, authorised users are typically children/teens whose parents want them to have access to banking products such as cards and bank accounts.
Note that /users
endpoints are to be used only for performing operations related to authorised users - getting or updating the details of root users is to be done via the respective /consumers
or /corporates
endpoints.
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. After 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
Success
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "tag": "string"
}
{- "id": "string",
- "identity": {
- "type": "CONSUMER",
- "id": "string"
}, - "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "tag": "string"
}
Fetches all authorised users associated with the corporate or consumer identity the logged-in user belongs to.
Success
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "users": [
- {
- "id": "string",
- "identity": {
- "type": "CONSUMER",
- "id": "string"
}, - "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "tag": "string"
}
], - "count": 0,
- "responseCount": 0
}
Retrieves the user identified by the user_id
path parameter.
Success
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "id": "string",
- "identity": {
- "type": "CONSUMER",
- "id": "string"
}, - "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "tag": "string"
}
Update the details of a user identified by the user_id
in the the path parameter.
Only the fields that are specified in the request body will be updated. All other fields will remain unchanged.
When patching a mobile number, the new mobile number should be enrolled for Additional Factors.
Success
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "tag": "string"
}
{- "id": "string",
- "identity": {
- "type": "CONSUMER",
- "id": "string"
}, - "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "tag": "string"
}
Activate the user identified by the user_id
path parameter.
By default, any new users created will be automatically activated. This operation needs to be used only if the user was previously de-activated using the userDeactivate operation, or if the user was de-activated automatically after multiple incorrect login attempts.
Success - No Content.
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "message": "string",
- "syntaxErrors": {
- "invalidFields": [
- {
- "params": [
- "string"
], - "fieldName": "string",
- "error": "REQUIRED"
}
]
}
}
De-activate the user identified by the user_id
path parameter.
Deactivated users cannot log in or execute any operations with their credentials.
This operations is not final and a user can be re-activated using the userActivate operation. Note that another active user would need to log in so as to re-activate the de-activated user.
Success - No Content.
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "message": "string",
- "syntaxErrors": {
- "invalidFields": [
- {
- "params": [
- "string"
], - "fieldName": "string",
- "error": "REQUIRED"
}
]
}
}
Once a user is created using the userCreate operation, the user needs to setup his/her password.
An invitation needs to be sent to the user in order to be able to set up the password for the first time. The invitation email, which remains valid for 1 month, will contain a URL having all information required to setup the password via the userInviteConsume.
Success - No Content.
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "message": "string",
- "syntaxErrors": {
- "invalidFields": [
- {
- "params": [
- "string"
], - "fieldName": "string",
- "error": "REQUIRED"
}
]
}
}
Check if a user's invite is still valid. This operation is useful to avoid having the user fill in a form only to be held by a validation issue (eg. expired invite).
Success - No Content.
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "inviteCode": "string"
}
{- "message": "string",
- "syntaxErrors": {
- "invalidFields": [
- {
- "params": [
- "string"
], - "fieldName": "string",
- "error": "REQUIRED"
}
]
}
}
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".
Success
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested token couldn't be found.
Conflict
Gone - The requested token is expired.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "inviteCode": "string",
- "password": {
- "value": "pa$$word"
}
}
{- "token": "string"
}
Perform the kyc for a corporate user.
Success
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "reference": "string"
}