v1
latestOpenAPI 3.0.32026-07-243003151.2 MBServices
Spend Loyalty Points and Create Wallet Transaction
This API method allows the calling application to Spend from an EES AIR Account, Create an Account Transaction and create a SPEND Wallet Transaction
post/services/wallet/{walletId}/transaction/spend
Path parameters
walletIdstring string required
EES AIR Wallet ID
Request body
Example request
{
"balances": {
"current": 130,
"lifetime_spend": 800,
"lifetime_spend_value": 33
},
"accountId": "133121",
"walletTransaction": {
"meta": {
"metaFoo": "metaBar"
},
"transactionDateTime": "2020-04-01T15:15:14+00:00"
},
"spendAccountTransaction": {
"details": {
"detailsFoo": "detailsBar",
"reason": "A Reason #1"
},
"reasonCode": "AA"
},
"location": {
"storeId": "32432"
}
}Response
Created