GET api/payments
Get payment info.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
PaymentInfoGetDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name of the legal user |
string |
None. |
|
The person's e-mail address - must be a valid e-mail |
string |
None. |
|
| LegalRepresentativeFirstName |
The first name of the company’s Legal representative person |
string |
None. |
| LegalRepresentativeLastName |
The last name of the company’s Legal representative person |
string |
None. |
| LegalRepresentativeBirthday |
The date of birth (UTC) of the company’s Legal representative person. |
date |
None. |
| LegalRepresentativeCountryOfResidence |
The country of residence of the company’s Legal representative person |
integer |
None. |
| LegalRepresentativeNationality |
The nationality of the company’s Legal representative person |
integer |
None. |
| ExpirationDate |
Credit card expiration date. |
date |
None. |
| From |
The beginning date of payments. |
date |
None. |
| To |
The ending date of payments. |
date |
None. |
| CardType |
Credit card type. |
integer |
None. |
| Alias |
A partially obfuscated version of the credit card number. |
string |
None. |
| Amount |
Amount to pay, in eurocents. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Email": "sample string 2",
"LegalRepresentativeFirstName": "sample string 3",
"LegalRepresentativeLastName": "sample string 4",
"LegalRepresentativeBirthday": "2025-12-16T04:07:09.5797423+00:00",
"LegalRepresentativeCountryOfResidence": 1,
"LegalRepresentativeNationality": 1,
"ExpirationDate": "2025-12-16T04:07:09.5797423+00:00",
"From": "2025-12-16T04:07:09.5797423+00:00",
"To": "2025-12-16T04:07:09.5797423+00:00",
"CardType": 1,
"Alias": "sample string 5",
"Amount": 6
}
text/html
Sample:
{"Name":"sample string 1","Email":"sample string 2","LegalRepresentativeFirstName":"sample string 3","LegalRepresentativeLastName":"sample string 4","LegalRepresentativeBirthday":"2025-12-16T04:07:09.5797423+00:00","LegalRepresentativeCountryOfResidence":1,"LegalRepresentativeNationality":1,"ExpirationDate":"2025-12-16T04:07:09.5797423+00:00","From":"2025-12-16T04:07:09.5797423+00:00","To":"2025-12-16T04:07:09.5797423+00:00","CardType":1,"Alias":"sample string 5","Amount":6}
application/xml, text/xml
Sample:
<PaymentInfoGetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <Alias>sample string 5</Alias> <Amount>6</Amount> <CardType>1</CardType> <Email>sample string 2</Email> <ExpirationDate>2025-12-16T04:07:09.5797423+00:00</ExpirationDate> <From>2025-12-16T04:07:09.5797423+00:00</From> <LegalRepresentativeBirthday>2025-12-16T04:07:09.5797423+00:00</LegalRepresentativeBirthday> <LegalRepresentativeCountryOfResidence>1</LegalRepresentativeCountryOfResidence> <LegalRepresentativeFirstName>sample string 3</LegalRepresentativeFirstName> <LegalRepresentativeLastName>sample string 4</LegalRepresentativeLastName> <LegalRepresentativeNationality>1</LegalRepresentativeNationality> <Name>sample string 1</Name> <To>2025-12-16T04:07:09.5797423+00:00</To> </PaymentInfoGetDTO>