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 to get the balance whenever required.
- The request/response format below is 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
Content-Type: application/json
Sample Request
JSON (POST)
Sample Request Schema
| Parameters | Description |
|---|---|
| auth_token | An authorisation value to successfully allow the request from Xoxoday to your system. This value is to be sent by the client during SSO redirection |
| unique_id | Unique identifier of the user |
| order_id | Order ID of the order |
| redemption_amount | Points/Amount used by the user |
Sample Response Schema
Sample Response Schema
| Parameters | Description |
|---|---|
| status | 1 = Successful / 0 = Failure |
| message | Indicates the API’s success/failure |
| data.transaction_id | Order ID of the voucher |
| data.points | Points refunded |
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.
Note: Refunds must be initiated against an existing Order ID. The refund amount cannot exceed the original order value associated with that Order ID.

