Create member
This endpoint allows you to create a new member. Members are created with the required parameters credentials and institution_code, and the optional parameters id and metadata. When creating a member, youll need to include the correct type of credential required by the financial institution and provided by the user. You can find out which credential type is required with the /institutions/{institution_code}/credentials endpoint. If successful, the MX Platform API will respond with the newly-created member object. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data for accounts and transactions.
Path parameters
The unique identifier for a user, beginning with the prefix USR-.
Headers
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.
Request body
Example request
{
"client_redirect_url": "https://{yoursite.com}",
"member": {
"credentials": [
{
"guid": "CRD-27d0edb8-1d50-5b90-bcbc-be270ca42b9f",
"value": "password"
}
],
"id": "unique_id",
"institution_code": "mxbank",
"metadata": "\\\"credentials_last_refreshed_at\\\": \\\"2015-10-15\\",
"use_cases": [
"PFM"
]
},
"referral_source": "APP"
}Response
OK