### Run Node.js Backend Source: https://docs.mx.com/connect/demo-app Commands to set up and run the Node.js backend for the MXquickconnect demo app. Installs dependencies and starts the server. ```bash cd mx-platform-node npm install npm start ``` -------------------------------- ### Member GUID Example Source: https://docs.mx.com/resources/webhooks/member This is an example of a member GUID structure. ```json { "user_guid": "USR-98bdfe3883-2b77-46f8-9e30-39f120e15bfe" } ``` -------------------------------- ### Setup Frontend Source: https://docs.mx.com/connect/demo-app Commands to set up and run the frontend for the MXquickconnect demo app. Requires Node.js and npm version 7 or higher. ```bash cd frontend npm install npm start ``` -------------------------------- ### List Transactions by Category GUID and Date (cURL) Source: https://docs.mx.com/api-reference/nexus/reference/list-transactions-by-category-and-date Use this cURL command to make a GET request to the transactions endpoint. Replace placeholders with your actual category GUID, start date, end date, and API key. The `Accept` header specifies the API version. ```curl curl -L -X GET 'https://int-data.moneydesktop.com/transactions/by_category_guid/:category_guid/by_date/:start_date/:end_date' \ -H 'Accept: application/vnd.mx.api.v1+json' \ -H 'MD-SESSION-TOKEN: ' ``` -------------------------------- ### Install Web Connect Widget SDK with npm Source: https://docs.mx.com/connect/guides/web-sdk Install the SDK using npm. This is the first step before integrating the widget into your web application. ```bash npm install @mxenabled/web-connect-widget-sdk ``` -------------------------------- ### Install Web Connect Widget SDK with yarn Source: https://docs.mx.com/connect/guides/web-sdk Install the SDK using yarn. This is an alternative to npm for package management. ```bash yarn add @mxenabled/web-connect-widget-sdk ``` -------------------------------- ### Read Deliverable Request (cURL) Source: https://docs.mx.com/api-reference/nexus/reference/read-deliverable Example of how to make a GET request to read a specific deliverable using cURL. Ensure you replace placeholder values with your actual API key and GUIDs. ```curl curl -L -X GET 'https://int-data.moneydesktop.com/notifications/:notification_guid/deliverables/:deliverable_guid' \ -H 'Accept: application/vnd.mx.nexus.v1+json' \ -H 'MD-SESSION-TOKEN: ' ``` -------------------------------- ### Read Spending Plan Iteration Response Source: https://docs.mx.com/other/spending-plan/reference/read-a-spending-plan-iteration This is a sample JSON response for a successful GET request to read a spending plan iteration. It includes details such as creation and update timestamps, start and end dates, and GUIDs for the iteration, spending plan, and user. ```json { "iteration": { "created_at": "2023-05-03T18:39:20Z", "updated_at": "2023-05-03T18:39:20Z", "end_on": "2023-05-31", "guid": "SPI-848e6648-3fa3-4632-ac8f-e65f03167102", "iteration_number": 1, "spending_plan_guid": "SPL-dbfe201d-c341-4bff-93c0-62a918d0b600", "start_on": "2023-05-01", "user_guid": "USR-72086f59-6684-4adf-8f29-c4d32db43cd7" } } ``` -------------------------------- ### Get User Notification Source: https://docs.mx.com/api-reference/platform-api/reference/read-notifications Fetches a specific notification for a user using their GUID and the notification's GUID. ```APIDOC ## GET /users/{user_guid}/notifications/{notification_guid} ### Description Retrieves a specific notification for a user. ### Method GET ### Endpoint /users/{user_guid}/notifications/{notification_guid} ### Parameters #### Path Parameters - **user_guid** (String) - Required - The unique identifier for a `user`, beginning with the prefix `USR-`. - **notification_guid** (String) - Required - The unique identifier for notifications. Defined by MX. #### Header Parameters - **Accept-Version** (String) - Required - MX Platform API version. ### Request Example ```curl curl -L -X GET 'https://int-api.mx.com/users/:user_guid/notifications/:notification_guid' \ -H 'Accept: application/json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` ### Response #### Success Response (200) - **notification** (Object) - Details of the notification. - **channel** (String) - The channel through which the notification was sent (e.g., EMAIL). - **content** (String) - The main body of the notification message. - **created_at** (String) - The timestamp when the notification was created. - **deep_link_guid** (String) - GUID for a deep link associated with the notification. - **delivered_at** (String) - The timestamp when the notification was delivered (null if not delivered). - **entity_guid** (String) - GUID of the entity related to the notification. - **guid** (String) - The unique identifier for the notification. - **has_been_delivered** (Boolean) - Indicates if the notification has been delivered. - **has_been_viewed** (Boolean) - Indicates if the notification has been viewed. - **notification_type** (Integer) - The type of the notification. - **subject** (String) - The subject line of the notification. - **threshold** (Number) - A threshold value associated with the notification. #### Response Example ```json { "notification": { "channel": "EMAIL", "content": "You're projected to spend $1,920.07 more than you've budgeted for Fees & Charges. You've already spent $325.67 of $716.00.", "created_at": "2025-02-13T18:08:00+00:00", "deep_link_guid": "BGT-e386a323-e452-47f2-b2fd-1ac3c18533de", "delivered_at": null, "entity_guid": "BGT-e386a323-e452-47f2-b2fd-1ac3c18533de", "guid": "NTF-b53294f5-2356-4782-9f81-ae064c42b40a", "has_been_delivered": true, "has_been_viewed": false, "notification_type": 2, "subject": "Your Fees & Charges budget projection", "threshold": 325 } } ``` ``` -------------------------------- ### Create Manual Account - Java Source: https://docs.mx.com/api-reference/platform-api/reference/create-manual-account This Java example uses Apache HttpClient to create a manual account. Ensure you have the necessary dependencies and correctly configure the request. ```java import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; import java.io.IOException; public class ManualAccountCreator { public static void main(String[] args) throws IOException { CloseableHttpClient client = HttpClients.createDefault(); HttpPost httpPost = new HttpPost("https://int-api.mx.com/users/:user_identifier/accounts"); String json = "{\"account\":{\"account_subtype\":\"CHECKING\",\"account_type\":\"CHECKING\",\"apr\":1,\"apy\":2.35,\"available_balance\":1000,\"balance\":1000,\"cash_surrender_value\":1000,\"credit_limit\":100,\"currency_code\":\"USD\",\"death_benefit\":1000,\"interest_rate\":3.25,\"is_business\":false,\"is_closed\":false,\"is_hidden\":false,\"loan_amount\":1000,\"metadata\":\"some metadata\",\"name\":\"Test account 2\",\"nickname\":\"Swiss Account\",\"original_balance\":10,\"property_type\":\"VEHICLE\",\"skip_webhook\":true}}"; StringEntity entity = new StringEntity(json); httpPost.setEntity(entity); httpPost.setHeader("Accept", "application/json"); httpPost.setHeader("Content-type", "application/json"); httpPost.setHeader("Authorization", "Basic BASE_64_ENCODING_OF{client_id:api_key}"); CloseableHttpResponse response = client.execute(httpPost); try { HttpEntity responseEntity = response.getEntity(); String responseString = EntityUtils.toString(responseEntity, "UTF-8"); System.out.println(responseString); EntityUtils.consume(responseEntity); } finally { response.close(); } } } ``` -------------------------------- ### Create Manual Account - Node.js Source: https://docs.mx.com/api-reference/platform-api/reference/create-manual-account This Node.js example shows how to create a manual account using the 'axios' library. Ensure your authentication token is correctly formatted. ```javascript const axios = require('axios'); const url = 'https://int-api.mx.com/users/:user_identifier/accounts'; const data = { "account": { "account_subtype": "CHECKING", "account_type": "CHECKING", "apr": 1, "apy": 2.35, "available_balance": 1000, "balance": 1000, "cash_surrender_value": 1000, "credit_limit": 100, "currency_code": "USD", "death_benefit": 1000, "interest_rate": 3.25, "is_business": false, "is_closed": false, "is_hidden": false, "loan_amount": 1000, "metadata": "some metadata", "name": "Test account 2", "nickname": "Swiss Account", "original_balance": 10, "property_type": "VEHICLE", "skip_webhook": true } }; const headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Basic BASE_64_ENCODING_OF{client_id:api_key}' }; axios.post(url, data, { headers }) .then(response => { console.log(response.data); }) .catch(error => { console.error(error); }); ``` -------------------------------- ### Get ACH Return by GUID Source: https://docs.mx.com/api-reference/platform-api/reference/read-ach-retrun Retrieves a specific ACH return using its unique identifier (GUID). ```APIDOC ## GET /ach_returns/{ach_return_guid} ### Description Use this endpoint to get an ACH return by its `guid` or `id`. ### Method GET ### Endpoint /ach_returns/{ach_return_guid} ### Parameters #### Path Parameters - **ach_return_guid** (String) - Required - The unique identifier (`guid`) for the ACH return. Defined by MX. ### Request Example ```curl curl -L -X GET 'https://int-api.mx.com/ach_returns/:ach_return_guid' \ -H 'Accept: application/json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` ### Response #### Success Response (200) - **ach_return** (Object) - Contains the ACH return details. - **account_guid** (String) - The GUID of the associated account. - **account_number_last_four** (String) - The last four digits of the account number. - **account_type** (String) - The type of the account (e.g., CHECKING). - **ach_initiated_at** (String) - The timestamp when the ACH was initiated. - **client_guid** (String) - The GUID of the client. - **corrected_account_number** (null) - Placeholder for corrected account number. - **corrected_routing_number** (null) - Placeholder for corrected routing number. - **created_at** (String) - The timestamp when the ACH return was created. - **guid** (String) - The unique identifier (GUID) of the ACH return. - **id** (String) - The client-defined ID for the ACH return. - **institution_guid** (String) - The GUID of the institution. - **investigation_notes** (null) - Placeholder for investigation notes. - **member_guid** (String) - The GUID of the member. - **processing_errors** (null) - Placeholder for processing errors. - **resolution_code** (null) - Placeholder for resolution code. - **resolution_detail** (null) - Placeholder for resolution details. - **resolved_status_at** (null) - The timestamp when the resolution status was updated. - **return_code** (String) - The ACH return code (e.g., R01). - **return_notes** (null) - Placeholder for return notes. - **return_account_number** (null) - The account number associated with the return. - **return_routing_number** (null) - The routing number associated with the return. - **return_status** (String) - The current status of the ACH return (e.g., SUBMITTED). - **returned_at** (String) - The timestamp when the ACH was returned. - **sec_code** (String) - The Standard Entry Class (SEC) code. - **started_processing_at** (null) - The timestamp when processing started. - **submitted_at** (null) - The timestamp when the ACH return was submitted. - **transaction_amount** (Number) - The amount of the transaction. - **updated_at** (String) - The timestamp when the ACH return was last updated. - **user_guid** (String) - The GUID of the user. #### Response Example ```json { "ach_return": { "account_guid": "ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1", "account_number_last_four": "1234", "account_type": "CHECKING", "ach_initiated_at": "2025-02-13T18:08:00+00:00", "client_guid": "CLT-abcd-1234", "corrected_account_number": null, "corrected_routing_number": null, "created_at": "2025-02-13T18:08:00+00:00", "guid": "ACH-d74cb14f-fd0a-449f-991b-e0362a63d9c6", "id": "client_ach_return_id_1234", "institution_guid": "INS-34r4f44b-cfge-0f6e-3484-21f47e45tfv7", "investigation_notes": null, "member_guid": "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b", "processing_errors": null, "resolution_code": null, "resolution_detail": null, "resolved_status_at": null, "return_code": "R01", "return_notes": null, "return_account_number": null, "return_routing_number": null, "return_status": "SUBMITTED", "returned_at": "2025-02-13T18:09:00+00:00", "sec_code": "PPD", "started_processing_at": null, "submitted_at": null, "transaction_amount": 225.84, "updated_at": "null", "user_guid": "USR-fa7537f3-48aa-a683-a02a-b18940482f54" } } ``` -------------------------------- ### Create Manual Account - C# Source: https://docs.mx.com/api-reference/platform-api/reference/create-manual-account This C# example demonstrates creating a manual account using HttpClient. Ensure you correctly serialize the request body and set the appropriate headers. ```csharp using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; public class ManualAccountCreator { public static async Task CreateAccountAsync() { using (var client = new HttpClient()) { var url = "https://int-api.mx.com/users/:user_identifier/accounts"; var accountData = new { account = new { account_subtype = "CHECKING", account_type = "CHECKING", apr = 1, apy = 2.35, available_balance = 1000, balance = 1000, cash_surrender_value = 1000, credit_limit = 100, currency_code = "USD", death_benefit = 1000, interest_rate = 3.25, is_business = false, is_closed = false, is_hidden = false, loan_amount = 1000, metadata = "some metadata", name = "Test account 2", nickname = "Swiss Account", original_balance = 10, property_type = "VEHICLE", skip_webhook = true } }; var jsonPayload = JsonConvert.SerializeObject(accountData); var content = new StringContent(jsonPayload, Encoding.UTF8, "application/json"); client.DefaultRequestHeaders.Add("Accept", "application/json"); client.DefaultRequestHeaders.Add("Authorization", "Basic BASE_64_ENCODING_OF{client_id:api_key}"); var response = await client.PostAsync(url, content); var responseString = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseString); } } } ``` -------------------------------- ### Example OAuth Redirect URL Source: https://docs.mx.com/resources/oauth-guide/oauth-in-mobile-apps This is an example of a redirect URL after a successful OAuth flow. It includes status and member GUID. ```shell https://mx.com?status=success&member_guid=MBR-df96fd60-7122-4464-b3c2-ff11d8c74f6f ``` -------------------------------- ### MFA Challenge Response Example Source: https://docs.mx.com/other/specialized-document-aggregation/dealing-with-mfa This JSON shows an example of a response when MFA is challenged. It includes the `guid` and `label` for the challenge, and the `connection_status` is `CHALLENGED`. ```json { "member": { "aggregated_at": "2020-09-21T19:48:57Z", "challenges": [ { "field_name": null, "guid": "CRD-8f841084-66cb-4e3d-9253-96f97093100a", "label": "What city were you born in?", "type": 0 } ], "connection_status": "CHALLENGED", "guid": "MBR-84ca0882-ad6c-4f10-817f-c8c0de7424fa", "is_authenticated": false, "is_being_aggregated": true, "successfully_aggregated_at": "2020-09-21T19:44:17Z" } } ``` -------------------------------- ### Run AspNet Backend Source: https://docs.mx.com/connect/demo-app Commands to set up and run the AspNet backend for the MXquickconnect demo app. Requires the MX.Platform.CSharp package. ```bash cd mx-platform-aspnet-core dotnet add package MX.Platform.CSharp dotnet run ``` -------------------------------- ### Run Python Backend Source: https://docs.mx.com/connect/demo-app Commands to set up and run the Python backend for the MXquickconnect demo app. Installs requirements and starts the server using a shell script. ```bash cd python pip3 install -r requirements.txt ./start.sh ``` -------------------------------- ### Get Widget URL with Language Option Source: https://docs.mx.com/api-reference/sso/v3/reference/widget-urls/language-options This example demonstrates how to make a POST request to the get widget URL endpoint, specifying the desired language using the `Accept-Language` header. ```APIDOC ## POST /users/{id}/urls.xml ### Description Retrieves a widget URL with the specified language option. ### Method POST ### Endpoint `https://int-sso.moneydesktop.com/{client_id}/users/{id}/urls.xml` ### Headers - `Content-Type`: `application/vnd.moneydesktop.sso.v3+xml` - `Accept`: `application/vnd.moneydesktop.sso.v3+xml` - `MD-API-KEY`: `{api_key}` - `Accept-Language`: `fr-CA` (Example: `en-US`, `es`, `fr`, `fr-CA`, `en-CA`) ### Request Body ```xml connections_widget true ``` ### Response (Response details not provided in source text) ``` -------------------------------- ### Install Web Widget SDK with npm Source: https://docs.mx.com/other/legacy-connectivity-guides/web-sdk Install the SDK at the root of your project using npm. ```bash npm install --save @mxenabled/web-widget-sdk ``` -------------------------------- ### Account Owner Information Response Sample (JSON) Source: https://docs.mx.com/api-reference/platform-api/reference/get-account-owner-info This is a sample JSON response for a successful request to get account owner information. It includes details such as account GUID, member GUID, user GUID, owner name, address, and contact information. ```json { "account_owners": [ { "account_guid": "ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1", "member_guid": "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b", "user_guid": "USR-fa7537f3-48aa-a683-a02a-b18940482f54", "guid": "AOW-e9f9cd45-7d14-4fbf-b23c-7f4a6d7671d6", "owner_name": "Janita Pollich", "address": "3541 Adrian Street", "city": "North Kishaberg", "state": "Maine", "postal_code": "45054-7764", "country": "US", "email": "example@example.com", "phone": "676-932-5861" } ], "pagination": { "current_page": 1, "per_page": 25, "total_entries": 1, "total_pages": 1 } } ``` -------------------------------- ### Get Repeating Transaction (cURL) Source: https://docs.mx.com/api-reference/platform-api/reference/specific-repeating-transaction Use this cURL command to make a GET request to retrieve a specific repeating transaction. Ensure you replace placeholder GUIDs and include your authorization credentials. ```curl curl -L -X GET 'https://int-api.mx.com/users/:user_guid/repeating_transactions/:repeating_transaction_guid' \ -H 'Accept: application/json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` -------------------------------- ### Run Ruby Backend Source: https://docs.mx.com/connect/demo-app Commands to set up and run the Ruby backend for the MXquickconnect demo app. Installs bundle dependencies and starts the server using a shell script. ```bash cd ruby bundle install ./start.sh ``` -------------------------------- ### Create Account - Java Example Source: https://docs.mx.com/api-reference/more-apis/mdx/mdx-real-time/reference/accounts/create-account This Java code demonstrates how to create a new account by sending a POST request to the MDX API. It includes setting up the connection, constructing the JSON payload with account details, and handling the response. Ensure you replace placeholder values for client ID and API key. ```java import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.URL; import javax.net.ssl.HttpsURLConnection; import org.json.JSONObject; public class MDX_RealTime { private String BaseUrl, ClientId, ApiKey; public MDX_RealTime(String BaseUrl, String ClientId, String ApiKey) { this.BaseUrl = BaseUrl; this.ClientId = ClientId; this.ApiKey = ApiKey; } public static void main(String[] args) throws Exception { String base_url = "https://int-live.moneydesktop.com"; String client_id = ":client_id"; String api_key = ":api_key"; MDX_RealTime mdx = new MDX_RealTime(base_url, client_id, api_key); /// Setup Account Create json object String user_id = "U-39XBF7"; String member_id = "M-39XBF7"; String account_id = "A-XA5Y4L"; JSONObject account = new JSONObject(); JSONObject fields = new JSONObject(); fields.put("id", account_id); fields.put("account_number", "XXXXX-678"); fields.put("available_balance", 175.0); fields.put("balance", 175.0); fields.put("minimum_balance", 5); fields.put("name", "Premium Savings"); fields.put("type", "SAVINGS"); account.put("account", fields); mdx.CreateAccount(user_id, member_id, account); } public void CreateAccount(String user_id, String member_id, JSONObject account) { try { String uri = BaseUrl + "/" + ClientId + "/users/" + user_id + "/members/" + member_id + "/accounts.json"; URL url = new URL(uri); HttpsURLConnection con = (HttpsURLConnection) url.openConnection(); con.setRequestMethod("POST"); con.setRequestProperty("Accept", "application/vnd.moneydesktop.mdx.v5+json"); con.setRequestProperty("Content-Type", "application/vnd.moneydesktop.mdx.v5+json"); con.setRequestProperty("MD-API-KEY", ApiKey); con.setDoOutput(true); OutputStream out = con.getOutputStream(); out.write(account.toString().getBytes("UTF-8")); out.close(); BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); String inputLine; StringBuffer response = new StringBuffer(); while ((inputLine = in.readLine()) != null) { response.append(inputLine); } in.close(); con.disconnect(); System.out.println(response.toString()); } catch (Exception e) { System.out.println(e); } } } ``` -------------------------------- ### Get Merchant Location (cURL) Source: https://docs.mx.com/api-reference/nexus/reference/read-merchant-location Use this cURL command to make a GET request to the merchant locations endpoint. Ensure you replace `:merchant_location_guid` with the actual GUID and `` with your API key. ```curl curl -L -X GET 'https://int-data.moneydesktop.com/merchant_locations/:merchant_location_guid' \ -H 'Accept: application/vnd.mx.nexus.v1+json' \ -H 'MD-SESSION-TOKEN: ' ``` -------------------------------- ### Example Session Request with Session Key Source: https://docs.mx.com/api-reference/more-apis/mdx/mdx-on-demand This example demonstrates how to make a request to the accounts endpoint using a previously obtained session key in the MDX-Session-Key header. ```bash curl -H "MDX-Session-Key: [SESSION_KEY]" https://dataprovider_base_url/:institution_id/accounts ``` -------------------------------- ### Get ACH Return by GUID (cURL) Source: https://docs.mx.com/api-reference/platform-api/reference/read-ach-retrun Use this cURL command to fetch an ACH return by its unique identifier. Ensure you replace ':ach_return_guid' with the actual GUID and provide your authorization credentials. ```curl curl -L -X GET 'https://int-api.mx.com/ach_returns/:ach_return_guid' \ -H 'Accept: application/json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` -------------------------------- ### Get Managed Transaction (cURL) Source: https://docs.mx.com/api-reference/platform-api/reference/read-managed-transaction Use this cURL command to make a GET request to retrieve a managed transaction. Ensure you replace the placeholder GUIDs with actual values and provide your authorization credentials. ```curl curl -L -X GET 'https://int-api.mx.com/users/:user_guid/managed_members/:member_guid/accounts/:account_guid/transactions/:transaction_guid' \ -H 'Accept: application/json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` -------------------------------- ### Install Web Widget SDK with yarn Source: https://docs.mx.com/other/legacy-connectivity-guides/web-sdk Install the SDK at the root of your project using yarn. ```bash yarn add @mxenabled/web-widget-sdk ``` -------------------------------- ### Read a Specific Reward (cURL) Source: https://docs.mx.com/api-reference/rewards/reference/read-rewards This snippet shows how to make a GET request to read a specific reward using its GUID. Ensure you replace the placeholder GUIDs with actual values and provide your authorization credentials. ```curl curl -L -X GET 'https://int-api.mx.com/users/:user_guid/members/:member_guid/rewards/:reward_guid' \ -H 'Accept: Accept: application/vnd.mx.api.v1beta+json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` -------------------------------- ### Create Manual Account - Python Source: https://docs.mx.com/api-reference/platform-api/reference/create-manual-account This Python snippet demonstrates how to create a manual account. It requires the 'requests' library and proper authentication setup. ```python import requests url = "https://int-api.mx.com/users/:user_identifier/accounts" payload = { "account": { "account_subtype": "CHECKING", "account_type": "CHECKING", "apr": 1, "apy": 2.35, "available_balance": 1000, "balance": 1000, "cash_surrender_value": 1000, "credit_limit": 100, "currency_code": "USD", "death_benefit": 1000, "interest_rate": 3.25, "is_business": False, "is_closed": False, "is_hidden": False, "loan_amount": 1000, "metadata": "some metadata", "name": "Test account 2", "nickname": "Swiss Account", "original_balance": 10, "property_type": "VEHICLE", "skip_webhook": True } } headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Basic BASE_64_ENCODING_OF{client_id:api_key}' } response = requests.request("POST", url, json=payload, headers=headers) print(response.text) ``` -------------------------------- ### Example API Request Source: https://docs.mx.com/products/data/data-access/channel-partner-portal/overview Illustrates a sample API endpoint call for retrieving account data. ```text GET /accounts ``` -------------------------------- ### Read Credit Card Product - cURL Source: https://docs.mx.com/api-reference/platform-api/reference/credit-card Use this snippet to make a GET request to retrieve a credit card product by its GUID. Ensure you replace ':credit_card_product_guid' with the actual GUID and provide your authentication credentials. ```curl curl -L -X GET 'https://int-api.mx.com/credit_card_products/:credit_card_product_guid' \ -H 'Accept: application/json' \ -H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}' ``` -------------------------------- ### Update Scheduled Payment Request Source: https://docs.mx.com/api-reference/nexus/reference/update-scheduled-payment This cURL example demonstrates how to update a scheduled payment. Ensure you replace ':guid' with the actual payment GUID and '' with your valid API key. The request body contains the fields to be updated. ```curl curl -L -X PUT 'https://int-data.moneydesktop.com/scheduled_payments/:guid' \ -H 'Content-Type: application/vnd.mx.nexus.v1+json' \ -H 'Accept: application/vnd.mx.nexus.v1+json' \ -H 'MD-SESSION-TOKEN: ' \ --data-raw '{"scheduled_payment":{"amount":10.97,"description":"Power bill","is_completed":false,"is_recurring":true,"merchant_guid":"MCH-5005cd15-c3e5-0e69-ec98-c95147860a45","occurs_on":"2018-12-13","recurrence_day":3,"recurrence_type":3,"transaction_type":2,"transaction_type_name":"DEBIT"}}' ``` -------------------------------- ### Example Manifest File Contents (CSV) Source: https://docs.mx.com/api-reference/more-apis/batch-api This example shows the required CSV format for a manifest file, including filenames and optional checksums. Ensure filenames match exactly what will be sent to MX. ```csv filename,checksum Bank.User.2020-04-13.Split001.csv.pgp,389438d0f857041757a754e696375dc2b8089f2423ccbe5e3ff2a0e60ac1544f Bank.Member.2020-04-13.Split001.csv.pgp,89fbc47675603079be7f9feca7625d8ac38802ac3e2c492edeed04a327db8015 Bank.Account.2020-04-13.Split001.csv.pgp,5474f58d52395952268b10342b45dff780a0039636aba3a21a0b0ad5775d062d Bank.Transaction.2020-04-13.Split001.csv.pgp,b423960ce42eadd02ab36f3ba9313d5ac2d533ba3a4d2266d15a2df43d46e0c1 ```