curl --request POST \
--url https://api.fintoc.com/v2/entities \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"country_code": "MX",
"holder_name": "Test Entity 1",
"holder_id": "AAA010101AAA"
}
'{
"id": "ent_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"object": "entity",
"capabilities": {
"account_holder": {
"status": "waiting_initialization"
},
"settlement_recipient": {
"status": "waiting_initialization"
}
},
"country_code": "mx",
"holder_id": "AAA010101AAA",
"holder_name": "Test Entity 1",
"is_root": false,
"mode": "test",
"status": "waiting_initialization"
}Crear una entidad
curl --request POST \
--url https://api.fintoc.com/v2/entities \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"country_code": "MX",
"holder_name": "Test Entity 1",
"holder_id": "AAA010101AAA"
}
'{
"id": "ent_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"object": "entity",
"capabilities": {
"account_holder": {
"status": "waiting_initialization"
},
"settlement_recipient": {
"status": "waiting_initialization"
}
},
"country_code": "mx",
"holder_id": "AAA010101AAA",
"holder_name": "Test Entity 1",
"is_root": false,
"mode": "test",
"status": "waiting_initialization"
}Cuerpo
ISO 3166-1 alpha-2 country code of the entity. In Mexico, the country_code value determines which holder_id values Fintoc accepts: use MX for Mexican entities, or another code, such as US, for foreign entities. In Chile, country_code does not change the holder_id requirements.
"MX"
Tax identifier of the entity owner. In Chile, use a Chilean tax ID (RUT). This field is always required in Chile, regardless of country_code. In Mexico, use a Mexican tax ID (RFC) without dots or hyphens when country_code is MX. For foreign entities in Mexico, omit this field or send the generic foreign RFC XEXX010101000; Fintoc rejects any other value. The value must be unique within your organization, except XEXX010101000, which can repeat across foreign entities in Mexico.
"AAA010101AAA"
Respuesta
The created entity.
Overall status of the entity. The value is the most advanced status across the entity's capabilities. Statuses rank from least to most advanced: canceled, rejected, waiting_initialization, draft, under_review, pending_signature, paused y operational. Use capabilities to check each capability on its own.
draft, under_review, pending_signature, canceled, waiting_initialization, operational, rejected, paused "operational"
¿Esta página le ayudó?