> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Members Overview

> Members represent the connection between an end user and a financial institution.

> [!NOTE]
>
> For field names, types, and descriptions, see the response schema on each endpoint page, such as [Read Member](https://docs.mx.com/api-reference/platform-api/v20260929/reference/members/read-member.md), [Read Member Status](https://docs.mx.com/api-reference/platform-api/v20260929/reference/members/read-member-status.md), and [List Members](https://docs.mx.com/api-reference/platform-api/v20260929/reference/members/list-members.md).

This institution may represent your institution or another one from which MX is aggregating data.

## Member Accounts

A member can have multiple accounts. For instance, an end user might have both a savings account and a checking account at Wells Fargo. In this case, two separate `account` objects will exist on the MX platform, both associated with a single member representing the Wells Fargo connection.

Every account belongs to exactly one member.

## Member Creation

Members can be created by you when using our API or by end users when using the Connect Widget.

> [!NOTE]
>
> Duplicate members aren't allowed on the MX platform. A duplicate member is when a user attempts to connect to an institution they're already connected to using the same credentials.

## Member use cases

> [!NOTE]
>
> You must work with MX to enable this feature.

Set the `use_cases` field so each `member` is associated with a `use_case` of `PFM` or `MONEY_MOVEMENT`. This lets you:

* Return only the data associated with the `use_case` for each `member`.
* Filter a user's data by a single `use_case`, even if MX has data for other use cases.

Once use cases are enabled, a `member` must have its `use_case` set to `PFM` to aggregate transaction data. MX's Personal Finance Management and Financial Insights products show data only for these members.

Members with `use_case` set to `MONEY_MOVEMENT` don't aggregate transaction data.

Learn how use cases affect the Connect Widget in [Member use cases in the Connect Widget](https://docs.mx.com/connect.md#member-use-cases).

To show only members with the `use_cases` set in the same request, set `connections_use_case_filter` to `true` in the Connections Widget. For examples, see [Filter Connections](https://docs.mx.com/products/experience/pfm/widget-overviews/connections-widget.md#example-1).

### Required actions

MX enables this feature for you. For existing integrations, MX also backfills the `use_cases` field on your existing members.

Set `use_cases` to `PFM`, `MONEY_MOVEMENT`, or both on each of these requests:

* Request Widget URL requests with a `widget_type` of `connect_widget` or `connections_widget`.
* All [Create Member](https://docs.mx.com/api-reference/platform-api/v20260929/reference/members/create-member.md) requests.
* All [Update Member](https://docs.mx.com/api-reference/platform-api/v20260929/reference/members/update-member.md) requests. Use Update Member to add, change, or remove a `use_case`, but every `member` must keep at least one.

To aggregate transactions for a `member`, the `member` must have `use_case` set to `PFM`. Otherwise, the request returns 403 Forbidden.

### Filter by use case

The List Members, List Accounts, and List Transactions endpoints accept a `use_case` query parameter set to `PFM` or `MONEY_MOVEMENT`. For example:

```text theme={null}
GET /users/{user_guid}/members?use_case=PFM
```

See each endpoint's page for details.

## Member Aggregation

Aggregation is the process of gathering data for a member from its associated institution. To gather data from an institution, the user must authenticate with the institution using one of the following authentication methods:

* **OAuth**: The end user connects to an institution using OAuth. They must be present until the OAuth connection completes.
* **Credentials**: The end user connects to an institution using their credentials for that institution.

Some institutions exclusively support OAuth, while others may not support it at all. Each institution has a `supports_oauth` field.

The `member_status.status` of a `member` reflects the state of aggregation with a specific institution.

For a detailed explanation of possible statuses, their meanings, and recommended actions, see [Member Connection Statuses](https://docs.mx.com/api-reference/platform-api/v20260929/reference/members#member-connection-statuses).

## Member Connection Statuses

The `connection_status` indicates the state of a `member`'s aggregation, meaning the state of a `user` connecting to a particular `institution`.

The `connection_status` field indicates the current state of an aggregation, meaning the state of a `user` connecting to a particular `institution`. For instance:

* `CREATED` means the member has just been created.
* `CHALLENGED` means the process has run into multifactor authentication.
* `FAILED` means the process was unsuccessful.

The connection statuses `CREATED`, `UPDATED`, `DELAYED`, and `RESUMED` represent transient states for different points in the process and don't require a specific action or end-user input. They may, however, require you to keep making `read` requests on the member until an actionable status or an end state appears.

The connection statuses `PREVENTED`, `DENIED`, `IMPEDED`, `IMPAIRED`, `REJECTED`, `EXPIRED`, `LOCKED`, `IMPORTED`, `DISABLED`, `DISCONTINUED`, and `CLOSED` represent end states that require you to start a new connection, and possibly end-user input, for future success.

Here are all the `member` statuses you might encounter, what they mean, and what to do about them.

| Integer Value | Status | Definition | Next Steps | End-User Message |
| :- | :- | :- | :- | :- |
| null | `null` | The member exists but does not have credentials. A member that does not aggregate (e.g., a manual member) will always have this status. | None. | None. |
| 0 | `CREATED` | The member is new and has not yet been aggregated. | Aggregate the member once the end user logs in; poll for a status update. | **Connecting to \[...] ...** |
| 1 | `PREVENTED` | The end user's entered credentials have failed to connect three times in a row. MX has locked the account to avoid locking the end user out of their account on the financial institution's website. The end user must reenter their username and password to continue updating their data. | Display end-user message; after end user has updated their credentials, aggregate again. | **The last 3 attempts to connect have failed. Please re-enter your credentials to continue importing data.** |
| 2 | `DENIED` | The credentials provided for the member were invalid. | Display end-user message; after end user has updated their credentials, aggregate again. | **The credentials entered do not match your credentials at this institution. Please re-enter your credentials to continue importing data.** |
| 3 | `CHALLENGED` | The connection is waiting for the end user to complete a multifactor authentication (MFA) challenge. This is not an error and will change to an `EXPIRED` status if the end user fails to complete MFA. | Display end-user message; follow MFA pathway; after the user answers MFA, poll for a status update. | **To authenticate your connection to \[...], please answer the following challenge(s).** |
| 4 | `REJECTED` | An MFA challenge was answered incorrectly. | Display end-user message; another challenge may follow or aggregation may need to be restarted. | **The answer or answers provided were incorrect. Please try again.** |
| 5 | `LOCKED` | The financial institution is preventing authentication. The end user must go to the FI's website or contact the financial institution. | Display end-user message. | **Your account is locked. Please log in to the appropriate website for \[...] and follow the steps to resolve the issue.** |
| 6 | `CONNECTED` | The member was successfully authenticated and data is now aggregating. | Display the account as having been connected. | **Connected to \[...] ...** |
| 7 | `IMPEDED` | The end user’s attention is required at their online banking institution, e.g., there is a marketing message that must be viewed, terms and conditions that must be accepted, etc. | Display end-user message. | **Your attention is needed at this institution's website. Please log in to the appropriate website for \[...] and follow the steps to resolve the issue.** |
| 8 | `RECONNECTED` | The member has been migrated to a new data source and aggregation is likely to trigger one-time password MFA. MX will not perform background aggregation in order to avoid unnecessarily disruptive texts, emails, etc. The member must be re-aggregated in the foreground with the end user present. | Aggregate the member once the end user logs in; poll for a status update. | **Reconnecting to \[...] ...** |
| 9 | `DEGRADED` | Aggregation has failed at least three times within a short period of time. This could be due to website maintenance or other factors that are preventing account aggregation. | Display end-user message. | **We are upgrading this connection. Please try again later.** |
| 10 | `DISCONNECTED` | Aggregation has failed at least three times and has not succeeded for at least two weeks. | Display end-user message. | **It looks like your data from \[...] cannot be imported. We are working to resolve the issue.** |
| 11 | `DISCONTINUED` | The connection to this financial institution is no longer available. | Display end-user message. | **Connections to this institution are no longer supported. You may create a manual account and use manual transactions to track data for this account.** |
| 12 | `CLOSED` | The end user, MX, the client, or a partner has marked the member as closed. | Display end-user message. | **This connection has been closed. You may track this account manually. If reopened, you may connect the institution again.** |
| 13 | `DELAYED` | Aggregating the member has taken longer than expected and it has not yet been connected. This can be due to reasons outside of MX's control, such as internet bandwidth, problems at the financial institution's website, and other factors. | Display end-user message; poll for a status update. | **Importing your data from \[...] may take a while. Please check back later.** |
| 14 | `FAILED` | Aggregation failed without being connected. Most aggregation issues are temporary and self-resolve after 24 hours. | Display end-user message; try aggregating again later. | **There was a problem validating your credentials with \[...]. Please try again later.** |
| 15 | `UPDATED` | The member has been updated — i.e., credentials have been updated — but it has not yet been connected. | Aggregate the member once the end user logs in; poll for a status update. | **Connecting to \[...] ...** |
| 16 | `DISABLED` | Aggregation has been momentarily paused, but the member is still connected. | Display end-user message. | **Importing data from this institution has been disabled. Please contact us if you believe it has been disabled in error.** |
| 17 | `IMPORTED` | MX does not have credentials and will not try to aggregate the member until the end user provides credentials. | Display end-user message; re-aggregate after the end user updates credentials. | **You must re-authenticate before your data can be imported. Please enter your credentials for \[...].** |
| 18 | `RESUMED` | The answer to an MFA challenge was received, but it is not yet clear whether it was correct. | Poll for a status update. | **Connecting to \[...] ...** |
| 19 | `EXPIRED` | The MFA answer was not provided within the time allotted by the financial institution. | Display end-user message; re-aggregate the member if the end user initiates it. | **The answer or answers were not provided in time. Please try again.** |
| 20 | `IMPAIRED` | The member is missing some or all credentials needed in order to connect. | Display end-user message; re-aggregate after the end user updates credentials. | **You must re-authenticate before your data can be imported. Please enter your credentials for \[...].** |
| 21 | `PENDING` | The member is using OAuth to authenticate credentials and still needs to go through the financial institution's OAuth process. A `PENDING` status will appear only on members less than one hour old with `is_oauth: true`. Members that stay `PENDING` longer than one hour will be deleted by MX. | Redirect the end user to the `oauth_window_uri` provided in the create member response, or request one through the generate OAuth window URI endpoint. | None. |

## Institution Blocking Errors

Blocked requests return the [error object](https://docs.mx.com/api-reference/platform-api/v20260929/overview/errors.md#error-object) used for failed requests.

Create Member, Update Member, and account verification requests can be rejected before they start because of the institution's status or the institution's status for your client. A blocked request returns `422 Unprocessable Entity` with an `error.type` of `unprocessable_entity_error`, and the request isn't processed. The `error.message` is written so you can display it to the end user.

| Scenario | Blocked Requests | `error.message` |
| :- | :- | :- |
| The institution is undergoing maintenance (`MAINTENANCE`). | Create Member, Update Member when you update credentials, and account verification | This institution is temporarily unavailable due to scheduled system maintenance. Access will resume once maintenance is complete. Please try again later. |
| The institution is unavailable (`UNAVAILABLE`). | Create Member, Update Member when you update credentials, and account verification | This institution is experiencing technical issues that are preventing successful connections. It's unclear when this will be resolved. |
| The institution's data isn't available for your client (`PREVENT_ALL`). | Create Member, Update Member, and account verification | The requested data isn't available through this institution. |
| New connections aren't available for your client (`PREVENT_NEW`). | Create Member and Update Member | This institution is not available for connection. |
| The institution isn't available for your client (`PREVENT_ALL_AND_DISCONNECT`). | Create Member and Update Member | This institution is not available for connection. |
| The institution isn't available for your client (`PREVENT_ALL_AND_DISCONNECT`). | Account verification | The requested data isn't available through this institution. |
| Account verification isn't available for your client (`PREVENT_VERIFICATION`). | Account verification, and Create Member when `data_request.products` includes `account_verification` | The requested data isn't available through this connection. |

These checks use the institution's status at the time of the request. If MX discovers that the institution is unavailable while aggregating the member, the request isn't blocked. Instead, the member's `error` field returns a code such as `INSTITUTION_MAINTENANCE` or `INSTITUTION_UNAVAILABLE`. See [Member Connection Error Codes](#member-connection-error-codes).

## Member Connection Errors

When a member's most recent aggregation fails, Read Member and Read Member Status include an `error` field in the `member_status` object. For the `error` object returned when a request fails, see [Errors](https://docs.mx.com/api-reference/platform-api/v20260929/overview/errors.md).

The member's `error` field is different from the `error` object returned when a request fails. A failed request returns a `4xx` or `5xx` HTTP status with a top-level `error` object that has `message`, `status`, and `type` fields. The member's `error` field is returned in a successful response and explains why the member's most recent aggregation didn't succeed.

The `error` field is `null` unless the most recent aggregation failed for one of the reasons in [Member Connection Error Codes](#member-connection-error-codes). Keep using the member's connection status to decide what to do next, as described in [Member Connection Statuses](#member-connection-statuses). When `error` is present, use it for the specific reason and a message you can show the end user.

### Member Error Fields

| Field | Data Type | Description |
| :- | :- | :- |
| `error_type` | String | The category of the error, such as `MEMBER`. |
| `error_code` | String | The code that identifies the error. See [Member Connection Error Codes](#member-connection-error-codes). |
| `error_message` | String | A description of the error for logging and troubleshooting. |
| `user_message` | String | A message you can display to the end user. |
| `locale` | String | The language of `error_message` and `user_message`, such as `en`, `es`, or `fr`. |

### Member Connection Error Codes

The following error codes can be returned when aggregating a member.

| Error Code | Description | End-User Message | Next Steps |
| :- | :- | :- | :- |
| `NO_VERIFIABLE_ACCOUNTS` | Authentication succeeded, but no eligible checking, savings, or money market accounts were found. | We couldn't find any accounts eligible for transfers. Please link a checking or savings account. | Ask the end user to connect an institution where they have an eligible checking or savings account. |
| `NO_ACCOUNTS` | Authentication succeeded, but the institution didn't return any active or eligible accounts, for example because accounts are closed or access was revoked. | This may be due to closed accounts, revoked access, or a connection issue. Please try again later or connect a different institution. | Ask the end user to check their account status with the institution or connect a different institution. |
| `ACCESS_DENIED` | The end user didn't grant the account permissions required during OAuth authorization. | We can't access your accounts because some required permissions weren't granted. | Have the end user reauthorize the OAuth connection and grant all requested permissions. |
| `INCORRECT_OTP` | The one-time password (OTP) was incorrect or expired. | Your code was incorrect or expired. Select an option to receive a new code. | Have the end user request a new one-time password and enter it. |
| `INCORRECT_MFA` | The answer to a multifactor authentication (MFA) challenge was incorrect. | Your answer was incorrect or didn't go through. Please try again. | Have the end user answer the challenge again or choose a different MFA method, if available. |
| `MFA_TIMEOUT` | The end user didn't answer the MFA or OTP challenge in the time allowed. | We didn't receive your response in time. Please re-enter your answers. | Have the end user start the connection again and answer within the time allowed. |
| `REAUTHORIZATION_REQUIRED` | The OAuth authorization expired, was revoked, or is no longer valid. | Your connection expired or was revoked. Log in to reconnect. | Have the end user reauthorize the OAuth connection. |
| `INVALID_CREDENTIALS` | The credentials don't match the end user's credentials at the institution. | The credentials provided are incorrect. Please try again. | Have the end user re-enter their credentials for the institution. |
| `INSTITUTION_DOWN` | The institution is offline or not responding. | We're unable to connect to this institution right now. Please try again later. | Tell the end user the institution is unavailable and to try again later. |
| `INSTITUTION_MAINTENANCE` | The institution is undergoing scheduled or unscheduled maintenance. | The institution is temporarily unavailable due to maintenance. Please try again later. | Tell the end user to try again after the institution's maintenance is complete. |
| `INSTITUTION_UNAVAILABLE` | The institution is having intermittent technical issues or requests are timing out. | This institution isn't responding right now. Please try again later. | Tell the end user to try again later. |
| `REQUEST_FAILED` | Returned by Create Member with a `201 Created` status. The member was created, but MX couldn't start the requested `data_request` products. | We're having trouble connecting right now. Please try again later. | Request the products for the member again. |

### Localize Member Error Messages

Read Member and Read Member Status return `error_message` and `user_message` in the language set by the `Accept-Language` request header. Supported languages are English (`en`), Spanish (`es`), and French (`fr`). A regional variant uses its base language, so `fr-CA` returns French.

* If you send an unsupported language, messages are returned in English.
* If you don't send the header, messages are returned in the default locale configured for your client, or in English if no default is configured.

The `locale` field shows which language was returned.

### Handle Member Connection Errors

1. Check the member's connection status and follow the next steps in [Member Connection Statuses](#member-connection-statuses).
2. If `error` is present, display `user_message` to the end user.
3. Use `error_code` for application logic, such as starting OAuth reauthorization for `REAUTHORIZATION_REQUIRED` or prompting for new credentials for `INVALID_CREDENTIALS`.
4. Log `error_message` for troubleshooting.
