Account members
Retrieve the members of your client account
The read-only members query returns a list of registered users for your client account, including their contact details, roles, access controls, and account status. This provides a programmatic way to retrieve the list of your account users and their information, which can otherwise be obtained via the Flash Connect portal.
The output is always limited to your client account, meaning you can only see your own members.
Query all members
const bodyJSON = {
variables: {
input: {
},
},
query: `
query ($input: MembersQueryInput) {
members(input: $input) {
id firstName middleName lastName dob email mobile
address {
building streetNo street suburb state postcode country
}
status roles access isPrimaryContact
}
}`,
};query ($input: MembersQueryInput) {
members(input: $input) {
id
firstName
middleName
lastName
dob
email
mobile
address {
building
streetNo
street
suburb
state
postcode
country
}
status
roles
access
isPrimaryContact
}
}Filtering members
MembersQueryInput accepts three optional list filters: status, roles and access. Omit a field to leave it unfiltered. A member matches a list filter if it has at least one of the listed values.
Member statuses
ACTIVE
Fully verified and able to log in and transact.
REGISTERING
Has started registration but not finished it yet.
PASSWORD_REQUIRED
Created without a password and must set one before logging in.
UNAPPROVED
Has finished registration and is waiting to be verified.
SUSPENDED
Cannot log in or transact. Covers accounts that are inactive, locked, failed verification or deleted.
Member roles
The roles are descriptive and identify a member’s position within the client organisation. They do not, by themselves, grant access (access is regulated by the access controls below). One member can hold several roles.
director
A director of the company.
partner
A partner of the partnership.
secretary
A company secretary.
beneficiary
A beneficial owner of the client.
treasurer
Manages the client's funds and finances.
engineer
A technical contact, e.g. someone integrating with this API.
support
A support contact for day-to-day queries.
compliance
A compliance contact for the client.
Member access
The Access Control Levels (ACLs) define what a member is permitted to do on the account. A member can hold several ACLs.
admin
Full administrative control, including managing other members.
transact
Create and send payments and conversions.
login
Log in to the account.
api
Authenticate and use this API on behalf of the client.
correspondence
Receive account correspondence and notifications.
approve
Approve payments that require a second authorisation.
compliance
Access compliance-related information and tasks.
Last updated
Was this helpful?