Fetch Points API
Fetch Points API
Fetch the current reward points balance for a specific user. Can be used to display balances inside your own UI.
Real URL: POST https://stagingstores.xoxoday.com/chef/v1/oauth/api
POST
Fetch Points API
| **Property ** | ** Type ** | ** Description** |
|---|---|---|
user_data.email | String | User’s email ID to fetch balance. |
user_data.phone | String | User’s phone number to fetch balance. |
Response Schema
| **Path ** | ** Type ** | ** Description** |
|---|---|---|
| data | object | Root response object. |
| data.user_balance | object | Container for user points/balance data. |
| data.user_balance.success | number | API execution status (1 = success). |
| data.user_balance.message | string/null | API message (null when no message is returned). |
| data.user_balance.data | object | Actual points data. |
| data.user_balance.data.total | number | Total available reward points for the user. |
Authorizations
Authorization: Bearer <access_token>
Body
application/json
Response
User points balance returned successfully.
