POST api/payment/GetAllPayments
Request Information
URI Parameters
None.
Body Parameters
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PaymentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdAccount | integer |
None. |
|
| IdContract | integer |
None. |
|
| IdCompany | integer |
None. |
|
| CompanyName | string |
None. |
|
| AccountName | string |
None. |
|
| Date | date |
None. |
|
| Type | integer |
None. |
|
| PaymentPlan | integer |
None. |
|
| IdPayment | string |
None. |
|
| Amount | decimal number |
None. |
|
| RenewPeriod | integer |
None. |
|
| Status | string |
None. |
|
| ReturnCode | string |
None. |
|
| ReturnMessage | string |
None. |
|
| AuthorizationCode | string |
None. |
|
| Tid | string |
None. |
|
| ProofOfSale | string |
None. |
|
| CardBanner | string |
None. |
|
| Canceled | boolean |
None. |
|
| CancelDate | date |
None. |
|
| Deleted | boolean |
None. |
|
| DeleteDate | date |
None. |
|
| paymentPlanName | string |
None. |
|
| processed | boolean |
None. |
|
| internalToken | string |
None. |
|
| token | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"IdAccount": 2,
"IdContract": 3,
"IdCompany": 4,
"CompanyName": "sample string 5",
"AccountName": "sample string 6",
"Date": "2025-12-13T11:15:09.2679865-03:00",
"Type": 8,
"PaymentPlan": 9,
"IdPayment": "sample string 10",
"Amount": 11.1,
"RenewPeriod": 12,
"Status": "sample string 13",
"ReturnCode": "sample string 14",
"ReturnMessage": "sample string 15",
"AuthorizationCode": "sample string 16",
"Tid": "sample string 17",
"ProofOfSale": "sample string 18",
"CardBanner": "sample string 19",
"Canceled": true,
"CancelDate": "2025-12-13T11:15:09.2679865-03:00",
"Deleted": true,
"DeleteDate": "2025-12-13T11:15:09.2679865-03:00",
"paymentPlanName": "sample string 24",
"processed": true,
"internalToken": "sample string 26",
"token": "sample string 27"
},
{
"Id": 1,
"IdAccount": 2,
"IdContract": 3,
"IdCompany": 4,
"CompanyName": "sample string 5",
"AccountName": "sample string 6",
"Date": "2025-12-13T11:15:09.2679865-03:00",
"Type": 8,
"PaymentPlan": 9,
"IdPayment": "sample string 10",
"Amount": 11.1,
"RenewPeriod": 12,
"Status": "sample string 13",
"ReturnCode": "sample string 14",
"ReturnMessage": "sample string 15",
"AuthorizationCode": "sample string 16",
"Tid": "sample string 17",
"ProofOfSale": "sample string 18",
"CardBanner": "sample string 19",
"Canceled": true,
"CancelDate": "2025-12-13T11:15:09.2679865-03:00",
"Deleted": true,
"DeleteDate": "2025-12-13T11:15:09.2679865-03:00",
"paymentPlanName": "sample string 24",
"processed": true,
"internalToken": "sample string 26",
"token": "sample string 27"
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models">
<PaymentModel>
<AccountName>sample string 6</AccountName>
<Amount>11.1</Amount>
<AuthorizationCode>sample string 16</AuthorizationCode>
<CancelDate>2025-12-13T11:15:09.2679865-03:00</CancelDate>
<Canceled>true</Canceled>
<CardBanner>sample string 19</CardBanner>
<CompanyName>sample string 5</CompanyName>
<Date>2025-12-13T11:15:09.2679865-03:00</Date>
<DeleteDate>2025-12-13T11:15:09.2679865-03:00</DeleteDate>
<Deleted>true</Deleted>
<Id>1</Id>
<IdAccount>2</IdAccount>
<IdCompany>4</IdCompany>
<IdContract>3</IdContract>
<IdPayment>sample string 10</IdPayment>
<PaymentPlan>9</PaymentPlan>
<ProofOfSale>sample string 18</ProofOfSale>
<RenewPeriod>12</RenewPeriod>
<ReturnCode>sample string 14</ReturnCode>
<ReturnMessage>sample string 15</ReturnMessage>
<Status>sample string 13</Status>
<Tid>sample string 17</Tid>
<Type>8</Type>
<internalToken>sample string 26</internalToken>
<paymentPlanName>sample string 24</paymentPlanName>
<processed>true</processed>
<token>sample string 27</token>
</PaymentModel>
<PaymentModel>
<AccountName>sample string 6</AccountName>
<Amount>11.1</Amount>
<AuthorizationCode>sample string 16</AuthorizationCode>
<CancelDate>2025-12-13T11:15:09.2679865-03:00</CancelDate>
<Canceled>true</Canceled>
<CardBanner>sample string 19</CardBanner>
<CompanyName>sample string 5</CompanyName>
<Date>2025-12-13T11:15:09.2679865-03:00</Date>
<DeleteDate>2025-12-13T11:15:09.2679865-03:00</DeleteDate>
<Deleted>true</Deleted>
<Id>1</Id>
<IdAccount>2</IdAccount>
<IdCompany>4</IdCompany>
<IdContract>3</IdContract>
<IdPayment>sample string 10</IdPayment>
<PaymentPlan>9</PaymentPlan>
<ProofOfSale>sample string 18</ProofOfSale>
<RenewPeriod>12</RenewPeriod>
<ReturnCode>sample string 14</ReturnCode>
<ReturnMessage>sample string 15</ReturnMessage>
<Status>sample string 13</Status>
<Tid>sample string 17</Tid>
<Type>8</Type>
<internalToken>sample string 26</internalToken>
<paymentPlanName>sample string 24</paymentPlanName>
<processed>true</processed>
<token>sample string 27</token>
</PaymentModel>
</ArrayOfPaymentModel>