To authenticate with the Platform API, include your Base64-encoded client_id and api_key in the Authorization header of every request:
-H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}'
The unique identifier for an account. Defined by MX.
Example:
"ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1"
rewards.member_guid
string
The unique identifier for the member. Defined by MX.
Example:
"MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"
rewards.user_guid
string
The unique identifier for the user. Defined by MX.
Example:
"USR-fa7537f3-48aa-a683-a02a-b18940482f54"
rewards.balance_type
string
The type of balance associated with the reward, for example, BALANCE_TO_LEVEL, or TOTAL_BALANCE.
Example:
"EXPIRING_BALANCE"
rewards.balance
number
The current balance of the account.
PENDING transactions are typically not taken into account with the current balance, but this may not always be the case.
The balance will usually be a positive value for all account types. Asset-type accounts (CHECKING, SAVINGS, INVESTMENT) may have a negative balance if they are in overdraft.
Debt-type accounts (CREDIT_CARD, LOAN, LINE_OF_CREDIT, MORTGAGE) may have a negative balance if they are overpaid.
Example:
1000
rewards.created_at
string
The date and time the resource was created, represented in ISO 8601 format with a timestamp.
Example:
"2025-02-13T18:08:00+00:00"
rewards.description
string
The description for the reward as given by the data provider.
Example:
"A description of the reward."
rewards.expires_on
string
The date on which the balance expires.
Example:
"2020-02-28"
rewards.guid
string
The unique identifier for the reward. Defined by MX.
Example:
"RWD-1234"
rewards.unit_type
string
The units in which the balance is given, for example, MILES or POINTS.
Example:
"POINTS"
rewards.updated_at
string
The date and time at which the account was last updated.