curl --request POST \
--url https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "onbprc_0ujsswThIGTUYm2K8FjOOfXtY1K",
"object": "onboarding",
"entity_id": "ent_8anBwgZktbZH6ydyHa6Tm0eM",
"status": "submitted",
"source": "api",
"submitted_at": "2024-01-01T00:00:00Z",
"reviewed_at": null,
"submittable": false,
"data": {
"company_information": {
"incorporation_date": "2020-01-15T00:00:00.000Z",
"business_activity": "Servicios financieros",
"sector": "ecommerce",
"fiscal_address": "Av. Reforma 123, CDMX",
"business_address": "Av. Insurgentes 456, CDMX",
"settlement_account": "000000000000000000",
"phone": "+521111111111"
},
"transactional_profile": {
"resource_origins": [
"trusts",
"investments"
],
"monthly_amount_range": "1_2000000",
"monthly_operations_range": "1_15000",
"account_purpose": "own_sales_collection",
"declaration_accepted": true
}
},
"legal_representatives": [
{
"id": "onblr_0ujsswThIGTUYm2K8FjOOfXtY1K",
"object": "onboarding_legal_representative",
"first_name": "Test Customer 1",
"last_name": "Customer",
"email": "rep@example.com",
"nationality": "mx",
"identification_number": "AAAA010101HDFAAA01",
"position": "Director General",
"documents": [
{
"slot_key": "identification",
"status": "uploaded",
"filename": "id.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "power_of_attorney",
"status": "uploaded",
"filename": "poa.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
]
}
],
"shareholders": [
{
"id": "onbsh_0ujsswThIGTUYm2K8FjOOfXtY1K",
"object": "onboarding_shareholder",
"type": "natural_person",
"name": "Test Customer 2",
"last_name": "Customer",
"percentage": 60,
"holder_id": "AAAA010101AAA",
"parent_id": null,
"document": {
"slot_key": "identification",
"status": "uploaded",
"filename": "id.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
},
{
"id": "onbsh_8anBwgZktbZH6ydyHa6Tm0eM",
"object": "onboarding_shareholder",
"type": "legal_entity",
"name": "Acme SA",
"percentage": 40,
"holder_id": "AAA010101AAA",
"parent_id": null,
"document": {
"slot_key": "articles_of_incorporation",
"status": "uploaded",
"filename": "articles_of_incorporation.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
},
{
"id": "onbsh_9bnCxhAlucAI7zezIb7Un1fN",
"object": "onboarding_shareholder",
"type": "natural_person",
"name": "Test Customer 3",
"last_name": "Customer",
"percentage": 80,
"holder_id": "AAAA010101AAA",
"parent_id": "onbsh_8anBwgZktbZH6ydyHa6Tm0eM",
"document": {
"slot_key": "identification",
"status": "uploaded",
"filename": "id.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
}
],
"documents": [
{
"slot_key": "tax_registration_certificate",
"status": "uploaded",
"filename": "csf.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "settlement_bank_statement",
"status": "uploaded",
"filename": "bank_statement.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "proof_of_address",
"status": "uploaded",
"filename": "proof_of_address.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "shareholder_structure",
"status": "uploaded",
"filename": "shareholder_structure.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "articles_of_incorporation",
"status": "uploaded",
"filename": "articles_of_incorporation.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
]
}Submit an onboarding
Use this endpoint to submit an onboarding for review once every requirement is met. The onboarding must have the in_progress status, completed required fields, and uploaded required documents. The required documents depend on the onboarding answers. For example, a Chilean account holder with plaft.uaf_obligated set to true needs uaf_registration_certificate and plaft_manual_and_policies. On success, the onboarding moves to the submitted status and can no longer be modified.
curl --request POST \
--url https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit \
--header 'Authorization: <api-key>'import requests
url = "https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v2/entities/{entity_id}/onboardings/{id}/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "onbprc_0ujsswThIGTUYm2K8FjOOfXtY1K",
"object": "onboarding",
"entity_id": "ent_8anBwgZktbZH6ydyHa6Tm0eM",
"status": "submitted",
"source": "api",
"submitted_at": "2024-01-01T00:00:00Z",
"reviewed_at": null,
"submittable": false,
"data": {
"company_information": {
"incorporation_date": "2020-01-15T00:00:00.000Z",
"business_activity": "Servicios financieros",
"sector": "ecommerce",
"fiscal_address": "Av. Reforma 123, CDMX",
"business_address": "Av. Insurgentes 456, CDMX",
"settlement_account": "000000000000000000",
"phone": "+521111111111"
},
"transactional_profile": {
"resource_origins": [
"trusts",
"investments"
],
"monthly_amount_range": "1_2000000",
"monthly_operations_range": "1_15000",
"account_purpose": "own_sales_collection",
"declaration_accepted": true
}
},
"legal_representatives": [
{
"id": "onblr_0ujsswThIGTUYm2K8FjOOfXtY1K",
"object": "onboarding_legal_representative",
"first_name": "Test Customer 1",
"last_name": "Customer",
"email": "rep@example.com",
"nationality": "mx",
"identification_number": "AAAA010101HDFAAA01",
"position": "Director General",
"documents": [
{
"slot_key": "identification",
"status": "uploaded",
"filename": "id.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "power_of_attorney",
"status": "uploaded",
"filename": "poa.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
]
}
],
"shareholders": [
{
"id": "onbsh_0ujsswThIGTUYm2K8FjOOfXtY1K",
"object": "onboarding_shareholder",
"type": "natural_person",
"name": "Test Customer 2",
"last_name": "Customer",
"percentage": 60,
"holder_id": "AAAA010101AAA",
"parent_id": null,
"document": {
"slot_key": "identification",
"status": "uploaded",
"filename": "id.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
},
{
"id": "onbsh_8anBwgZktbZH6ydyHa6Tm0eM",
"object": "onboarding_shareholder",
"type": "legal_entity",
"name": "Acme SA",
"percentage": 40,
"holder_id": "AAA010101AAA",
"parent_id": null,
"document": {
"slot_key": "articles_of_incorporation",
"status": "uploaded",
"filename": "articles_of_incorporation.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
},
{
"id": "onbsh_9bnCxhAlucAI7zezIb7Un1fN",
"object": "onboarding_shareholder",
"type": "natural_person",
"name": "Test Customer 3",
"last_name": "Customer",
"percentage": 80,
"holder_id": "AAAA010101AAA",
"parent_id": "onbsh_8anBwgZktbZH6ydyHa6Tm0eM",
"document": {
"slot_key": "identification",
"status": "uploaded",
"filename": "id.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
}
],
"documents": [
{
"slot_key": "tax_registration_certificate",
"status": "uploaded",
"filename": "csf.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "settlement_bank_statement",
"status": "uploaded",
"filename": "bank_statement.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "proof_of_address",
"status": "uploaded",
"filename": "proof_of_address.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "shareholder_structure",
"status": "uploaded",
"filename": "shareholder_structure.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
},
{
"slot_key": "articles_of_incorporation",
"status": "uploaded",
"filename": "articles_of_incorporation.pdf",
"uploaded_at": "2024-01-01T00:00:00Z"
}
]
}Parámetros de ruta
Respuesta
Returns the onboarding after Fintoc submits it. The status is submitted.
Reviewed answers, grouped by step. The fields depend on the onboarding type and the entity's country. Chilean account holders include company_basics, company_information, senior_management, transactional_profile, and plaft. Mexican account holders include company_information and transactional_profile, with declaration_accepted set to true and incorporation_date returned as an ISO 8601 datetime in UTC.
{
"company_information": {
"incorporation_date": "2020-01-15T00:00:00.000Z",
"business_activity": "Servicios financieros",
"sector": "ecommerce",
"fiscal_address": "Av. Reforma 123, CDMX",
"business_address": "Av. Insurgentes 456, CDMX",
"settlement_account": "000000000000000000",
"phone": "+521111111111"
},
"transactional_profile": {
"resource_origins": ["trusts", "investments"],
"monthly_amount_range": "1_2000000",
"monthly_operations_range": "1_15000",
"account_purpose": "own_sales_collection",
"declaration_accepted": true
}
}
Document slots for the onboarding, with their upload status. A slot that accepts more than one file appears once per uploaded file, repeating its slot_key. A slot with no files appears once, with status set to missing. Chilean account holders always list uaf_registration_certificate and plaft_manual_and_policies, but you upload them only if plaft.uaf_obligated is true. Chilean account holders also list cmf_application_proof, the proof of a pending application with Chile's Financial Market Commission (CMF) or of the CMF authorization. Upload cmf_application_proof only if plaft.cmf_regulated is true and you don't send plaft.cmf_registration_number.
Show child attributes
Show child attributes
¿Esta página le ayudó?