POST api/User/RechargeQuota
Request Information
URI Parameters
None.
Body Parameters
RechargeQuotaRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"sessionId": "sample string 2",
"pCode": 3
}
application/xml, text/xml
Sample:
<RechargeQuotaRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst"> <pCode xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">3</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 2</sessionId> <Amount>1</Amount> </RechargeQuotaRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RechargeQuotaResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| timeStamp | string |
None. |
|
| nonceStr | string |
None. |
|
| _package | string |
None. |
|
| paySign | string |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"timeStamp": "sample string 1",
"nonceStr": "sample string 2",
"_package": "sample string 3",
"paySign": "sample string 4",
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 6",
"returnUrl": "sample string 7"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.