v1
latestOpenAPI 3.0.32026-07-243003151.2 MBServices
Redeem Account and Credit Loyalty Points
This API method allows the calling application to Redeem a Coupon Account and in turn Credit an existing Points Account within an individual consumer's wallet. It also creates an Account Transaction for each, and creates a REDEEM_CREDIT Wallet Transaction.
post/services/wallet/{walletId}/transaction/redeemCredit
Path parameters
walletIdstring string required
EES AIR Wallet ID
Request body
Example request
{
"redeemAccountId": "1000",
"creditAccountId": "1001",
"walletTransaction": {
"meta": {
"metaFoo": "metaBar"
}
},
"redeemAccountTransaction": {
"amount": 1000,
"details": {
"reason": "we want to redeem an account"
},
"reasonCode": "REDEEM"
},
"creditAccountTransaction": {
"amount": 1000,
"details": {
"reason": "we want to credit an account"
},
"reasonCode": "CREDIT"
},
"location": {
"storeId": "testOutletUnitIncomingIdentifier"
}
}Response
Created