get_smartshopper_balance
Checks the customer's Smart Shopper loyalty points balance and available rewards.
Platform Support
| Platform | Status | Notes |
|---|---|---|
| iOS | Yes | — |
| Android | Yes | — |
Authentication Required
The user must be signed in to use this tool.
Description
Get the user's Smart Shopper loyalty points balance
Parameters
This tool takes no parameters.
Response
| Field | Type | Description |
|---|---|---|
points_balance | integer | Current points balance |
rand_value | string | Rand value of points (e.g. "R45.00") |
Error Codes
| Code | Description |
|---|---|
AUTH_REQUIRED | User must be signed in |
SMARTSHOPPER_UNAVAILABLE | Loyalty service is temporarily unavailable |
Source Files
- iOS:
one-app-ios-chat/Chat/Sources/Chat/MCP/EcommerceMCPServer.swift - Android:
chat-pnp-android/mcp-ecommerce/src/main/java/pnp/app/mcp/ecommerce/tools/EcommerceMCPTools.kt