Point
Point APIs reference
Summary
Create transactions involving SkyPoints, including point accrual and redemption
Methods
Point Redemption
POST
https://api.skyjoy.vn/api-point/partner/v1/point-redemption
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer <YOUR_ACCESS_TOKEN> |
Content-Type* | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
transactionId* | string | partner transactionID unique key |
transactionDes | string | partner transaction description |
transactionDate* | string | partner transaction date |
transactionAmount* | number | The amount of the partner transaction. Must be a non-negative number. |
skyjoyId* | string | The user identification key obtained from the login API. |
product | object | Partner-provided product information, such as product name, value, type, etc. |
usedPoint* | number | The number of points selected by the user for redemption. Must be a positive number. |
config | object | Customization configuration. |
Point Accrual
POST
https://api.skyjoy.vn/api-point/partner/v1/point-accrual
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer <YOUR_ACCESS_TOKEN> |
Content-Type* | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
skyjoyId* | string | The SkyID of the member to accrue points to |
transactionId* | string | The unique key for the partner transaction. |
itemId | string | The unique key for the partner transaction. |
transactionDes | object | The product information for the transaction. |
transactionDate* | string | The date of the partner transaction. |
transactionAmount* | number | The amount of the partner transaction. Must be a non-negative number. |
customerInfo | The customer information for the transaction. | |
config | The configuration for the accrual request. |
Last updated