POST api/easywallet/CalculationWithdrawalFees?sign={sign}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sign | string |
Required |
Body Parameters
CalculationWithdrawalFeesRequestName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
CurrencyCode | string |
Required |
|
WithdrawAmount | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "CurrencyCode": "sample string 2", "WithdrawAmount": 3.0 }
application/xml, text/xml
Sample:
<CalculationWithdrawalFeesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects.Wallet"> <CurrencyCode>sample string 2</CurrencyCode> <UserId>sample string 1</UserId> <WithdrawAmount>3</WithdrawAmount> </CalculationWithdrawalFeesRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CalculationWithdrawalFeesResponseName | Description | Type | Additional information |
---|---|---|---|
ReceiptAmount | decimal number |
None. |
|
BalanceAmountLeft | decimal number |
None. |
|
FeeA | decimal number |
None. |
|
FeeB | decimal number |
None. |
|
FeeC | decimal number |
None. |
|
FeeC_Percent | string |
None. |
|
CurrencySymbol | string |
None. |
|
WithdrawAmount | decimal number |
None. |
|
TotalFee | decimal number |
None. |
|
Status | integer |
Required |
|
Code | integer |
Required |
|
Message | string |
Required |
Response Formats
application/json, text/json
Sample:
{ "ReceiptAmount": 1.0, "BalanceAmountLeft": 2.0, "FeeA": 3.0, "FeeB": 4.0, "FeeC": 5.0, "FeeC_Percent": "sample string 6", "CurrencySymbol": "sample string 7", "WithdrawAmount": 8.0, "TotalFee": 9.0, "Status": 10, "Code": 11, "Message": "sample string 12" }
application/xml, text/xml
Sample:
<CalculationWithdrawalFeesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects.Wallet"> <Code xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects">11</Code> <Message xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects">sample string 12</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects">10</Status> <BalanceAmountLeft>2</BalanceAmountLeft> <CurrencySymbol>sample string 7</CurrencySymbol> <FeeA>3</FeeA> <FeeB>4</FeeB> <FeeC>5</FeeC> <FeeC_Percent>sample string 6</FeeC_Percent> <ReceiptAmount>1</ReceiptAmount> <TotalFee>9</TotalFee> <WithdrawAmount>8</WithdrawAmount> </CalculationWithdrawalFeesResponse>