Buyers can invite authorised users to access their account. Once on-boarded, authorised users can transact on behalf of the identity they are on-boarded with.
Authorised users are typically employees who have access to company's banking accounts.
Note that /users
endpoints are to be used only for performing operations related to authorised users - getting or updating the details of admin users is to be done via /buyers
endpoints.
Creates a user that belongs to the buyer that the logged-in user belongs to. To Create an Authorised User you would need a stepped-up token. After calling this endpoint you need to step-up ( issue a challenge /stepup/challenges/otp/{channel}
). More details on how to step-up a token can be found here Step-Up.
Once on-boarded, users have access and manage the buyer's payment runs.
Users are assigned roles
which limit the level of access they have and what they can do on behalf of the buyer.
Required user roles: ADMIN
OR USER MANAGER
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.
Conflict
Content Too Large
Unprocessable Entity
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
}, - "roles": [
- "CREATOR"
]
}
{- "id": "string",
- "buyerId": "string",
- "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "roles": [
- "CREATOR"
], - "addedBy": {
- "rolesNames": [
- "ADMIN"
], - "userId": "string"
}
}
Fetches all authorised users associated with the buyer that the logged-in user belongs to.
Required user roles: ADMIN
OR USER MANAGER
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.
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",
- "buyerId": "string",
- "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "roles": [
- "CREATOR"
], - "addedBy": {
- "rolesNames": [
- "ADMIN"
], - "userId": "string"
}
}
], - "count": 0,
- "responseCount": 0
}
Retrieves the user identified by the user_id
path parameter.
Required user roles: ADMIN
OR USER MANAGER
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",
- "buyerId": "string",
- "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "roles": [
- "CREATOR"
], - "addedBy": {
- "rolesNames": [
- "ADMIN"
], - "userId": "string"
}
}
Update the details of a user identified by the user_id in the the path parameter. After calling this endpoint you need to step-up ( issue a challenge /stepup/challenges/otp/{channel} ). More details on how to step-up a token can be found here Step-Up..
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.
Required user roles: ADMIN
OR USER MANAGER
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
}, - "roles": [
- "CREATOR"
]
}
{- "id": "string",
- "buyerId": "string",
- "name": "string",
- "surname": "string",
- "email": "user@example.com",
- "mobile": {
- "countryCode": "string",
- "number": "string"
}, - "active": true,
- "dateOfBirth": {
- "year": 1900,
- "month": 1,
- "day": 1
}, - "roles": [
- "CREATOR"
], - "addedBy": {
- "rolesNames": [
- "ADMIN"
], - "userId": "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.
Required user roles: ADMIN
OR USER MANAGER
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
Content Too Large
Unprocessable Entity
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.
Required user roles: ADMIN
OR USER MANAGER
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
Content Too Large
Unprocessable Entity
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.
Required user roles: ADMIN
OR USER MANAGER
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
Content Too Large
Unprocessable Entity
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
Content Too Large
Unprocessable Entity
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 previously 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 resource couldn't be found.
Conflict
Content Too Large
Unprocessable Entity
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"
}