POST
/
v1
/
applications
/
{applicationId}
/
kyc
Submit KYC data
curl --request POST \
  --url https://api.next.orenda.finance/v1/applications/{applicationId}/kyc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "Ada",
  "last_name": "Lovelace",
  "dob": "1990-01-01",
  "nationality": "GB"
}
'
import requests

url = "https://api.next.orenda.finance/v1/applications/{applicationId}/kyc"

payload = {
"first_name": "Ada",
"last_name": "Lovelace",
"dob": "1990-01-01",
"nationality": "GB"
}
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({first_name: 'Ada', last_name: 'Lovelace', dob: '1990-01-01', nationality: 'GB'})
};

fetch('https://api.next.orenda.finance/v1/applications/{applicationId}/kyc', 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/{applicationId}/kyc",
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([
'first_name' => 'Ada',
'last_name' => 'Lovelace',
'dob' => '1990-01-01',
'nationality' => 'GB'
]),
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/{applicationId}/kyc"

payload := strings.NewReader("{\n \"first_name\": \"Ada\",\n \"last_name\": \"Lovelace\",\n \"dob\": \"1990-01-01\",\n \"nationality\": \"GB\"\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/{applicationId}/kyc")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"first_name\": \"Ada\",\n \"last_name\": \"Lovelace\",\n \"dob\": \"1990-01-01\",\n \"nationality\": \"GB\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.next.orenda.finance/v1/applications/{applicationId}/kyc")

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 \"first_name\": \"Ada\",\n \"last_name\": \"Lovelace\",\n \"dob\": \"1990-01-01\",\n \"nationality\": \"GB\"\n}"

response = http.request(request)
puts response.read_body
{
  "success": true,
  "data": {
    "isComplete": true,
    "message": "KYC data submitted successfully"
  }
}
{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}
{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}
{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}
{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}
{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}
Submit the user’s answers, keyed against the schema. Partial saves are allowed; the response’s isComplete says whether the step is finished, and field validation failures come back with code: VALIDATION_ERROR. Keep polling GET /v1/applications. Once the step is complete the application moves to the next currentStep, usually KYC_SUMSUB.
KYC input can arrive through up to three endpoints, all shaped by the same schema: this one (the main data submission), document uploads, and questionnaire answers. Which ones your program uses depends on what the schema asks for — drive it from the schema, not assumptions. For companies, the main submission goes to KYB submit instead.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

applicationId
string
required

The unique identifier of the application.

Query Parameters

programId
string
required

The program the application/customer belongs to. Appended as a query parameter on every back-office request.

Body

application/json

The dynamic onboarding answer payload. Field answers keyed by the schema field key, or steps of { key, data } pairs matching the layout returned by the onboarding schema. Values are strings, nested groups, or base64url-encoded file contents.

Response

KYC data accepted.

success
boolean
Example:

true

data
object