Saltar al contenido principal
POST
Create entity
v2 · Base URL https://api.fintoc.com/v2

Autorizaciones

Authorization
string
header
requerido

Cuerpo

application/json
country_code
string
requerido

ISO 3166-1 alpha-2 country code of the entity. Use MX for a Mexican entity, or another code such as US for a foreign entity.

Ejemplo:

"MX"

holder_name
string
requerido

Legal name of the entity owner.

Ejemplo:

"Test Entity 1"

holder_id
string

Mexican tax ID (RFC) of the entity owner, without dots or hyphens. Required for a Mexican entity (country_code is MX). For a foreign entity, omit this field or send the generic foreign RFC XEXX010101000; Fintoc rejects any other value. Must be unique within your organization, except the generic foreign RFC XEXX010101000, which can repeat across foreign entities.

Ejemplo:

"AAA010101AAA"

Respuesta

The created entity.

id
string
requerido

Unique identifier of the entity.

Ejemplo:

"ent_2daFu0zqqDtZGJaSi2TGI2Mm1nN"

object
any
requerido

Type of the object. Always entity.

country_code
string | null
requerido

ISO 3166-1 alpha-2 country code of the entity, in lowercase, or null when not set. For example, cl or mx.

Ejemplo:

"mx"

holder_id
string
requerido

Mexican tax ID (RFC) of the entity owner, without dots or hyphens. For a foreign entity, the value is the generic foreign RFC XEXX010101000.

Ejemplo:

"AAA010101AAA"

holder_name
string
requerido

Legal name of the entity owner.

Ejemplo:

"Test Entity 1"

is_root
boolean
requerido

Whether this entity is your organization's root entity.

Ejemplo:

true

mode
enum<string>
requerido

Whether the entity belongs to live or test data. One of live or test.

Opciones disponibles:
live,
test
Ejemplo:

"test"

status
enum<string>
requerido

Current status of the entity. One of draft, under_review, pending_signature, canceled, waiting_initialization, operational, rejected, or paused.

Opciones disponibles:
draft,
under_review,
pending_signature,
canceled,
waiting_initialization,
operational,
rejected,
paused
Ejemplo:

"operational"