POST api/OnOvPay/MakePayment
Request Information
URI Parameters
None.
Body Parameters
OnovCustomerCreateRequestModelName | Description | Type | Additional information |
---|---|---|---|
NameOnCard | string |
None. |
|
string |
None. |
||
CardNo | string |
None. |
|
ExpireYear | integer |
None. |
|
ExpireMonth | integer |
None. |
|
CVV | string |
None. |
|
PaymentAmount | decimal number |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
ZipCode | string |
None. |
|
CountryID | integer |
None. |
|
StateID | integer |
None. |
|
CityID | integer |
None. |
|
CustomerID | integer |
None. |
|
CustomerName | string |
None. |
|
Phone | string |
None. |
|
APIKey | string |
None. |
|
Currency | string |
None. |
|
Description | string |
None. |
|
CardType | string |
None. |
|
UserID | integer |
None. |
|
InvoiceID | integer |
None. |
|
TransactionID | string |
None. |
|
paymentId | integer |
None. |
|
paymentItemId | integer |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "nameOnCard": "sample string 1", "email": "sample string 2", "cardNo": "sample string 3", "expireYear": 4, "expireMonth": 5, "cvv": "sample string 6", "paymentAmount": 7.0, "address1": "sample string 8", "address2": "sample string 9", "zipCode": "sample string 10", "countryID": 11, "stateID": 12, "cityID": 13, "customerID": 14, "customerName": "sample string 15", "phone": "sample string 16", "apiKey": "sample string 17", "currency": "sample string 18", "description": "sample string 19", "cardType": "sample string 20", "userID": 1, "invoiceID": 1, "transactionID": "sample string 21", "paymentId": 22, "paymentItemId": 23 }
application/xml, text/xml
Sample:
<OnovCustomerCreateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"> <APIKey>sample string 17</APIKey> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <CVV>sample string 6</CVV> <CardNo>sample string 3</CardNo> <CardType>sample string 20</CardType> <CityID>13</CityID> <CountryID>11</CountryID> <Currency>sample string 18</Currency> <CustomerID>14</CustomerID> <CustomerName>sample string 15</CustomerName> <Description>sample string 19</Description> <Email>sample string 2</Email> <ExpireMonth>5</ExpireMonth> <ExpireYear>4</ExpireYear> <InvoiceID>1</InvoiceID> <NameOnCard>sample string 1</NameOnCard> <PaymentAmount>7</PaymentAmount> <Phone>sample string 16</Phone> <StateID>12</StateID> <TransactionID>sample string 21</TransactionID> <UserID>1</UserID> <ZipCode>sample string 10</ZipCode> <paymentId>22</paymentId> <paymentItemId>23</paymentItemId> </OnovCustomerCreateRequestModel>
multipart/form-data
Sample:
<OnovCustomerCreateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><APIKey>sample string 17</APIKey><Address1>sample string 8</Address1><Address2>sample string 9</Address2><CVV>sample string 6</CVV><CardNo>sample string 3</CardNo><CardType>sample string 20</CardType><CityID>13</CityID><CountryID>11</CountryID><Currency>sample string 18</Currency><CustomerID>14</CustomerID><CustomerName>sample string 15</CustomerName><Description>sample string 19</Description><Email>sample string 2</Email><ExpireMonth>5</ExpireMonth><ExpireYear>4</ExpireYear><InvoiceID>1</InvoiceID><NameOnCard>sample string 1</NameOnCard><PaymentAmount>7</PaymentAmount><Phone>sample string 16</Phone><StateID>12</StateID><TransactionID>sample string 21</TransactionID><UserID>1</UserID><ZipCode>sample string 10</ZipCode><paymentId>22</paymentId><paymentItemId>23</paymentItemId></OnovCustomerCreateRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OnOvResponceDataModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Status | string |
None. |
|
Message | string |
None. |
|
IsSuccess | boolean |
None. |
|
Amount | integer |
None. |
|
Currency | string |
None. |
|
CustomerId | string |
None. |
|
PaymentMethodId | string |
None. |
|
CreatedAt | date |
None. |
|
ConfirmedAt | date |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "id": "sample string 1", "status": "sample string 2", "message": "sample string 3", "isSuccess": true, "amount": 5, "currency": "sample string 6", "customerId": "sample string 7", "paymentMethodId": "sample string 8", "createdAt": "2025-07-17T05:18:27.2827818+00:00", "confirmedAt": "2025-07-17T05:18:27.2827818+00:00" }
application/xml, text/xml
Sample:
<OnOvResponceDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <Amount>5</Amount> <ConfirmedAt>2025-07-17T05:18:27.2827818+00:00</ConfirmedAt> <CreatedAt>2025-07-17T05:18:27.2827818+00:00</CreatedAt> <Currency>sample string 6</Currency> <CustomerId>sample string 7</CustomerId> <Id>sample string 1</Id> <IsSuccess>true</IsSuccess> <Message>sample string 3</Message> <PaymentMethodId>sample string 8</PaymentMethodId> <Status>sample string 2</Status> </OnOvResponceDataModel>
multipart/form-data
Sample:
<OnOvResponceDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Amount>5</Amount><ConfirmedAt>2025-07-17T05:18:27.2827818+00:00</ConfirmedAt><CreatedAt>2025-07-17T05:18:27.2827818+00:00</CreatedAt><Currency>sample string 6</Currency><CustomerId>sample string 7</CustomerId><Id>sample string 1</Id><IsSuccess>true</IsSuccess><Message>sample string 3</Message><PaymentMethodId>sample string 8</PaymentMethodId><Status>sample string 2</Status></OnOvResponceDataModel>