POST api/payment-gateway/fee/upsert
Request Information
URI Parameters
None.
Body Parameters
PaymentFeeUpsertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PaymentTypeId | integer |
None. |
|
| SalesChannel | string |
None. |
|
| PaymentFeeCollectCustomer | decimal number |
None. |
|
| PaymentFeePayProvider | decimal number |
None. |
|
| PaymentFeeUnit | string |
None. |
|
| TransactionFeeCollectCustomer | decimal number |
None. |
|
| TransactionFeePayProvider | decimal number |
None. |
|
| TransactionFeeUnit | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"PaymentTypeId": 2,
"SalesChannel": "sample string 3",
"PaymentFeeCollectCustomer": 4.0,
"PaymentFeePayProvider": 5.0,
"PaymentFeeUnit": "sample string 6",
"TransactionFeeCollectCustomer": 7.0,
"TransactionFeePayProvider": 8.0,
"TransactionFeeUnit": "sample string 9",
"IsActive": true
}
application/xml, text/xml
Sample:
<PaymentFeeUpsertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models"> <Id>1</Id> <IsActive>true</IsActive> <PaymentFeeCollectCustomer>4</PaymentFeeCollectCustomer> <PaymentFeePayProvider>5</PaymentFeePayProvider> <PaymentFeeUnit>sample string 6</PaymentFeeUnit> <PaymentTypeId>2</PaymentTypeId> <SalesChannel>sample string 3</SalesChannel> <TransactionFeeCollectCustomer>7</TransactionFeeCollectCustomer> <TransactionFeePayProvider>8</TransactionFeePayProvider> <TransactionFeeUnit>sample string 9</TransactionFeeUnit> </PaymentFeeUpsertRequest>
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.