余额查询 API

请求参数

参数位置必填
keyheaderkey
versionurl2.0

key in request header or url

返回示例

{
	"code": 0,
	"data": {
		"id": 9,  //用户ID
		"balance": 5310.25,  //余额
		"price": {  //接口价格
			"coverage": "0.2",
			"coverage-purchase": "0.2",
			"coverage-serial": "0.8",
			"fmi": "0.2",
			"icloud": "0.8",
			"repair": "0.2",
			"imeitosn": "0.6",
			"sntoimei": "0.6",
			"simlock": "0.8",
			"carrier": "1.2",
			"country": "0.8",
			"purchase": "1",
			"partnumber": "1",
			"mdmlock": "3",
			"details": "2",
			"details-purchase": "2.5",
			"details-simlock": "2.5",
			"details-carrier": "3",
			"details-part": "3"
		},
		"lastpaid": "2020-11-08 13:53:32"  //最近一次扣费时间
	}
}

余额概况 Response Header

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 580
Content-Type: application/json
Balance: 5310.25