Send Points API
Send Points API
Credit reward points to one or more recipients from the Super Admin wallet.
Real URL: POST https://stagingstores.xoxoday.com/chef/v1/oauth/api
POST
Send Points API
| **Property ** | ** Type ** | ** Description** |
|---|---|---|
variables.recipients_data.sender_email | String | Super Admin email sending the points. |
variables.recipients_data.expiry_month | Int/String | Expiry of points in month. |
variables.recipients_data.recipients | [Recipient] | List of recipient objects to whom balance will be sent. |
variables.recipients_data.recipients[].to_name | String | Recipient’s full name. |
variables.recipients_data.recipients[].to_email | String | Recipient’s email address. |
variables.recipients_data.recipients[].amount | String | Amount of balance/credits to be sent. |
variables.recipients_data.recipients[].citation | String | Purpose or reference note for the transaction. |
Response Schema
| Property | Type | Description |
|---|---|---|
data.unique_id | number | Unique identifier of the transaction. |
data.email | string | Email address of the recipient (optional). |
data.points | number | Number of points to be credited or transferred. |
data.name | string | Full name of the recipient user. |
data.phone_code | string | Country calling code of the recipient’s phone number. |
data.phone_number | string | Mobile number of the recipient user. |
Authorizations
Authorization: Bearer <access_token>
Body
application/json
Response
Points sent successfully.
