POST api/payments/legalUser

Add a new legal user.

Request Information

URI Parameters

None.

Body Parameters

LegalUserAddDTO
NameDescriptionTypeAdditional information
Email

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.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "LegalRepresentativeFirstName": "sample string 2",
  "LegalRepresentativeLastName": "sample string 3",
  "LegalRepresentativeBirthday": "2025-06-26T11:50:06.1466623+00:00",
  "LegalRepresentativeCountryOfResidence": 5,
  "LegalRepresentativeNationality": 6
}

text/html

Sample:
{"Email":"sample string 1","LegalRepresentativeFirstName":"sample string 2","LegalRepresentativeLastName":"sample string 3","LegalRepresentativeBirthday":"2025-06-26T11:50:06.1466623+00:00","LegalRepresentativeCountryOfResidence":5,"LegalRepresentativeNationality":6}

application/xml, text/xml

Sample:
<LegalUserAddDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <Email>sample string 1</Email>
  <LegalRepresentativeBirthday>2025-06-26T11:50:06.1466623+00:00</LegalRepresentativeBirthday>
  <LegalRepresentativeCountryOfResidence>5</LegalRepresentativeCountryOfResidence>
  <LegalRepresentativeFirstName>sample string 2</LegalRepresentativeFirstName>
  <LegalRepresentativeLastName>sample string 3</LegalRepresentativeLastName>
  <LegalRepresentativeNationality>6</LegalRepresentativeNationality>
</LegalUserAddDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LegalUserAddDTO'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />