POST Payment/MakePayment?LocationUnitID={LocationUnitID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LocationUnitID | integer |
Required |
Body Parameters
_clsPaymentDetailsName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
Amount | decimal number |
None. |
|
Currency | string |
None. |
|
Ordernumber | string |
None. |
|
Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "Amount": 2.1, "Currency": "sample string 3", "Ordernumber": "sample string 4", "Reason": "sample string 5" }
application/xml, text/xml
Sample:
<_clsPaymentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KayakSharingWebApi.Core.Model"> <Amount>2.1</Amount> <Currency>sample string 3</Currency> <Ordernumber>sample string 4</Ordernumber> <Reason>sample string 5</Reason> <UserId>1</UserId> </_clsPaymentDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |