POST api/adminsubscribers/ChequePayment?UserId={UserId}&UserRole={UserRole}&CustomAmtPay={CustomAmtPay}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| UserRole | integer |
Required |
|
| CustomAmtPay | boolean |
Required |
Body Parameters
AddPaymentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | integer |
None. |
|
| SubscriptionTypeId | integer |
None. |
|
| CustomerName | string |
None. |
|
| PaymentNum | string |
None. |
|
| Amount | decimal number |
None. |
|
| Charges | decimal number |
None. |
|
| PaymentDate | date |
None. |
|
| ChequeNum | string |
None. |
|
| Note | string |
None. |
|
| cardnumber | string |
None. |
|
| paymentmethod | integer |
None. |
|
| SubscriberId | integer |
None. |
|
| InvoiceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentId": 1,
"SubscriptionTypeId": 1,
"CustomerName": "sample string 1",
"PaymentNum": "sample string 2",
"Amount": 1.0,
"Charges": 1.0,
"PaymentDate": "2026-04-15T18:49:50.7534729+00:00",
"ChequeNum": "sample string 3",
"Note": "sample string 4",
"cardnumber": "sample string 5",
"paymentmethod": 6,
"SubscriberId": 7,
"InvoiceId": 1
}
application/xml, text/xml
Sample:
<AddPaymentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.Models"> <Amount>1</Amount> <Charges>1</Charges> <ChequeNum>sample string 3</ChequeNum> <CustomerName>sample string 1</CustomerName> <InvoiceId>1</InvoiceId> <Note>sample string 4</Note> <PaymentDate>2026-04-15T18:49:50.7534729+00:00</PaymentDate> <PaymentId>1</PaymentId> <PaymentNum>sample string 2</PaymentNum> <SubscriberId>7</SubscriberId> <SubscriptionTypeId>1</SubscriptionTypeId> <cardnumber>sample string 5</cardnumber> <paymentmethod>6</paymentmethod> </AddPaymentViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.