API for Querying License Rewards
This feature is currently only available to premium partners, enabling efficient querying of the license rewards in bulk.
Prerequisite
Please make sure you obtain x-ak
& x-sk
issued by Aethir.
Query License Rewards
Description
Retrieves the rewards (including bonus rewards) for the specified license IDs from the previous day
URL
https://app.aethir.com/console-api/v2/client/query-daily-reward
Method
POST
Rate Limit
Each x-ak
can make a request every 5 seconds.
Request Headers
x-ak
string
Yes
x-op-token
string
Yes
x-ak is a verification code issued to qualified premium partners.
x-op-token is consists of three parts
Header
A compact JSON string encoded with base64, representing the header.
Payload
A compact JSON string encoded with base64, representing the payload.
Signature
where
sk
is a verification code issued to qualified premium partners.
Request Body
Response
code
Number
API status code. 135000
indicates a successful request.
msg
String
Message indicating the result of the request.
data
Object
Contains the details of the reward data.
dailyReward
Object
Mapping of license IDs to their corresponding rewards.
rewardDate
String
Date for which the rewards are fetched (YYYY-MM-DD).
time
String
Timestamp when the response was generated (YYYY-MM-DD HH:MM:SS).
Last updated