Retrieves the user identified by the user_id path parameter.
Required user role: ADMIN
Security
apiKey and authToken
- Sandboxhttps://sandbox.weavr.io/payment-run/v1/users/{user_id}
- Mock serverhttps://api.weavr.io/_mock/products/payment-run/openapi/v1/users/{user_id}
curl -i -X GET \
https://sandbox.weavr.io/payment-run/v1/users/110747174434373672 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'api-key: YOUR_API_KEY_HERE'Success
The state of the user. If the active attribute is false, then the user will not be able to log in.
Roles define the level of access assigned to the user.
CREATOR: Users assigned this role can create, view and update payment runs.CONTROLLER: Users assigned this role can view and link their company's bank accounts as well as fund payment runs.
Items Enum:"CREATOR""CONTROLLER"
Response
{ "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": [ … ], "userId": "string" } }