Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
⚠️ Important:
- This API must be implemented and hosted by the client.
- Xoxoday will consume this API whenever a redemption takes place.
- The request and response below are provided only as a sample to illustrate the structure that Xoxoday expects.
- Please ensure that your response is always in JSON format only, as our system does not support any other data types.
Sample Request and Response
Headers
- application/JSON
Sample Request
JSON (POST)
Sample Request Schema
| Parameter | Type | Requirement | Description |
|---|---|---|---|
unique_id | String (email / phone) | Required | Unique identifier for the user so that points are updated to the correct account. |
auth_token | String | Required | Authorization value to allow the request from Xoxoday. Can be hash, Basic Auth, Bearer token, etc. |
total_points_redeemed | Integer / Float | Required | Total number of redeemed points. |
order_id | String / Integer | Required | Unique Order ID that helps track the transaction. |
order_date | Integer (epoch) | Optional | Epoch timestamp of when the order was placed. |
orderData | Array | Optional | List of redeemed items, with product details (ID, name, category, price, quantity, and orderAmount). |
orderData[].product | Object | Optional | Contains details of the product being redeemed. |
Sample Response
Sample Response Schema
| Parameters | Description |
|---|---|
| status | 1 = success / 0 = failure |
| message | Indicates the APIs success/failure |
| order_id | Order ID of the item(s) ordered by the user |
Implementation Notes
- Xoxoday will only consume this API — the client must build and expose it.
- The
auth_tokenmust be provided by you undertpdobject when SSO Redirection API is called . - Make sure the API response includes accurate response status.

