{ "insight": { "active_at": "2022-01-07T12:00:00Z", "client_guid": "CLT-abcd-1234", "created_at": "2022-01-12T18:16:51Z", "cta_clicked_at": "2022-01-13T18:13:51Z", "description": "Gold's Gym charged you $36.71 more this month than normal. Did you upgrade your service?", "guid": "BET-abcd-1234", "has_associated_accounts": false, "has_associated_categories": false, "has_associated_merchants": false, "has_associated_repeating_transactions": false, "has_associated_scheduled_payments": false, "has_associated_transactions": true, "has_been_displayed": true, "is_dismissed": false, "localization_payload": { "is_enabled": false }, "micro_call_to_action": "Learn more", "micro_description": "Netflix charged you $5.00 more this month than normal.", "micro_title": "Price increase", "template": "SubscriptionPriceIncrease", "title": "Price increase", "updated_at": "2022-01-12T18:16:51Z", "user_guid": "USR-1234-abcd", "user_id": "<unknown>" }}
Authorizations
Authorization
string
header
required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
user_guid
string
required
The unique identifier for a user, beginning with the prefix USR-.
insight_guid
string
required
The unique identifier for the insight. Defined by MX.
Query Parameters
includes
string
Opt in to receiving additional data on insights. Pass
?includes=localization_payload to populate the
localization_payload object on each insight.
When included, insights with a supported template return
localization_payload with is_enabled: true and the
template-specific fields populated. Unsupported templates
return localization_payload with is_enabled: false.
If the parameter is omitted entirely, the localization_payload key is not included in the response at all (it is absent, not null).
Currently supported templates: BillAmountNotStandard,
MonthlySubscriptionAggregateV2, SubscriptionPriceIncrease.
This list may grow as more templates are enabled.
Response
200 - application/vnd.mx.api.v1+json
OK
insight
object
Hide child attributes
insight.active_at
string | null
Example:
"2022-01-07T12:00:00Z"
insight.client_guid
string | null
Example:
"CLT-abcd-1234"
insight.created_at
string | null
Example:
"2022-01-12T18:16:51Z"
insight.cta_clicked_at
string | null
Example:
"2022-01-13T18:13:51Z"
insight.description
string | null
Example:
"Gold's Gym charged you $36.71 more this month than normal. Did you upgrade your service?"
insight.guid
string | null
Example:
"BET-abcd-1234"
insight.has_associated_accounts
boolean | null
Example:
false
insight.has_associated_categories
boolean | null
Example:
false
insight.has_associated_merchants
boolean | null
Example:
false
insight.has_associated_repeating_transactions
boolean | null
Example:
false
insight.has_associated_scheduled_payments
boolean | null
Example:
false
insight.has_associated_transactions
boolean | null
Example:
true
insight.has_been_displayed
boolean | null
Example:
true
insight.is_dismissed
boolean | null
Example:
false
insight.localization_payload
object
Structured, per-template values used to render the insight description and micro_description. The shape depends on the insight template. Opt-in: returned only when ?includes=localization_payload is passed (otherwise the key is absent). When the insight's template is supported, is_enabled is true and the template-specific fields are populated. When the template is not yet supported, is_enabled is false.
Option 1
Option 2
Option 3
Option 4
Hide child attributes
insight.localization_payload.is_enabled
enum<boolean>
required
Whether the localization payload is populated for this insight's template.
Available options:
false
Example:
false
insight.micro_call_to_action
string | null
Example:
"Learn more"
insight.micro_description
string | null
Example:
"Netflix charged you $5.00 more this month than normal."