POST api/flight/order/{orderCode}/payments
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderCode | string |
Required |
Body Parameters
AddPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentMethod | string |
None. |
|
| BankId | integer |
None. |
|
| CurrencyOrigin | string |
None. |
|
| AmountOrigin | decimal number |
None. |
|
| FeeOrigin | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentMethod": "sample string 1",
"BankId": 1,
"CurrencyOrigin": "sample string 2",
"AmountOrigin": 3.0,
"FeeOrigin": 4.0
}
application/xml, text/xml
Sample:
<AddPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models"> <AmountOrigin>3</AmountOrigin> <BankId>1</BankId> <CurrencyOrigin>sample string 2</CurrencyOrigin> <FeeOrigin>4</FeeOrigin> <PaymentMethod>sample string 1</PaymentMethod> </AddPaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.