GET api/EPaymentDebtor/GetMerchantFee?paymentAmount={paymentAmount}&accountID={accountID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
paymentAmount

decimal number

Required

accountID

integer

Required

Body Parameters

None.

Response Information

Resource Description

TotalEPaymentVM
NameDescriptionTypeAdditional information
MerchantFee

decimal number

None.

PaymentAmount

decimal number

None.

IsPercentage

boolean

None.

HostAmount

decimal number

None.

Total

decimal number

None.

Amount

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "MerchantFee": 1.0,
  "PaymentAmount": 1.0,
  "IsPercentage": true,
  "HostAmount": 1.0,
  "Total": 1.0,
  "Amount": 1.0
}

application/xml, text/xml

Sample:
<TotalEPaymentVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.EPayment">
  <Amount>1</Amount>
  <HostAmount>1</HostAmount>
  <IsPercentage>true</IsPercentage>
  <MerchantFee>1</MerchantFee>
  <PaymentAmount>1</PaymentAmount>
  <Total>1</Total>
</TotalEPaymentVM>