POST api/RechargeAndExpend
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": "756a01f9-18cc-48e2-a771-6b9bec884e8c",
"Price": 2
},
{
"PersonId": "756a01f9-18cc-48e2-a771-6b9bec884e8c",
"Price": 2
}
],
"ClientAppId": "sample string 2",
"PayType": 0,
"Direct": 2,
"Description": "sample string 3",
"BuyerHost": "sample string 4",
"AccountId": "3bf5a339-f7ac-401c-a64d-f5d580f4c103",
"OuterSystemId": "8567ef9a-18a8-408c-a887-b8285203d937",
"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>3bf5a339-f7ac-401c-a64d-f5d580f4c103</AccountId>
<Amount>8</Amount>
<OuterOrderId>sample string 7</OuterOrderId>
<OuterSystemId>8567ef9a-18a8-408c-a887-b8285203d937</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>756a01f9-18cc-48e2-a771-6b9bec884e8c</d2p1:PersonId>
<d2p1:Price>2</d2p1:Price>
</d2p1:CustomPrice>
<d2p1:CustomPrice>
<d2p1:PersonId>756a01f9-18cc-48e2-a771-6b9bec884e8c</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>