Create member
This endpoint allows you to create a new member using the required parameters institution_code, credentials (if creating a non-OAuth member), and data_request.products. When creating a non-OAuth member, 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. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data. A status of 200 indicates the member was created successfully, and no aggregation was requested. A status of 201 indicates the member was created, but a product within data_request failed to aggregate. A status of 202 indicates the member was successfully created, and standard aggregation (no data_request) was requested (does not indicate success or failure).
Path Parameters
| Field | Required | Type |
|---|---|---|
user_identifier Use either the user | Required | String |
Header Parameters
| Field | Required | Type |
|---|---|---|
Accept-Version MX Platform API version. | Required | String |
X-CALLBACK-PAYLOAD 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. | Optional | String |
Request Body
Member object to be created
| Field | Required | Type |
|---|---|---|
client_redirect_url This determines the redirect destination at the end of OAuth when used with | Optional | String |
data_request Contains a products array that specifies the products you want to aggregate. | Optional | Object |
enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to | Optional | Boolean |
member | Optional | Object |
referral_source | Optional | String |
ui_message_webview_url_scheme A client-defined scheme used in OAuth redirects in WebViews. Defaults to | Optional | String |