curl --request POST \
--url https://api.jenzy.com/v2/child-orgs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "individual",
"individual": {
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "1982-03-24",
"email": "jsmith@example.com",
"phone": "+4922155501000",
"country_of_residence": "DE",
"nationality": "DE",
"address": {
"street_line_1": "<string>",
"city": "<string>",
"subdivision_code": "DE-NW",
"postal_code": "<string>",
"country": "DE",
"street_line_2": "<string>"
},
"identity_document": {
"number": "<string>",
"country": "DE",
"issue_date": "1982-03-24",
"expiry_date": "1982-03-24"
},
"financial_profile": {
"occupation_id": 123,
"purpose_id": 123,
"source_of_fund_ids": [
123
],
"monthly_volume_usd": 1,
"purpose_remarks": "<string>",
"source_of_funds_description": "<string>"
}
},
"reference": "cust_8812"
}
'import requests
url = "https://api.jenzy.com/v2/child-orgs"
payload = {
"type": "individual",
"individual": {
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "1982-03-24",
"email": "jsmith@example.com",
"phone": "+4922155501000",
"country_of_residence": "DE",
"nationality": "DE",
"address": {
"street_line_1": "<string>",
"city": "<string>",
"subdivision_code": "DE-NW",
"postal_code": "<string>",
"country": "DE",
"street_line_2": "<string>"
},
"identity_document": {
"number": "<string>",
"country": "DE",
"issue_date": "1982-03-24",
"expiry_date": "1982-03-24"
},
"financial_profile": {
"occupation_id": 123,
"purpose_id": 123,
"source_of_fund_ids": [123],
"monthly_volume_usd": 1,
"purpose_remarks": "<string>",
"source_of_funds_description": "<string>"
}
},
"reference": "cust_8812"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'individual',
individual: {
first_name: '<string>',
last_name: '<string>',
date_of_birth: '1982-03-24',
email: 'jsmith@example.com',
phone: '+4922155501000',
country_of_residence: 'DE',
nationality: 'DE',
address: {
street_line_1: '<string>',
city: '<string>',
subdivision_code: 'DE-NW',
postal_code: '<string>',
country: 'DE',
street_line_2: '<string>'
},
identity_document: {
number: '<string>',
country: 'DE',
issue_date: '1982-03-24',
expiry_date: '1982-03-24'
},
financial_profile: {
occupation_id: 123,
purpose_id: 123,
source_of_fund_ids: [123],
monthly_volume_usd: 1,
purpose_remarks: '<string>',
source_of_funds_description: '<string>'
}
},
reference: 'cust_8812'
})
};
fetch('https://api.jenzy.com/v2/child-orgs', 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.jenzy.com/v2/child-orgs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'individual',
'individual' => [
'first_name' => '<string>',
'last_name' => '<string>',
'date_of_birth' => '1982-03-24',
'email' => 'jsmith@example.com',
'phone' => '+4922155501000',
'country_of_residence' => 'DE',
'nationality' => 'DE',
'address' => [
'street_line_1' => '<string>',
'city' => '<string>',
'subdivision_code' => 'DE-NW',
'postal_code' => '<string>',
'country' => 'DE',
'street_line_2' => '<string>'
],
'identity_document' => [
'number' => '<string>',
'country' => 'DE',
'issue_date' => '1982-03-24',
'expiry_date' => '1982-03-24'
],
'financial_profile' => [
'occupation_id' => 123,
'purpose_id' => 123,
'source_of_fund_ids' => [
123
],
'monthly_volume_usd' => 1,
'purpose_remarks' => '<string>',
'source_of_funds_description' => '<string>'
]
],
'reference' => 'cust_8812'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jenzy.com/v2/child-orgs"
payload := strings.NewReader("{\n \"type\": \"individual\",\n \"individual\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"1982-03-24\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"+4922155501000\",\n \"country_of_residence\": \"DE\",\n \"nationality\": \"DE\",\n \"address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"subdivision_code\": \"DE-NW\",\n \"postal_code\": \"<string>\",\n \"country\": \"DE\",\n \"street_line_2\": \"<string>\"\n },\n \"identity_document\": {\n \"number\": \"<string>\",\n \"country\": \"DE\",\n \"issue_date\": \"1982-03-24\",\n \"expiry_date\": \"1982-03-24\"\n },\n \"financial_profile\": {\n \"occupation_id\": 123,\n \"purpose_id\": 123,\n \"source_of_fund_ids\": [\n 123\n ],\n \"monthly_volume_usd\": 1,\n \"purpose_remarks\": \"<string>\",\n \"source_of_funds_description\": \"<string>\"\n }\n },\n \"reference\": \"cust_8812\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.jenzy.com/v2/child-orgs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"individual\",\n \"individual\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"1982-03-24\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"+4922155501000\",\n \"country_of_residence\": \"DE\",\n \"nationality\": \"DE\",\n \"address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"subdivision_code\": \"DE-NW\",\n \"postal_code\": \"<string>\",\n \"country\": \"DE\",\n \"street_line_2\": \"<string>\"\n },\n \"identity_document\": {\n \"number\": \"<string>\",\n \"country\": \"DE\",\n \"issue_date\": \"1982-03-24\",\n \"expiry_date\": \"1982-03-24\"\n },\n \"financial_profile\": {\n \"occupation_id\": 123,\n \"purpose_id\": 123,\n \"source_of_fund_ids\": [\n 123\n ],\n \"monthly_volume_usd\": 1,\n \"purpose_remarks\": \"<string>\",\n \"source_of_funds_description\": \"<string>\"\n }\n },\n \"reference\": \"cust_8812\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jenzy.com/v2/child-orgs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"individual\",\n \"individual\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"1982-03-24\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"+4922155501000\",\n \"country_of_residence\": \"DE\",\n \"nationality\": \"DE\",\n \"address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"subdivision_code\": \"DE-NW\",\n \"postal_code\": \"<string>\",\n \"country\": \"DE\",\n \"street_line_2\": \"<string>\"\n },\n \"identity_document\": {\n \"number\": \"<string>\",\n \"country\": \"DE\",\n \"issue_date\": \"1982-03-24\",\n \"expiry_date\": \"1982-03-24\"\n },\n \"financial_profile\": {\n \"occupation_id\": 123,\n \"purpose_id\": 123,\n \"source_of_fund_ids\": [\n 123\n ],\n \"monthly_volume_usd\": 1,\n \"purpose_remarks\": \"<string>\",\n \"source_of_funds_description\": \"<string>\"\n }\n },\n \"reference\": \"cust_8812\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "individual",
"display_name": "<string>",
"reference": "<string>",
"status": "incomplete",
"requirements": [
{
"party_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"field": "terms_value",
"document_category": "identifying_documents",
"document_types": [
"passport",
"national_id"
],
"reason": "missing"
}
],
"capabilities": {
"usd_collections": "pending",
"usd_payouts": "pending"
},
"associated_parties": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"terms_url": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Create a Child org
Open a Child org for your customer, an individual or a business. Only for an organization that Jenzy allows to have Child orgs. The Child org starts incomplete: upload the documents in requirements, show terms_url to your customer and send terms_value. Then the review starts.
curl --request POST \
--url https://api.jenzy.com/v2/child-orgs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "individual",
"individual": {
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "1982-03-24",
"email": "jsmith@example.com",
"phone": "+4922155501000",
"country_of_residence": "DE",
"nationality": "DE",
"address": {
"street_line_1": "<string>",
"city": "<string>",
"subdivision_code": "DE-NW",
"postal_code": "<string>",
"country": "DE",
"street_line_2": "<string>"
},
"identity_document": {
"number": "<string>",
"country": "DE",
"issue_date": "1982-03-24",
"expiry_date": "1982-03-24"
},
"financial_profile": {
"occupation_id": 123,
"purpose_id": 123,
"source_of_fund_ids": [
123
],
"monthly_volume_usd": 1,
"purpose_remarks": "<string>",
"source_of_funds_description": "<string>"
}
},
"reference": "cust_8812"
}
'import requests
url = "https://api.jenzy.com/v2/child-orgs"
payload = {
"type": "individual",
"individual": {
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "1982-03-24",
"email": "jsmith@example.com",
"phone": "+4922155501000",
"country_of_residence": "DE",
"nationality": "DE",
"address": {
"street_line_1": "<string>",
"city": "<string>",
"subdivision_code": "DE-NW",
"postal_code": "<string>",
"country": "DE",
"street_line_2": "<string>"
},
"identity_document": {
"number": "<string>",
"country": "DE",
"issue_date": "1982-03-24",
"expiry_date": "1982-03-24"
},
"financial_profile": {
"occupation_id": 123,
"purpose_id": 123,
"source_of_fund_ids": [123],
"monthly_volume_usd": 1,
"purpose_remarks": "<string>",
"source_of_funds_description": "<string>"
}
},
"reference": "cust_8812"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'individual',
individual: {
first_name: '<string>',
last_name: '<string>',
date_of_birth: '1982-03-24',
email: 'jsmith@example.com',
phone: '+4922155501000',
country_of_residence: 'DE',
nationality: 'DE',
address: {
street_line_1: '<string>',
city: '<string>',
subdivision_code: 'DE-NW',
postal_code: '<string>',
country: 'DE',
street_line_2: '<string>'
},
identity_document: {
number: '<string>',
country: 'DE',
issue_date: '1982-03-24',
expiry_date: '1982-03-24'
},
financial_profile: {
occupation_id: 123,
purpose_id: 123,
source_of_fund_ids: [123],
monthly_volume_usd: 1,
purpose_remarks: '<string>',
source_of_funds_description: '<string>'
}
},
reference: 'cust_8812'
})
};
fetch('https://api.jenzy.com/v2/child-orgs', 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.jenzy.com/v2/child-orgs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'individual',
'individual' => [
'first_name' => '<string>',
'last_name' => '<string>',
'date_of_birth' => '1982-03-24',
'email' => 'jsmith@example.com',
'phone' => '+4922155501000',
'country_of_residence' => 'DE',
'nationality' => 'DE',
'address' => [
'street_line_1' => '<string>',
'city' => '<string>',
'subdivision_code' => 'DE-NW',
'postal_code' => '<string>',
'country' => 'DE',
'street_line_2' => '<string>'
],
'identity_document' => [
'number' => '<string>',
'country' => 'DE',
'issue_date' => '1982-03-24',
'expiry_date' => '1982-03-24'
],
'financial_profile' => [
'occupation_id' => 123,
'purpose_id' => 123,
'source_of_fund_ids' => [
123
],
'monthly_volume_usd' => 1,
'purpose_remarks' => '<string>',
'source_of_funds_description' => '<string>'
]
],
'reference' => 'cust_8812'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jenzy.com/v2/child-orgs"
payload := strings.NewReader("{\n \"type\": \"individual\",\n \"individual\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"1982-03-24\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"+4922155501000\",\n \"country_of_residence\": \"DE\",\n \"nationality\": \"DE\",\n \"address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"subdivision_code\": \"DE-NW\",\n \"postal_code\": \"<string>\",\n \"country\": \"DE\",\n \"street_line_2\": \"<string>\"\n },\n \"identity_document\": {\n \"number\": \"<string>\",\n \"country\": \"DE\",\n \"issue_date\": \"1982-03-24\",\n \"expiry_date\": \"1982-03-24\"\n },\n \"financial_profile\": {\n \"occupation_id\": 123,\n \"purpose_id\": 123,\n \"source_of_fund_ids\": [\n 123\n ],\n \"monthly_volume_usd\": 1,\n \"purpose_remarks\": \"<string>\",\n \"source_of_funds_description\": \"<string>\"\n }\n },\n \"reference\": \"cust_8812\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.jenzy.com/v2/child-orgs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"individual\",\n \"individual\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"1982-03-24\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"+4922155501000\",\n \"country_of_residence\": \"DE\",\n \"nationality\": \"DE\",\n \"address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"subdivision_code\": \"DE-NW\",\n \"postal_code\": \"<string>\",\n \"country\": \"DE\",\n \"street_line_2\": \"<string>\"\n },\n \"identity_document\": {\n \"number\": \"<string>\",\n \"country\": \"DE\",\n \"issue_date\": \"1982-03-24\",\n \"expiry_date\": \"1982-03-24\"\n },\n \"financial_profile\": {\n \"occupation_id\": 123,\n \"purpose_id\": 123,\n \"source_of_fund_ids\": [\n 123\n ],\n \"monthly_volume_usd\": 1,\n \"purpose_remarks\": \"<string>\",\n \"source_of_funds_description\": \"<string>\"\n }\n },\n \"reference\": \"cust_8812\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jenzy.com/v2/child-orgs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"individual\",\n \"individual\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"1982-03-24\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"+4922155501000\",\n \"country_of_residence\": \"DE\",\n \"nationality\": \"DE\",\n \"address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"subdivision_code\": \"DE-NW\",\n \"postal_code\": \"<string>\",\n \"country\": \"DE\",\n \"street_line_2\": \"<string>\"\n },\n \"identity_document\": {\n \"number\": \"<string>\",\n \"country\": \"DE\",\n \"issue_date\": \"1982-03-24\",\n \"expiry_date\": \"1982-03-24\"\n },\n \"financial_profile\": {\n \"occupation_id\": 123,\n \"purpose_id\": 123,\n \"source_of_fund_ids\": [\n 123\n ],\n \"monthly_volume_usd\": 1,\n \"purpose_remarks\": \"<string>\",\n \"source_of_funds_description\": \"<string>\"\n }\n },\n \"reference\": \"cust_8812\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "individual",
"display_name": "<string>",
"reference": "<string>",
"status": "incomplete",
"requirements": [
{
"party_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"field": "terms_value",
"document_category": "identifying_documents",
"document_types": [
"passport",
"national_id"
],
"reason": "missing"
}
],
"capabilities": {
"usd_collections": "pending",
"usd_payouts": "pending"
},
"associated_parties": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"terms_url": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Headers
Body
Response
Created, incomplete.
incomplete: requirements lists what you still owe before review. in_review: nothing is owed; the review is in progress. action_required: the review needs more from you; requirements lists it, and you send it with POST /v2/child-orgs/{id}/information. active: approved; the Child org can transact. requirements can list a request after approval; the status stays active. rejected: final; to try again, create a new Child org. suspended: the Child org or your organization is suspended.
incomplete, in_review, action_required, active, rejected, suspended