Skip to main content

Enhance Business Transactions

Use this endpoint to enhance your partner-provided transactional data. Each transaction you provide will be categorized, given a cleansed description, and possibly assigned one or more classifications, merchants, or merchant locations.

Enhanced transactions are not persisted or stored by MX. They are simply returned in their enhanced form. Enhanced transactions are returned with only a subset of the fields stored on persistent transactions.

info

This endpoint is limited to 100 transactions per request.

Enhanced Transaction Fields

FieldData TypeDefinition
amountDecimalThe monetary amount of the transaction.
business_categoryStringThe name of the business category assigned to this transaction.

This field only appears in the response when the business suite has been enabled.
business_category_guidStringThe unique identifier for the business category assigned to this transaction. Defined by MX.

This field only appears in the response when the business suite has been enabled.
categorized_byIntegerThe method used to determine the category assigned to the transaction.
categoryStringThe category of the transaction.
category_guidStringThe unique identifier for the category assigned to the transaction.
described_byIntegerThe method used to describe the transaction.
descriptionStringA human-readable version of the original_description field described below, e.g., "Sam's Club," "Johnny's Tavern." This is provided by the MX Platform.
extended_transaction_typeStringThe transaction type assigned by the partner.
idStringThe unique partner-defined identifier for the transaction.
is_bill_payBooleanThis indicates whether the transaction represents a bill pay.
is_direct_depositBooleanThis indicates whether the transaction represents a direct deposit.
is_expenseBooleanThis indicates whether the transaction represents an expense.
is_feeBooleanThis indicates whether the transaction represents a fee.
is_incomeBooleanThis indicates whether the transaction represents income.
is_internationalBooleanIf 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 have this information.
is_overdraft_feeBooleanThis indicates whether the transaction represents an overdraft fee.
is_payroll_advanceBooleanThis indicates whether the transaction represents a payroll advance.
is_subscriptionBooleanThis indicates whether the transaction represents a payment for a subscription service such as Netflix or Audible.
memoStringThis field contains additional descriptive information about the transaction.
merchant_category_codeIntegerThe ISO 18245 category code for the transaction.
merchant_guidStringThe unique identifier for the merchant associated with this transaction. Defined by MX.
merchant_location_guidStringThe unique identifier for the merchant_location associated with this transaction. Defined by MX.
original_descriptionStringThe original description of the transaction as provided by our data feed. See description above for more information.
typeStringThe type of transaction. This will be either CREDIT or DEBIT.

Endpoint: POST /transactions/enhance

Parameters

Field NameRequired?
amountNo
descriptionYes
extended_transaction_typeNo
idYes
merchant_category_codeNo
typeNo
Request
Response
Language:shell

_17
curl -i -X POST 'https://int-api.mx.com/transactions/enhance' \
_17
-H 'Accept: application/vnd.mx.api.v1+json' \
_17
-H 'Content-Type: application/json' \
_17
-u 'client_id:api_key' \
_17
-d '{
_17
"transactions": [
_17
{
_17
"amount": 21.33,
_17
"description": "ubr* pending.uber.com",
_17
"extended_transaction_type": "partner_transaction_type",
_17
"id": "ID-123",
_17
"memo": "Additional-information*on_transaction",
_17
"merchant_category_code": 4121,
_17
"type": "DEBIT"
_17
}
_17
]
_17
}'