Get Loyalty Customer Wallet Run in API Explorer
Ask AI
Retrieve the loyalty points and cash amounts for a customer.
GET
/loyalty/{channelLinkId}/customer/wallet
curl \
--request GET 'https://api.staging.deliverect.com/loyalty/{channelLinkId}/customer/wallet' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
Result
{
"cash": {
"balance": 4.45,
"expirations": [
{
"amount": 2.5,
"date": "2020-01-01"
}
]
},
"points": {
"balance": 10.5,
"expirations": [
{
"amount": 5,
"date": "2020-01-01"
}
]
}
}
{
"cash": {
"balance": 0,
"expirations": []
},
"points": {
"balance": 10.5,
"expirations": [
{
"amount": 5,
"date": "2020-01-01"
}
]
}
}
Response examples (404)
{}