When working with this endpoint, note that several of the input fields are optional (region, acquirerId, etc.). However, we strongly recommend including all of the fields that you have available. Some optional fields can substantially improve performance.
Take care to ensure you are using unaltered and correct data in each field. Some fields go by multiple names, so if you have any questions regarding integration please feel free to reach out.
Note that some response fields may not be included in your product package, please reach out with any questions.
The raw, unmodified merchant name (including asterisks, store numbers, etc...)
1024"Amazon"
Anonymous ID representing your user. This will be used for summary features, and recurrence flagging purposes.
512"user_id_123456789"
Value of the transaction in the given currency. Negative values indicate incoming money.
"25.23"
16"USD"
The time the transaction occurred. Formatted as an ISO 8601 date time.
"2022-06-15 18:27:51Z"
Category code for the given categoryType
32"5812"
The category system that categoryCode is a part of
MCC 32"MCC"
Anonymous ID representing the card of the user.
512"card_id_123456789"
The first six digits of the card number associated with the transaction.
6"123456"
The last four digits of the card number associated with the transaction.
4"7890"
Your ID representing this transaction
512"transaction_id_123456789"
An alphanumeric code generally with a maximum length of 15. It is also known as "Network ID", "Card Acceptor ID", or "Merchant ID". (Found in field 42 of ISO 8583)
256"000000000123456"
A dictionary containing custom attributes that you would like to be returned in the response.
Please ensure this object does not contain any PII.
Restrictions include: customAttributes must be an object, up 30 custom attributes are allowed, each key must be a string <= 40 characters in length, and each value must be a string <= 250 characters in length.
{
"custom_attribute_1": "value_1",
"custom_attribute_2": "value_2"
}Successful operation
Our ID representing the enrichment, not to be confused with your provided transactionId.
An array of counterparties matched to the transaction, ordered by descending match score.
The mobile app information for the transaction. This object is only non-null if the transaction was matched to a mobile app.
This is a premium Spade field available depending on your product package.
A dictionary containing the custom attributes that were included in the enrichment request (if any).
{
"custom_attribute_1": "value_1",
"custom_attribute_2": "value_2"
}