{ "member": { "aggregated_at": "2016-10-13T18:07:57.000Z", "background_aggregation_is_disabled": false, "connection_status": "CONNECTED", "connection_status_message": "Connected to MX Bank", "error": { "error_type": "MEMBER", "error_code": "NO_VERIFIABLE_ACCOUNTS", "error_message": "This Member has no eligible checking, savings, or money market accounts.", "user_message": "We couldn't find any accounts eligible for transfers. Please link a checking or savings account.", "locale": "en" }, "guid": "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b", "id": "unique_id", "institution_code": "mxbank", "institution_guid": "INS-12345678-90ab-cdef-1234-567890abcdef", "is_being_aggregated": false, "is_managed_by_user": false, "is_manual": false, "is_oauth": false, "metadata": "\\\"credentials_last_refreshed_at\\\": \\\"2015-10-15\\", "most_recent_job_detail_code": null, "most_recent_job_detail_text": null, "most_recent_job_guid": "JOB-12345678-90ab-cdef-1234-567890abcdef", "name": "MX Bank", "needs_updated_credentials": false, "oauth_window_uri": "https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2", "successfully_aggregated_at": "2016-10-13T17:57:38.000Z", "use_cases": [ "PFM" ], "user_guid": "USR-fa7537f3-48aa-a683-a02a-b18940482f54", "user_id": "u-1234" }}
Members
Aggregate Account Balances
This endpoint operates much like the aggregate member endpoint except that it gathers only account balance information; it does not gather any transaction data.
{ "member": { "aggregated_at": "2016-10-13T18:07:57.000Z", "background_aggregation_is_disabled": false, "connection_status": "CONNECTED", "connection_status_message": "Connected to MX Bank", "error": { "error_type": "MEMBER", "error_code": "NO_VERIFIABLE_ACCOUNTS", "error_message": "This Member has no eligible checking, savings, or money market accounts.", "user_message": "We couldn't find any accounts eligible for transfers. Please link a checking or savings account.", "locale": "en" }, "guid": "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b", "id": "unique_id", "institution_code": "mxbank", "institution_guid": "INS-12345678-90ab-cdef-1234-567890abcdef", "is_being_aggregated": false, "is_managed_by_user": false, "is_manual": false, "is_oauth": false, "metadata": "\\\"credentials_last_refreshed_at\\\": \\\"2015-10-15\\", "most_recent_job_detail_code": null, "most_recent_job_detail_text": null, "most_recent_job_guid": "JOB-12345678-90ab-cdef-1234-567890abcdef", "name": "MX Bank", "needs_updated_credentials": false, "oauth_window_uri": "https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2", "successfully_aggregated_at": "2016-10-13T17:57:38.000Z", "use_cases": [ "PFM" ], "user_guid": "USR-fa7537f3-48aa-a683-a02a-b18940482f54", "user_id": "u-1234" }}
Authorizations
Authorization
string
header
required
To authenticate with the Platform API, include your Base64-encoded client_id and api_key in the Authorization header of every request:
-H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}'
The date and time the most recent aggregation-type job was started, given in ISO 8601 format with a time component.
A job will automatically be started when a member is created or its credentials are updated, unless the skip_aggregation parameter is used.
Jobs can also be started via manual aggregations, background aggregations, API endpoints, or when opening an MX widget.
A job can be a normal aggregation, or a premium job such as identification, verification, fetching statements, or fetching an extended transaction history.
If a member is deleted and then re-created with the skip_aggregation parameter set to true or if it is re-created within the throttle window (typically three hours), the previous value will be returned.
Example:
"2016-10-13T18:07:57.000Z"
member.background_aggregation_is_disabled
boolean
Indicates whether background aggregation is disabled for the member.
Details about why the member's most recent aggregation failed. This is null unless the aggregation failed for one of the reasons in Member Connection Errors.
Hide child attributes
member.error.error_type
string
The category of the error.
Example:
"MEMBER"
member.error.error_code
string
The code that identifies the error.
Example:
"NO_VERIFIABLE_ACCOUNTS"
member.error.error_message
string
A description of the error for logging and troubleshooting.
Example:
"This Member has no eligible checking, savings, or money market accounts."
member.error.user_message
string
A message you can display to the end user.
Example:
"We couldn't find any accounts eligible for transfers. Please link a checking or savings account."
member.error.locale
string
The language of error_message and user_message, such as en, es, or fr.
Example:
"en"
member.guid
string | null
The unique identifier for the member. Defined by MX.
Example:
"MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"
member.id
string | null
The unique partner-defined identifier for the member.
Example:
"unique_id"
member.institution_code
string | null
The code identifying a financial institution.
Example:
"mxbank"
member.institution_guid
string
The unique identifier for the institution. Defined by MX.
Example:
"INS-12345678-90ab-cdef-1234-567890abcdef"
member.is_being_aggregated
boolean | null
Indicates whether the member was being aggregated at the time of the request.
Example:
false
member.is_managed_by_user
boolean | null
Indicates whether the member is managed by the user or the MX partner. Members created with the managed member feature will have this field set to false.
Example:
false
member.is_manual
boolean | null
Indicates whether the transaction was manually created or belongs to a manual account.
Example:
false
member.is_oauth
boolean | null
Indicates whether the member uses OAuth to authenticate. Defaults to false.
Example:
false
member.metadata
string | null
Additional information you stored about the member.
(Deprecated) This field is no longer used and will be removed at a future date.
Example:
null
member.most_recent_job_detail_text
boolean | null
(Deprecated) This field is no longer used and will be removed at a future date.
Example:
null
member.most_recent_job_guid
string | null
The unique identifier for the most recent job. Defined by MX.
Example:
"JOB-12345678-90ab-cdef-1234-567890abcdef"
member.name
string | null
The name of the member.
Example:
"MX Bank"
member.needs_updated_credentials
boolean | null
Internal field used by MX in some circumstances. When set to true, MX will not attempt to aggregate the member. It will be set to false automatically when the member's credentials are updated.
Example:
false
member.oauth_window_uri
string | null
When connecting a member using OAuth, this field will contain the URL to send the user to in order to authenticate, otherwise it will be blank.
The date and time when the member was last successfully aggregated, represented in ISO 8601 format with a timestamp.
Example:
"2016-10-13T17:57:38.000Z"
member.use_cases
enum<string>[]
The use case associated with the member. Valid values are PFM and/or MONEY_MOVEMENT. Only set this if you've met with MX and have opted in to using this field.
Available options:
MONEY_MOVEMENT,
PFM
Example:
["PFM"]
member.user_guid
string | null
The unique identifier for the user. Defined by MX.
Example:
"USR-fa7537f3-48aa-a683-a02a-b18940482f54"
member.user_id
string | null
The unique partner-defined identifier for the user.