Point
Point APIs reference
Summary
Create transactions involving SkyPoints, including point accrual and redemption
Methods
Point Redemption With Token
POST
https://api.skyjoy.vn/api-point/partner/v1/point-redemption-with-token
Headers
Authorization*
string
Bearer <YOUR_ACCESS_TOKEN>
Content-Type*
string
application/json
Request Body
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
usedPoint*
number
The number of points selected by the user for redemption. Must be a positive number
sign*
string
Signed data token
Point Accrual
POST
https://api.skyjoy.vn/api-point/partner/v1/point-accrual
Headers
Authorization*
string
Bearer <YOUR_ACCESS_TOKEN>
Content-Type*
string
application/json
Request Body
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
transactionCurrency*
string
The currency of the partner transaction. Default is VND
extraData
object
The customized data
Last updated
Was this helpful?