Submit KYB data
curl --request POST \
--url https://api.next.orenda.finance/v1/applications/kyb \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"step-3": [
{
"key": "ubo",
"data": [
{
"key": "first_name",
"data": "Ada"
},
{
"key": "last_name",
"data": "Lovelace"
},
{
"key": "email",
"data": "ada@example.com"
},
{
"key": "phone_number",
"data": "+441234567890"
},
{
"key": "positions",
"data": [
"ubo"
]
},
{
"key": "share_percentage",
"data": 25
}
]
}
]
}
'import requests
url = "https://api.next.orenda.finance/v1/applications/kyb"
payload = { "step-3": [
{
"key": "ubo",
"data": [
{
"key": "first_name",
"data": "Ada"
},
{
"key": "last_name",
"data": "Lovelace"
},
{
"key": "email",
"data": "ada@example.com"
},
{
"key": "phone_number",
"data": "+441234567890"
},
{
"key": "positions",
"data": ["ubo"]
},
{
"key": "share_percentage",
"data": 25
}
]
}
] }
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({
'step-3': [
{
key: 'ubo',
data: [
{key: 'first_name', data: 'Ada'},
{key: 'last_name', data: 'Lovelace'},
{key: 'email', data: 'ada@example.com'},
{key: 'phone_number', data: '+441234567890'},
{key: 'positions', data: ['ubo']},
{key: 'share_percentage', data: 25}
]
}
]
})
};
fetch('https://api.next.orenda.finance/v1/applications/kyb', 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.next.orenda.finance/v1/applications/kyb",
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([
'step-3' => [
[
'key' => 'ubo',
'data' => [
[
'key' => 'first_name',
'data' => 'Ada'
],
[
'key' => 'last_name',
'data' => 'Lovelace'
],
[
'key' => 'email',
'data' => 'ada@example.com'
],
[
'key' => 'phone_number',
'data' => '+441234567890'
],
[
'key' => 'positions',
'data' => [
'ubo'
]
],
[
'key' => 'share_percentage',
'data' => 25
]
]
]
]
]),
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.next.orenda.finance/v1/applications/kyb"
payload := strings.NewReader("{\n \"step-3\": [\n {\n \"key\": \"ubo\",\n \"data\": [\n {\n \"key\": \"first_name\",\n \"data\": \"Ada\"\n },\n {\n \"key\": \"last_name\",\n \"data\": \"Lovelace\"\n },\n {\n \"key\": \"email\",\n \"data\": \"ada@example.com\"\n },\n {\n \"key\": \"phone_number\",\n \"data\": \"+441234567890\"\n },\n {\n \"key\": \"positions\",\n \"data\": [\n \"ubo\"\n ]\n },\n {\n \"key\": \"share_percentage\",\n \"data\": 25\n }\n ]\n }\n ]\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.next.orenda.finance/v1/applications/kyb")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"step-3\": [\n {\n \"key\": \"ubo\",\n \"data\": [\n {\n \"key\": \"first_name\",\n \"data\": \"Ada\"\n },\n {\n \"key\": \"last_name\",\n \"data\": \"Lovelace\"\n },\n {\n \"key\": \"email\",\n \"data\": \"ada@example.com\"\n },\n {\n \"key\": \"phone_number\",\n \"data\": \"+441234567890\"\n },\n {\n \"key\": \"positions\",\n \"data\": [\n \"ubo\"\n ]\n },\n {\n \"key\": \"share_percentage\",\n \"data\": 25\n }\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/applications/kyb")
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 \"step-3\": [\n {\n \"key\": \"ubo\",\n \"data\": [\n {\n \"key\": \"first_name\",\n \"data\": \"Ada\"\n },\n {\n \"key\": \"last_name\",\n \"data\": \"Lovelace\"\n },\n {\n \"key\": \"email\",\n \"data\": \"ada@example.com\"\n },\n {\n \"key\": \"phone_number\",\n \"data\": \"+441234567890\"\n },\n {\n \"key\": \"positions\",\n \"data\": [\n \"ubo\"\n ]\n },\n {\n \"key\": \"share_percentage\",\n \"data\": 25\n }\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"isComplete": true,
"message": "KYB process completed"
}
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "isCompany is required"
}{
"message": "Unauthorized"
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "isCompany is required"
}{
"success": false,
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal Server Error"
}Onboarding
Submit KYB data
Send the answers for a company (KYB) step.
POST
/
v1
/
applications
/
kyb
Submit KYB data
curl --request POST \
--url https://api.next.orenda.finance/v1/applications/kyb \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"step-3": [
{
"key": "ubo",
"data": [
{
"key": "first_name",
"data": "Ada"
},
{
"key": "last_name",
"data": "Lovelace"
},
{
"key": "email",
"data": "ada@example.com"
},
{
"key": "phone_number",
"data": "+441234567890"
},
{
"key": "positions",
"data": [
"ubo"
]
},
{
"key": "share_percentage",
"data": 25
}
]
}
]
}
'import requests
url = "https://api.next.orenda.finance/v1/applications/kyb"
payload = { "step-3": [
{
"key": "ubo",
"data": [
{
"key": "first_name",
"data": "Ada"
},
{
"key": "last_name",
"data": "Lovelace"
},
{
"key": "email",
"data": "ada@example.com"
},
{
"key": "phone_number",
"data": "+441234567890"
},
{
"key": "positions",
"data": ["ubo"]
},
{
"key": "share_percentage",
"data": 25
}
]
}
] }
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({
'step-3': [
{
key: 'ubo',
data: [
{key: 'first_name', data: 'Ada'},
{key: 'last_name', data: 'Lovelace'},
{key: 'email', data: 'ada@example.com'},
{key: 'phone_number', data: '+441234567890'},
{key: 'positions', data: ['ubo']},
{key: 'share_percentage', data: 25}
]
}
]
})
};
fetch('https://api.next.orenda.finance/v1/applications/kyb', 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.next.orenda.finance/v1/applications/kyb",
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([
'step-3' => [
[
'key' => 'ubo',
'data' => [
[
'key' => 'first_name',
'data' => 'Ada'
],
[
'key' => 'last_name',
'data' => 'Lovelace'
],
[
'key' => 'email',
'data' => 'ada@example.com'
],
[
'key' => 'phone_number',
'data' => '+441234567890'
],
[
'key' => 'positions',
'data' => [
'ubo'
]
],
[
'key' => 'share_percentage',
'data' => 25
]
]
]
]
]),
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.next.orenda.finance/v1/applications/kyb"
payload := strings.NewReader("{\n \"step-3\": [\n {\n \"key\": \"ubo\",\n \"data\": [\n {\n \"key\": \"first_name\",\n \"data\": \"Ada\"\n },\n {\n \"key\": \"last_name\",\n \"data\": \"Lovelace\"\n },\n {\n \"key\": \"email\",\n \"data\": \"ada@example.com\"\n },\n {\n \"key\": \"phone_number\",\n \"data\": \"+441234567890\"\n },\n {\n \"key\": \"positions\",\n \"data\": [\n \"ubo\"\n ]\n },\n {\n \"key\": \"share_percentage\",\n \"data\": 25\n }\n ]\n }\n ]\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.next.orenda.finance/v1/applications/kyb")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"step-3\": [\n {\n \"key\": \"ubo\",\n \"data\": [\n {\n \"key\": \"first_name\",\n \"data\": \"Ada\"\n },\n {\n \"key\": \"last_name\",\n \"data\": \"Lovelace\"\n },\n {\n \"key\": \"email\",\n \"data\": \"ada@example.com\"\n },\n {\n \"key\": \"phone_number\",\n \"data\": \"+441234567890\"\n },\n {\n \"key\": \"positions\",\n \"data\": [\n \"ubo\"\n ]\n },\n {\n \"key\": \"share_percentage\",\n \"data\": 25\n }\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/applications/kyb")
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 \"step-3\": [\n {\n \"key\": \"ubo\",\n \"data\": [\n {\n \"key\": \"first_name\",\n \"data\": \"Ada\"\n },\n {\n \"key\": \"last_name\",\n \"data\": \"Lovelace\"\n },\n {\n \"key\": \"email\",\n \"data\": \"ada@example.com\"\n },\n {\n \"key\": \"phone_number\",\n \"data\": \"+441234567890\"\n },\n {\n \"key\": \"positions\",\n \"data\": [\n \"ubo\"\n ]\n },\n {\n \"key\": \"share_percentage\",\n \"data\": 25\n }\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"isComplete": true,
"message": "KYB process completed"
}
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "isCompany is required"
}{
"message": "Unauthorized"
}{
"success": false,
"code": "VALIDATION_ERROR",
"message": "isCompany is required"
}{
"success": false,
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal Server Error"
}For company applications (
Required fields are checked in each entry. A group with
isCompany: true), submit the KYB answers here instead of
Submit KYC data. The application is taken from your bearer token,
so there’s no id in the path. Answers are keyed against the same
schema, which returns company and beneficial-owner fields for
companies.
The body has the same stepped shape as KYC: each step is an array of { key, data } pairs,
with the same answer encodings, validation and
errors. A flat body keyed by field is rejected. KYB adds one 400 to the
KYC errors: code: UBO_EMAIL_NOT_UNIQUE when two beneficial
owners in the same request share an email address. This check runs only on programs whose KYB
flow uses SDK verification.
Groups
Agroup field (such as ubo) is answered with one entry per item. Each entry has the
group’s key and, as data, an array of { key, data } pairs for the group’s fields.
Add one such entry per item (a second owner is a second ubo entry):
{
"step-3": [
{
"key": "ubo",
"data": [
{ "key": "first_name", "data": "Ada" },
{ "key": "last_name", "data": "Lovelace" },
{ "key": "email", "data": "ada@example.com" },
{ "key": "phone_number", "data": "+441234567890" },
{ "key": "positions", "data": ["ubo"] },
{ "key": "share_percentage", "data": 25 }
]
}
]
}
required: true needs at least one
entry, and minEntries sets the fewest entries allowed. Validation errors name the entry:
Required field 'ubo[2].last_name' is missing.
Saving and completion
As with KYC, each step you send replaces that step’s saved answers, and steps you don’t send are kept. The response’smessage reflects only form completeness: KYB process completed
once every step of the schema has saved answers, otherwise KYB step saved successfully.
isComplete is true only for a complete form whose beneficial-owner sync reported no
problems.
The beneficial-owner sync runs on every save. If it reports problems, the answers are still
saved and the response includes a uboProcessingError. When the form is complete but the sync
reports problems, the response has isComplete: false, message: KYB process completed and a
uboProcessingError. Show the user the error.
Keep polling GET /v2/applications. Right after a complete submission
currentStep is PROCESSING with no requiredActions while we process the form: show a
loader, don’t show the form again. (On GET /v1/applications the form step stays for those
few seconds, so keep a loader up after a successful submit until currentStep changes.)Authorizations
The user's access_token from authentication. The program and environment (sandbox/prod) are read from the token.
Body
application/json
Answers keyed by step id, in the same { key, data } shape and encodings as Submit KYC data. A group field (such as ubo) is answered with one { key, data } entry per item, where data is an array of { key, data } pairs for the group's fields.
One answer: key is a field's key and data is the answer. Send only key and data, no other schema property.
- Answer
- Group entry
Show child attributes
Show child attributes