POST api/customer/payment
Request Information
URI Parameters
None.
Body Parameters
CustomerPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| MandiId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentDate | date |
None. |
|
| PaymentMode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"MandiId": 2,
"Amount": 3.0,
"PaymentDate": "2026-10-04T20:37:10.3021697+05:30",
"PaymentMode": "sample string 5"
}
application/xml, text/xml
Sample:
<CustomerPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshMandi.POS.API.Models"> <Amount>3</Amount> <CustomerId>1</CustomerId> <MandiId>2</MandiId> <PaymentDate>2026-10-04T20:37:10.3021697+05:30</PaymentDate> <PaymentMode>sample string 5</PaymentMode> </CustomerPaymentRequest>
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.