POST api/easywallet/RefundTransaction

Request Information

URI Parameters

None.

Body Parameters

Dictionary of string [key] and string [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Dictionary`2'.

Response Information

Resource Description

RefundTransactionResponse
NameDescriptionTypeAdditional information
Status

integer

Required

Code

integer

Required

Message

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Code": 2,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<RefundTransactionResponse 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">2</Code>
  <Message xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects">sample string 3</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Easybook.Api.BusinessLogic.ApiLogic.BusinessObjects">1</Status>
</RefundTransactionResponse>