curl --request POST \
--url https://int-data.moneydesktop.com/accounts/{account_guid}/transactions \
--header 'Content-Type: application/vnd.mx.nexus.v1+json' \
--header 'MD-SESSION-TOKEN: <api-key>' \
--data '{}'{
"transaction": {
"account_guid": "ACT-8e6f92c8-1491-42ce-8bf6-c309e9531530",
"amount": 33.88,
"amount_set_by": 1,
"amount_set_by_name": "FEED",
"category_guid": "CAT-97a2b899-5a32-4196-b87c-a8e65d8a9849",
"category_name": "Office Supplies",
"category_set_by": 3,
"category_set_by_name": "SYSTEM",
"check_number": null,
"check_number_set_by": null,
"check_number_set_by_name": null,
"check_number_string": null,
"created_at": "2022-06-14T21:17:10+00:00",
"currency_code": "USD",
"currency_code_set_by": 1,
"currency_code_set_by_name": "FEED",
"date": "2022-06-14",
"date_set_by": 1,
"date_set_by_name": "FEED",
"description": "Office Depot",
"description_set_by": 3,
"description_set_by_name": "SYSTEM",
"extended_transaction_type": "",
"external_guid": "transfer-0bc9936d-6761-4aed-af7f-a94e7a0f7e7e",
"feed_amount": 33.88,
"feed_check_number": null,
"feed_check_number_string": null,
"feed_currency_code": "USD",
"feed_description": "Office Depot",
"feed_is_international": null,
"feed_latitude": null,
"feed_longitude": null,
"feed_memo": null,
"feed_posted_at": "2022-06-15T12:00:00+00:00",
"feed_posted_on": "2022-06-15",
"feed_status": 1,
"feed_transacted_at": "2022-06-14T12:00:00+00:00",
"feed_transacted_on": "2022-06-14",
"feed_transaction_type": 2,
"feed_transaction_type_name": "DEBIT",
"guid": "TRN-24af807c-66b5-416c-a84e-d18f1003809e",
"has_been_split": false,
"has_been_viewed": false,
"is_bill_pay": false,
"is_business": false,
"is_direct_deposit": false,
"is_expense": true,
"is_fee": false,
"is_flagged": false,
"is_hidden": false,
"is_income": false,
"is_international": null,
"is_international_set_by": null,
"is_international_set_by_name": null,
"is_overdraft_fee": false,
"is_payroll_advance": false,
"is_recurring": null,
"is_subscription": false,
"latitude": null,
"latitude_set_by": null,
"latitude_set_by_name": null,
"localized_description": null,
"localized_memo": null,
"longitude": null,
"longitude_set_by": null,
"longitude_set_by_name": null,
"member_is_managed_by_user": true,
"memo": null,
"memo_set_by": null,
"memo_set_by_name": null,
"merchant_category_code": 0,
"merchant_guid": "MCH-8f595f23-43fb-2c82-429e-56313bb6dada",
"merchant_location_guid": null,
"metadata": "some hard coded transaction metadata",
"parent_guid": null,
"posted_at": "2022-06-15T12:00:00+00:00",
"posted_at_set_by": 1,
"posted_at_set_by_name": "FEED",
"revision": 1,
"scheduled_payment_guid": null,
"status": 1,
"status_name": "POSTED",
"status_set_by": 1,
"status_set_by_name": "FEED",
"top_level_category_guid": "CAT-94b11142-e97b-941a-f67f-6e18d246a23f",
"transacted_at": "2022-06-14T12:00:00+00:00",
"transacted_at_set_by": 1,
"transacted_at_set_by_name": "FEED",
"transaction_type": 2,
"transaction_type_name": "DEBIT",
"transaction_type_set_by": 1,
"transaction_type_set_by_name": "FEED",
"updated_at": "2022-06-14T21:17:10+00:00",
"user_guid": "USR-11141024-90b3-1bce-cac9-c06ced52ab4c"
}
}Create manual transaction
curl --request POST \
--url https://int-data.moneydesktop.com/accounts/{account_guid}/transactions \
--header 'Content-Type: application/vnd.mx.nexus.v1+json' \
--header 'MD-SESSION-TOKEN: <api-key>' \
--data '{}'{
"transaction": {
"account_guid": "ACT-8e6f92c8-1491-42ce-8bf6-c309e9531530",
"amount": 33.88,
"amount_set_by": 1,
"amount_set_by_name": "FEED",
"category_guid": "CAT-97a2b899-5a32-4196-b87c-a8e65d8a9849",
"category_name": "Office Supplies",
"category_set_by": 3,
"category_set_by_name": "SYSTEM",
"check_number": null,
"check_number_set_by": null,
"check_number_set_by_name": null,
"check_number_string": null,
"created_at": "2022-06-14T21:17:10+00:00",
"currency_code": "USD",
"currency_code_set_by": 1,
"currency_code_set_by_name": "FEED",
"date": "2022-06-14",
"date_set_by": 1,
"date_set_by_name": "FEED",
"description": "Office Depot",
"description_set_by": 3,
"description_set_by_name": "SYSTEM",
"extended_transaction_type": "",
"external_guid": "transfer-0bc9936d-6761-4aed-af7f-a94e7a0f7e7e",
"feed_amount": 33.88,
"feed_check_number": null,
"feed_check_number_string": null,
"feed_currency_code": "USD",
"feed_description": "Office Depot",
"feed_is_international": null,
"feed_latitude": null,
"feed_longitude": null,
"feed_memo": null,
"feed_posted_at": "2022-06-15T12:00:00+00:00",
"feed_posted_on": "2022-06-15",
"feed_status": 1,
"feed_transacted_at": "2022-06-14T12:00:00+00:00",
"feed_transacted_on": "2022-06-14",
"feed_transaction_type": 2,
"feed_transaction_type_name": "DEBIT",
"guid": "TRN-24af807c-66b5-416c-a84e-d18f1003809e",
"has_been_split": false,
"has_been_viewed": false,
"is_bill_pay": false,
"is_business": false,
"is_direct_deposit": false,
"is_expense": true,
"is_fee": false,
"is_flagged": false,
"is_hidden": false,
"is_income": false,
"is_international": null,
"is_international_set_by": null,
"is_international_set_by_name": null,
"is_overdraft_fee": false,
"is_payroll_advance": false,
"is_recurring": null,
"is_subscription": false,
"latitude": null,
"latitude_set_by": null,
"latitude_set_by_name": null,
"localized_description": null,
"localized_memo": null,
"longitude": null,
"longitude_set_by": null,
"longitude_set_by_name": null,
"member_is_managed_by_user": true,
"memo": null,
"memo_set_by": null,
"memo_set_by_name": null,
"merchant_category_code": 0,
"merchant_guid": "MCH-8f595f23-43fb-2c82-429e-56313bb6dada",
"merchant_location_guid": null,
"metadata": "some hard coded transaction metadata",
"parent_guid": null,
"posted_at": "2022-06-15T12:00:00+00:00",
"posted_at_set_by": 1,
"posted_at_set_by_name": "FEED",
"revision": 1,
"scheduled_payment_guid": null,
"status": 1,
"status_name": "POSTED",
"status_set_by": 1,
"status_set_by_name": "FEED",
"top_level_category_guid": "CAT-94b11142-e97b-941a-f67f-6e18d246a23f",
"transacted_at": "2022-06-14T12:00:00+00:00",
"transacted_at_set_by": 1,
"transacted_at_set_by_name": "FEED",
"transaction_type": 2,
"transaction_type_name": "DEBIT",
"transaction_type_set_by": 1,
"transaction_type_set_by_name": "FEED",
"updated_at": "2022-06-14T21:17:10+00:00",
"user_guid": "USR-11141024-90b3-1bce-cac9-c06ced52ab4c"
}
}MX-Skip-Webhook header and skip_webhook parameter.Authorizations
MX Session Token
- Request an API token using the read API token endpoint in the MX SSO API.
- Exchange an API token for a session token.
- A session token is obtained by sending a POST request to /sessions
- The session token will be used in each request made for the user. It should be passed in an
MD-SESSION-TOKENHTTP header as shown below. - This session token is valid for 30 minutes from the time it was created. The 30 minute expiration counter is refreshed with each call.
- If you send a request with an expired session token you'll receive an error code of
4011.
curl -i https://int-data.moneydesktop.com/accounts \
-H 'MD-SESSION-TOKEN: CWforZl1Vn2vC_v6H4rnQRT1DoWpDouJAV-_5TBmiQRAtA8rsOG_BoajTiOSsL0A3bd-bmHXlA-eQzc9ywItKg' \
-H 'Content-Type: application/vnd.mx.nexus.v1+json' \
-H 'Accept: application/vnd.mx.nexus.v1+json'In documentation code examples, replace <API_KEY_VALUE> with the session token.
Path Parameters
The unique identifier for the account. Defined by MX.
Body
Hide child attributes
Hide child attributes
The transaction amount. This will always be a positive value. The Transaction Type determines how the transaction affects the account.
"61.11"
Date the transaction was created, represented in ISO 8601 format (e.g. 2011-03-28).
A human-readable description of the transaction.
"Whole foods"
The type of transaction (1 = CREDIT, 2 = DEBIT). See Transaction Types for more information.
Unique identifier for the transaction category. Defined by MX.
The ISO 4217 three-character currency code (e.g. USD).
"USD"
If the transaction has been viewed, this field will be true. Otherwise, this field will be false.
If the transaction is hidden, this field will be true. Otherwise, this field will be false.
The memo is additional descriptive information about the transaction.
"This is a memo"
Additional information a partner can store on the transaction. NOTE: this field may potentially be overwritten by the data provider when data is refreshed through aggregation. See the FAQs for more information.
"some metadata"
When set to true, this parameter will prevent a webhook from being triggered by the request.
true
Response
OK
Hide child attributes
Hide child attributes
Unique identifier for the account. Defined by MX.
"ACT-8e6f92c8-1491-42ce-8bf6-c309e9531530"
The transaction amount. This will always be a positive value. The Transaction Type determines how the transaction affects the account.
33.88
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
Unique identifier for the transaction category. Defined by MX.
"CAT-97a2b899-5a32-4196-b87c-a8e65d8a9849"
The name of the transaction category.
"Office Supplies"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
3
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"SYSTEM"
The check number for the transaction. (Deprecated).
null
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
null
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
null
The check number for the transaction.
null
Date and time the transaction was created, represented in ISO 8601 format with timestamp (e.g. 2015-04-13T12:01:23-00:00).
"2022-06-14T21:17:10+00:00"
The ISO 4217 three-character currency code (e.g. USD).
"USD"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
Date the transaction was created, represented in ISO 8601 format (e.g. 2011-03-28).
"2022-06-14"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
A human-readable description of the transaction.
"Office Depot"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
3
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"SYSTEM"
Additional transaction type classification for specialized transaction categories.
""
Partner created identifier for the transaction.
"transfer-0bc9936d-6761-4aed-af7f-a94e7a0f7e7e"
Transaction amount, as provided by our data feed. See amount for more information.
33.88
Check number, as provided by our data feed. See check_number for more information.
null
Check number, as provided by our data feed. See check_number_string for more information.
null
Currency code, as provided by our data feed. See currency_code for more information.
"USD"
Description of the transaction, as provided by our data feed. See description for more information.
"Office Depot"
Whether the transaction is international, as provided by our data feed. See is_international for more information.
null
Latitude for the transaction, as provided by our data feed. See latitude for more information.
null
Longitude for the transaction, as provided by our data feed. See longitude for more information.
null
The transaction memo, as provided by our data feed. See memo for more information.
null
Date and time the transaction was posted, as provided by our data feed. See posted_at for more information.
"2022-06-15T12:00:00+00:00"
Date the transaction was posted, as provided by our data feed. See posted_on for more information.
"2022-06-15"
Status of the transaction, as provided by our data feed. See status for more information.
1
Date and time the transaction took place, as provided by our data feed. See transacted_at for more information.
"2022-06-14T12:00:00+00:00"
Date the transaction took place, as provided by our data feed.
"2022-06-14"
The type of transaction, as provided by our data feed. See transaction_type for more information.
2
The type of transaction, as provided by our data feed. See transaction_type_name for more information.
"DEBIT"
Unique identifier for the transaction. Defined by MX.
"TRN-24af807c-66b5-416c-a84e-d18f1003809e"
If the transaction is a split, this field will be true. Otherwise, this field will be false.
false
If the transaction has been viewed, this field will be true. Otherwise, this field will be false.
false
If the transaction is a bill pay, this field will be true. Otherwise, this field will be false.
false
If the transaction is categorized as a business expense, this field will be true. Otherwise, this field will be false.
false
If the transaction is a direct deposit, this field will be true. Otherwise, this field will be false.
false
If the transaction is an expense, this field will be true. Otherwise, this field will be false.
true
If the transaction is a fee, this field will be true. Otherwise, this field will be false.
false
If the transaction has been flagged, this field will be true. Otherwise, this field will be false.
false
If the transaction is hidden, this field will be true. Otherwise, this field will be false.
false
If the transaction is income, this field will be true. Otherwise, this field will be false.
false
If the transaction is international, as defined by the data provider, this field will be true. If the data provider determines it is not international, then it will be false. It will be null if the data provider does not provide this information.
null
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
null
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
null
If the transaction is an overdraft fee, this field will be true. Otherwise, this field will be false.
false
If the transaction is a payroll advance, this field will be true. Otherwise, this field will be false.
false
This field should be ignored. If this information is required, please reach out to MX to discuss an alternative.
null
If the transaction represents a payment for a subscription service such as Netflix or Audible, this field will be true. Otherwise it will be false.
false
The latitude of the location where the transaction occurred. The number is a signed decimal (e.g. Rio de Janeiro's latitude is -22.9027800 and Tokyo's latitude is 35.689488).
null
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
null
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
null
A human-readable description of the transaction, provided in a local language.
null
Additional descriptive information about the transaction, provided in a local language.
null
The longitude of the location where the transaction occurred. The number is a signed decimal (e.g. Rio de Janeiro's longitude is -43.2075000 and Tokyo's longitude is 139.691706).
null
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
null
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
null
If the member the transaction belongs to is managed by the user, this field will be true. Otherwise, the member is managed by the MX partner and this field will be false. Members created with Nexus are considered to be managed by the user.
true
The memo is additional descriptive information about the transaction.
null
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
null
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
null
The merchant category code.
0
Unique identifier for the merchant identified in the transaction. Defined by MX.
"MCH-8f595f23-43fb-2c82-429e-56313bb6dada"
The unique identifier for the merchant location associated with the transaction. Defined by MX.
null
Additional information a partner can store on the transaction. NOTE: this field may potentially be overwritten by the data provider when data is refreshed through aggregation. See the FAQs for more information.
"some hard coded transaction metadata"
The parent guid of the transaction.
null
Date and time the transaction was posted, represented in ISO 8601 format with timestamp (e.g. 2015-04-13T12:01:23-00:00).
"2022-06-15T12:00:00+00:00"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
The revision number of this transaction record.
1
The unique identifier for the scheduled payment associated with this transaction. Defined by MX.
null
The status of the transaction (1 = POSTED, 2 = PENDING). See Status for more information.
1
The status of the transaction (POSTED or PENDING). See Status for more information.
"POSTED"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
Unique identifier of the parent category that this transaction's category is assigned to.
"CAT-94b11142-e97b-941a-f67f-6e18d246a23f"
Date and time the transaction took place, represented in ISO 8601 format with timestamp (e.g. 2015-04-13T12:01:23-00:00).
"2022-06-14T12:00:00+00:00"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
The type of transaction (1 = CREDIT, 2 = DEBIT). See Transaction Types for more information.
2
The type of transaction (CREDIT or DEBIT). See Transaction Types for more information.
"DEBIT"
The source that set the data ( 1 = FEED, 2 = USER, 3 = SYSTEM ). See Transaction Set By for more information.
1
The source that set the data ( FEED, USER, or SYSTEM ). See Transaction Set By for more information.
"FEED"
Date and time the transaction was updated, represented in ISO 8601 format with timestamp (e.g. 2015-04-13T12:01:23-00:00).
"2022-06-14T21:17:10+00:00"
Unique identifier for the user. Defined by MX.
"USR-11141024-90b3-1bce-cac9-c06ced52ab4c"

