AuthorizedUser
Dashboard user authorized to access a MONEI merchant account. The same email may appear on multiple accounts with different roles.
type AuthorizedUser {
userEmail: String!
id: ID!
accessLevel: AuthorizedUserAccessLevel!
roles: [String!]
storeId: ID
pointOfSaleId: ID
status: AuthorizedUserStatus!
lastLoginAt: String
createdAt: String
updatedAt: String
}
Fields
AuthorizedUser.userEmail ● String! non-null scalar
User's email address. Identifies the user within an account.
AuthorizedUser.id ● ID! non-null scalar
User ID.
AuthorizedUser.accessLevel ● AuthorizedUserAccessLevel! non-null enum
Permission level on this account. With roles, the highest level the roles contain: ADMIN_ACCESS for admin_access, WRITE_ACCESS for write_access, else READ_ACCESS.
AuthorizedUser.roles ● [String!] list scalar
Roles on this account, any of admin_access, write_access, read_access, cashier_access (creates payments and payment requests; no refund, capture or cancel) or finance_access (read access plus settlements, invoices and exports). The user holds the permissions of every role. null when no roles were set for the user: the user then holds the role of accessLevel (ADMIN_ACCESS is admin_access, WRITE_ACCESS is write_access, READ_ACCESS is read_access).
AuthorizedUser.storeId ● ID scalar
Restrict the user to a single store. When set, the user only sees data for that store.
AuthorizedUser.pointOfSaleId ● ID scalar
Restrict the user to a single point of sale. When set, the user only sees data for that POS.
AuthorizedUser.status ● AuthorizedUserStatus! non-null enum
Lifecycle status of the user's account.
AuthorizedUser.lastLoginAt ● String scalar
Last sign-in timestamp in ISO 8601 format.
AuthorizedUser.createdAt ● String scalar
Creation timestamp in ISO 8601 format.
AuthorizedUser.updatedAt ● String scalar
Update timestamp in ISO 8601 format.
Returned By
createAuthorizedUser mutation ● updateAuthorizedUser mutation
Member Of
AuthorizedUsersConnection object