{ "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": "INST-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": "user123" }}
Members
Update member
Use this endpoint to update a members attributes. Only the credentials, id, and metadata parameters can be updated. To get a list of the required credentials for the member, use the list member credentials endpoint.
{ "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": "INST-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": "user123" }}
Authorizations
Authorization
string
header
required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
X-CALLBACK-PAYLOAD
string
The base64 encoded string defined in this header will be returned in the Member and Member Data Updated webhooks. This allows you to trace user interactions and workflows initiated externally and internally in the MX Platform. Max 1024 characters.
Path Parameters
member_guid
string
required
The unique id for a member.
user_guid
string
required
The unique identifier for a user, beginning with the prefix USR-.
Body
application/json
Member object to be updated (While no single parameter is required, the request body can't be empty)
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"]
Response
200 - application/vnd.mx.api.v1+json
OK
member
object
Hide child attributes
member.aggregated_at
string | null
Example:
"2016-10-13T18:07:57.000Z"
member.background_aggregation_is_disabled
boolean
Example:
false
member.connection_status
string | null
Example:
"CONNECTED"
member.connection_status_message
string | null
Example:
"Connected to MX Bank"
member.error
object | null
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.
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.