Create entity and associate it with the integration
information
This feature is only available for certain types of integration.
warning
Creating the entity through this feature will follow all necessary regulatory compliance processes.
- Request
 - Response
 
POST /entities
{
    "clientId": "123456789",
    "name": "Entidade Teste Lda",
    "phoneNumber": "707451451",
    "address": "Estrada Regional 104 ",
    "postCode": "9000-025",
    "locality": "Funchal",
    "permanentCertificate": "1234-5678-9101",
    "economicActivity": {
        "section": "K",
        "code": 668
    },
    "availableMethods": [
        {
            "code": "CC"
        },
        {
            "code": "MB"
        },
        {
            "code": "MW"
        }
    ],
    "user": {
        "name": "John Doe",
        "taxNumber": "123456789",
        "email": "email@email.email",
        "phoneNumber": "960000000",
        "isPoliticallyExposedPerson": true
    }
}
{
  "clientId": "123456789",
  "name": "Entidade PayPay",
  "createdAt": "2021-10-07T17:01:19+00:00"
  "stateDetails": {
	"state": "pending",
	"updatedAt": "2021-10-07T17:01:19+00:00"
  }
}
The complete data structure, as well as the options for economicActivity and availableMethods can be consulted .