POST api/zamedpayments/subscribe
Request Information
URI Parameters
None.
Body Parameters
ZamedPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | integer |
None. |
|
| ClientName | string |
None. |
|
| Phone | string |
None. |
|
| Network | string |
None. |
|
| Amount | decimal number |
None. |
|
| SchoolId | integer |
None. |
|
| AccountId | integer |
None. |
|
| Purpose | string |
None. |
|
| QuoteId | integer |
None. |
|
| ReceiptReference | string |
None. |
|
| PaymentStatus | string |
None. |
|
| PaymentDate | date |
None. |
|
| Year | integer |
None. |
|
| Terms | string |
None. |
|
| Total | decimal number |
None. |
|
| LineTotal | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| PaymentMethod | string |
None. |
|
| CardNumber | string |
None. |
|
| CardExpiryMonth | string |
None. |
|
| CardExpiryYear | string |
None. |
|
| CardCvv | string |
None. |
|
| CallbackUrl | string |
None. |
|
| CardHolderName | string |
None. |
|
| CardHolderFirstName | string |
None. |
|
| CardHolderLastName | string |
None. |
|
| string |
None. |
||
| Currency | string |
None. |
|
| BillingStreetAddress | string |
None. |
|
| BillingCity | string |
None. |
|
| BillingState | string |
None. |
|
| BillingPostalCode | string |
None. |
|
| BillingCountry | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": 1,
"ClientName": "sample string 2",
"Phone": "sample string 3",
"Network": "sample string 4",
"Amount": 5.0,
"SchoolId": 6,
"AccountId": 7,
"Purpose": "sample string 8",
"QuoteId": 9,
"ReceiptReference": "sample string 10",
"PaymentStatus": "sample string 11",
"PaymentDate": "2026-07-06T09:23:22.6328999+02:00",
"Year": 13,
"Terms": "sample string 14",
"Total": 15.1,
"LineTotal": 16.1,
"UnitPrice": 17.1,
"PaymentMethod": "sample string 18",
"CardNumber": "sample string 19",
"CardExpiryMonth": "sample string 20",
"CardExpiryYear": "sample string 21",
"CardCvv": "sample string 22",
"CallbackUrl": "sample string 23",
"CardHolderName": "sample string 24",
"CardHolderFirstName": "sample string 25",
"CardHolderLastName": "sample string 26",
"Email": "sample string 27",
"Currency": "sample string 28",
"BillingStreetAddress": "sample string 29",
"BillingCity": "sample string 30",
"BillingState": "sample string 31",
"BillingPostalCode": "sample string 32",
"BillingCountry": "sample string 33"
}
application/xml, text/xml
Sample:
<ZamedPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/zamprepapi.Models.Lenco"> <AccountId>7</AccountId> <Amount>5</Amount> <BillingCity>sample string 30</BillingCity> <BillingCountry>sample string 33</BillingCountry> <BillingPostalCode>sample string 32</BillingPostalCode> <BillingState>sample string 31</BillingState> <BillingStreetAddress>sample string 29</BillingStreetAddress> <CallbackUrl>sample string 23</CallbackUrl> <CardCvv>sample string 22</CardCvv> <CardExpiryMonth>sample string 20</CardExpiryMonth> <CardExpiryYear>sample string 21</CardExpiryYear> <CardHolderFirstName>sample string 25</CardHolderFirstName> <CardHolderLastName>sample string 26</CardHolderLastName> <CardHolderName>sample string 24</CardHolderName> <CardNumber>sample string 19</CardNumber> <ClientId>1</ClientId> <ClientName>sample string 2</ClientName> <Currency>sample string 28</Currency> <Email>sample string 27</Email> <LineTotal>16.1</LineTotal> <Network>sample string 4</Network> <PaymentDate>2026-07-06T09:23:22.6328999+02:00</PaymentDate> <PaymentMethod>sample string 18</PaymentMethod> <PaymentStatus>sample string 11</PaymentStatus> <Phone>sample string 3</Phone> <Purpose>sample string 8</Purpose> <QuoteId>9</QuoteId> <ReceiptReference>sample string 10</ReceiptReference> <SchoolId>6</SchoolId> <Terms>sample string 14</Terms> <Total>15.1</Total> <UnitPrice>17.1</UnitPrice> <Year>13</Year> </ZamedPaymentRequest>
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.