post http://127.0.0.1:9292/api/platforms//users
This endpoint allows creating a user for a given platform.
The role (role
) can be:
- 0 for payer
- 1 for owner The person type can be:
- "Persons::Natural"
- "Persons::Legal"
Depending on the combination (role / type), some fields may be required. Access requires a JWT authentication token.
For natural persons ("Persons::Natural") who must be designated as legal representatives, the parameter user_representative: "true"
must be added.
If a natural person ("Persons::Natural") is specified directly in the person
object, they are automatically considered the legal representative and do not require the user_representative: "true"
attribute. In this case, the system will reject with an error any attempt to designate another natural person as a legal representative in the persons
list.