v1
latestOpenAPI 3.0.32026-07-243003151.2 MBAccounts
Spend Loyalty Points
This API method allows the calling application to spend accumulated points. Please note a) this endpoint could be used only for Point Accounts b) this endpoint also allows to adjust other than current balance (i.e. lifetimeSpend or lifetimeSpendValue)
patch/wallet/{walletId}/account/{accountId}/spend
Path parameters
walletIdstring string required
EES AIR Wallet ID
accountIdstring string required
EES AIR Wallet Account ID
Request body
Example request
{
"details": {
"details": {
"key1": "Value1",
"key2": "AnotherValue"
}
}
}Response
OK
Example response
{
"dateCreated": "2017-01-17T13:20:48+00:00",
"lastUpdated": "2017-01-17T13:20:48+00:00",
"children": [
{
"dateCreated": "2017-01-17T13:20:48+00:00",
"lastUpdated": "2017-01-17T13:20:48+00:00"
}
],
"rewardAccounts": [
{
"dateCreated": "2017-01-17T13:20:48+00:00",
"lastUpdated": "2017-01-17T13:20:48+00:00"
}
]
}