POST api/loans/{accountNumber}/payments/refund
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountNumber | integer |
Required |
Body Parameters
PaymentReversalRequestSubModelName | Description | Type | Additional information |
---|---|---|---|
PaymentId | integer |
None. |
|
Reason | string |
None. |
|
ChargeAmount | decimal number |
None. |
|
AccountNumber | integer |
None. |
|
Type | string |
None. |
|
PaymentType | string |
None. |
|
NewEffectiveDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaymentId": 1, "Reason": "sample string 2", "ChargeAmount": 3.0, "AccountNumber": 4, "Type": "sample string 5", "PaymentType": "sample string 6", "NewEffectiveDate": "2025-07-05T08:24:58.2573643+00:00" }
application/xml, text/xml
Sample:
<PaymentReversalRequestSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <AccountNumber>4</AccountNumber> <ChargeAmount>3</ChargeAmount> <NewEffectiveDate>2025-07-05T08:24:58.2573643+00:00</NewEffectiveDate> <PaymentId>1</PaymentId> <PaymentType>sample string 6</PaymentType> <Reason>sample string 2</Reason> <Type>sample string 5</Type> </PaymentReversalRequestSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.