Informacion de persona natural API

Crea un registro de persona natural.

Crear un registro de persona natural

POST /internal/v1/clients/personal_informations

Parameters

Name Description
birthday Fecha de nacimiento YYYY/MM/DD
first_name Nombres
last_name Apellidos
gender Sexo
marital_status Estado civil, opciones: single married divorcee widower
nationality Nacionalidad
politically_exposed Es una persona politcamente expuesta
document_type Tipo de documento
document_number Numero de documento
front_document Foto frontal del documento
back_document Foto dorso del documento
dni_selfie Foto tipo selfie con el docuemntos

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Host: example.org
Cookie: 

Route

POST /internal/v1/clients/personal_informations

Body

{"birthday":"1990-08-10","first_name":"Juan","last_name":"Fernandez","gender":"Hombre","marital_status":"divorcee","nationality":"Argentino","politically_exposed":false,"document_type":"cuil","document_number":"9999999","front_document":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fb1e5dddcb0\u003e","content_type":"text/plain"},"back_document":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fb1e5dddcb0\u003e","content_type":"text/plain"},"dni_selfie":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fb1e5dddcb0\u003e","content_type":"text/plain"}}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"a2eb5afe96923f6d70b81aff82463d0d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7f998c2e-8798-437c-8891-5455da1ec7c7
X-Runtime: 0.102596
Vary: Origin
Content-Length: 353

Status

200 OK

Body

{
  "data": {
    "id": 35,
    "first_name": "Juan",
    "last_name": "Fernandez",
    "nationality": "Argentino",
    "gender": "Hombre",
    "marital_status": "divorcee",
    "politically_exposed": false,
    "birthday": "1990-08-10",
    "client_id": 7777,
    "created_at": "2023-04-19T17:15:40.536Z",
    "updated_at": "2023-04-19T17:15:40.539Z",
    "document_type": "cuil",
    "document_number": "9999999",
    "state": "checking"
  }
}