POST api/loans/{bhphAccountNumber}/postPayment/revert

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bhphAccountNumber

integer

Required

Body Parameters

ReversalPayment
NameDescriptionTypeAdditional information
Note

string

None.

Date

date

None.

PaymentAmount

decimal number

None.

ConvenienceFee

decimal number

None.

PaymentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Note": "sample string 1",
  "Date": "2025-07-05T07:49:55.1882301+00:00",
  "PaymentAmount": 3.0,
  "ConvenienceFee": 4.0,
  "PaymentType": "sample string 5"
}

application/xml, text/xml

Sample:
<ReversalPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Models">
  <ConvenienceFee>4</ConvenienceFee>
  <Date>2025-07-05T07:49:55.1882301+00:00</Date>
  <PaymentAmount>3</PaymentAmount>
  <PaymentType>sample string 5</PaymentType>
  <Note>sample string 1</Note>
</ReversalPayment>

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 'ReversalPayment'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.