POST api/Payment/CancelPendingPayment
Cancel the specified pending payment
Request Information
URI Parameters
None.
Body Parameters
The payment object
CancelPendingPaymentDtoName | Description | Type | Additional information |
---|---|---|---|
AccountNumber |
Account number |
string |
None. |
PaymentID |
PaymentID |
string |
None. |
PaymentType |
Payment Types: Sure Pay = 0, One Time Sure Pay = 1, Internet Phone Payment = 2, Phone Payment = 3, Credit Card = 4, One Time Credit Card = 5, Promise To Pay = 6. |
integer |
None. |
Amount |
Payment Amount |
decimal number |
None. |
PostDate |
Payment Post Date |
date |
None. |
AccountType |
AccountType: Loan = 0, PBS = 1. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountNumber": "sample string 1", "PaymentID": "sample string 2", "PaymentType": 3, "Amount": 4.1, "PostDate": "2025-01-09T11:36:44.9195898-07:00", "AccountType": 6 }
application/xml, text/xml
Sample:
<CancelPendingPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <AccountNumber>sample string 1</AccountNumber> <AccountType>6</AccountType> <Amount>4.1</Amount> <PaymentID>sample string 2</PaymentID> <PaymentType>3</PaymentType> <PostDate>2025-01-09T11:36:44.9195898-07:00</PostDate> </CancelPendingPaymentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Pending Payment updated successfully
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.