POST api/Recharge
Request Information
URI Parameters
None.
Body Parameters
CommunicationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Cent | unsigned integer |
None. |
|
| CustomPrices | Collection of CustomPrice |
None. |
|
| ClientAppId | string |
None. |
|
| PayType | PayType |
None. |
|
| Direct | TradeDirect |
None. |
|
| Description | string |
None. |
|
| BuyerHost | string |
None. |
|
| AccountId | globally unique identifier |
None. |
|
| OuterSystemId | globally unique identifier |
None. |
|
| OuterOrderId | string |
None. |
|
| Amount | unsigned integer |
None. |
|
| Remark | string |
None. |
|
| Sign | string |
None. |
|
| Id | string |
None. |
|
| Callback | string |
None. |
|
| State | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Cent": 1,
"CustomPrices": [
{
"PersonId": "f3bfda8a-3f73-4996-a643-aebf8b9c90aa",
"Price": 2
},
{
"PersonId": "f3bfda8a-3f73-4996-a643-aebf8b9c90aa",
"Price": 2
}
],
"ClientAppId": "sample string 2",
"PayType": 0,
"Direct": 2,
"Description": "sample string 3",
"BuyerHost": "sample string 4",
"AccountId": "dc28fa98-a2d7-433c-9cc5-28bb36a80741",
"OuterSystemId": "c9f93bd8-d823-47df-b1fc-7e7d4124ab6c",
"OuterOrderId": "sample string 7",
"Amount": 8,
"Remark": "sample string 9",
"Sign": "sample string 10",
"Id": "sample string 11",
"Callback": "sample string 12",
"State": "sample string 13"
}
application/xml, text/xml
Sample:
<CommunicationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Desn.FastTransaction.Reports.WebApi.Models">
<Callback>sample string 12</Callback>
<Id>sample string 11</Id>
<State>sample string 13</State>
<AccountId>dc28fa98-a2d7-433c-9cc5-28bb36a80741</AccountId>
<Amount>8</Amount>
<OuterOrderId>sample string 7</OuterOrderId>
<OuterSystemId>c9f93bd8-d823-47df-b1fc-7e7d4124ab6c</OuterSystemId>
<Remark>sample string 9</Remark>
<Sign>sample string 10</Sign>
<BuyerHost>sample string 4</BuyerHost>
<Cent>1</Cent>
<ClientAppId>sample string 2</ClientAppId>
<CustomPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/Desn.FastTransaction.Reports.DataDefinition">
<d2p1:CustomPrice>
<d2p1:PersonId>f3bfda8a-3f73-4996-a643-aebf8b9c90aa</d2p1:PersonId>
<d2p1:Price>2</d2p1:Price>
</d2p1:CustomPrice>
<d2p1:CustomPrice>
<d2p1:PersonId>f3bfda8a-3f73-4996-a643-aebf8b9c90aa</d2p1:PersonId>
<d2p1:Price>2</d2p1:Price>
</d2p1:CustomPrice>
</CustomPrices>
<Description>sample string 3</Description>
<Direct>Expend</Direct>
<PayType>System</PayType>
</CommunicationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>