POST http://sdk.ddyun.com/api/CommonSDK/BuyOrderCheck
购买余量检测
Request Information
URI Parameters
None.
Body Parameters
BuyOrderCheckParam| Name | Description | Type | Additional information |
|---|---|---|---|
| cardtype |
卡类 |
integer |
None. |
| buynum |
购买数量 |
integer |
None. |
| isupcheck |
是否升级检测 |
boolean |
None. |
| openid |
用户OPENID |
string |
None. |
| appkey |
商户Key |
string |
None. |
| timestamp |
时间戳 |
integer |
None. |
| noncestr |
随机字符,使签名不可预测 |
string |
None. |
| sign |
签名信息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardType": 1,
"BuyNum": 2,
"IsUpCheck": true,
"OpenID": "sample string 4",
"AppKey": "sample string 5",
"Timestamp": 6,
"NonceStr": "sample string 7",
"Sign": "sample string 8"
}
application/x-www-form-urlencoded
Sample:
CardType=0&BuyNum=0&IsUpCheck=False&OpenID=&AppKey=&Timestamp=0&NonceStr=&Sign=
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
购买余量检测
SDKBaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
错误码 |
SDKResultCode |
None. |
| msg |
错误消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 0,
"Msg": "sample string 1"
}