{
"device_id": "string"
}
curl --location --request POST '/v2/device-service/redeem-code/RKKRE8USW2V5' \
--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}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_id": "string"
}'
{
"code": 200,
"msg": "ok",
"data": {
"order_id": 70,
"merchant_number": "20190520160646984088060",
"service": {
"id": 70,
"order_id": 70,
"device_id": "1702D8OBYWWQ",
"iccid": "89861122241045896497",
"product_id": 70,
"service_id": 70,
"ability": {
"storage": {
"recording_mode": "INCIDENT",
"recording_content": [
"IMAGE"
],
"recording_ahead": 5,
"recording_duration": 30,
"recording_image_max": 5,
"recording_image_span": 3,
"save_days": 30
},
"ai": {
"algorithm": [
"body",
"pet"
]
},
"mobile_data": {
"traffic_limit": 500,
"limit_mode": "month"
},
"smart_box": {
"smart_box": [
"echo-show"
]
},
"p2p": {
"id": 1,
"traffic_limit": 500
},
"wx_voip": {
"id": 1
}
},
"level": 2,
"is_free": 0,
"contract_status": 0,
"status": 0,
"frozen_time": 1682666553,
"start_time": 1682666553,
"end_time": 1682666553,
"duration_status": 0
}
}
}