curl --location --request GET '/v2/device-service/redeem-code/123456' \
--header 'X-Tg-App-Id;' \
--header 'X-Tg-Platform;' \
--header 'X-Tg-Sdk-Version;' \
--header 'Accept-Language;' \
--header 'X-Tg-App-Store: {{appstore}}' \
--header 'X-Tg-App-Pkgname;' \
--header 'Authorization;' \
--header 'X-Tg-Date;' \
--header 'X-Tg-App-Version: {{app_version}}'
{
"code": 200,
"data": {
"redeem_code": {
"status": 0
},
"service_unit": {
"service_id": 1000010,
"product_id": 1000010,
"name": "包看服务1年",
"price": 120,
"country_code": "CN",
"currency_code": "CNY",
"ability": {
"storage": null,
"ai": null,
"mobile_data": {
"traffic_limit": "10240M",
"limit_mode": "month"
},
"smart_box": null
},
"level": 1,
"version_name": "包看服务标准版",
"period": 30
}
},
"msg": "success",
"ok": 1,
"requestid": "e38d8ee1-01b7-48f3-9f05-d2ef3ad7e69a",
"status": "success"
}