POST api/flight/payment/process
Request Information
URI Parameters
None.
Body Parameters
PaymentProcessRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | string |
None. |
|
| PaymentMethod | string |
None. |
|
| TotalPrice | decimal number |
None. |
|
| FeePayment | decimal number |
None. |
|
| Currency | string |
None. |
|
| FeeType | string |
None. |
|
| ReturnUrl | string |
None. |
|
| PaymentLink | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": "sample string 1",
"PaymentMethod": "sample string 2",
"TotalPrice": 3.0,
"FeePayment": 4.0,
"Currency": "sample string 5",
"FeeType": "sample string 6",
"ReturnUrl": "sample string 7",
"PaymentLink": "sample string 8"
}
application/xml, text/xml
Sample:
<PaymentProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models"> <Currency>sample string 5</Currency> <FeePayment>4</FeePayment> <FeeType>sample string 6</FeeType> <OrderId>sample string 1</OrderId> <PaymentLink>sample string 8</PaymentLink> <PaymentMethod>sample string 2</PaymentMethod> <ReturnUrl>sample string 7</ReturnUrl> <TotalPrice>3</TotalPrice> </PaymentProcessRequest>
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.