GET api/Payment/Surcharge

Check if a surcharge amount is applicable to the payment

Request Information

URI Parameters

None.

Body Parameters

The surcharge object

SurchargeDto
NameDescriptionTypeAdditional information
AccountNumber

string

None.

AccountType

string

None.

CcNumber

string

None.

PaymentAmt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountNumber": "sample string 1",
  "AccountType": "sample string 2",
  "CcNumber": "sample string 3",
  "PaymentAmt": "sample string 4"
}

application/xml, text/xml

Sample:
<SurchargeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models">
  <AccountNumber>sample string 1</AccountNumber>
  <AccountType>sample string 2</AccountType>
  <CcNumber>sample string 3</CcNumber>
  <PaymentAmt>sample string 4</PaymentAmt>
</SurchargeDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SurchargeDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.