Submit customer verification
curl --request POST \
--url https://api.yara.cash/v1/customers/{customer_id}/verification-submissions \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'X-Yara-API-Key: <api-key>' \
--data '
{
"account_purpose": "<string>",
"account_purpose_other": "<string>",
"acting_as_intermediary": true,
"associated_persons": [
{
"birth_date": "1990-05-15",
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"email": "<string>",
"first_name": "<string>",
"has_control": true,
"has_ownership": true,
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"is_director": true,
"is_signer": true,
"last_name": "<string>",
"middle_name": "<string>",
"nationality": "NGA",
"ownership_percentage": 123,
"phone": "<string>",
"relationship_established_at": "<string>",
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"title": "<string>"
}
],
"birth_date": "1990-05-15",
"business_description": "<string>",
"business_industry": [
"<string>"
],
"business_legal_name": "<string>",
"business_type": "<string>",
"bvn": "22345678901",
"conducts_money_services": true,
"conducts_money_services_description": "<string>",
"conducts_money_services_using_bridge": true,
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"employment_status": "<string>",
"estimated_annual_revenue_usd": "<string>",
"expected_monthly_payments_usd": "<string>",
"has_material_intermediary_ownership": true,
"high_risk_activities": [
"<string>"
],
"high_risk_activities_explanation": "<string>",
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"image_url": "https://files.example.com/selfie.jpg",
"is_dao": true,
"most_recent_occupation": "<string>",
"nationality": "NGA",
"operates_in_prohibited_countries": true,
"other_websites": [
"<string>"
],
"ownership_threshold": 123,
"physical_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"primary_website": "<string>",
"registered_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"source_of_funds": "<string>",
"source_of_funds_description": "<string>",
"tier": "TIER_1"
}
'import requests
url = "https://api.yara.cash/v1/customers/{customer_id}/verification-submissions"
payload = {
"account_purpose": "<string>",
"account_purpose_other": "<string>",
"acting_as_intermediary": True,
"associated_persons": [
{
"birth_date": "1990-05-15",
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"email": "<string>",
"first_name": "<string>",
"has_control": True,
"has_ownership": True,
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"is_director": True,
"is_signer": True,
"last_name": "<string>",
"middle_name": "<string>",
"nationality": "NGA",
"ownership_percentage": 123,
"phone": "<string>",
"relationship_established_at": "<string>",
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"title": "<string>"
}
],
"birth_date": "1990-05-15",
"business_description": "<string>",
"business_industry": ["<string>"],
"business_legal_name": "<string>",
"business_type": "<string>",
"bvn": "22345678901",
"conducts_money_services": True,
"conducts_money_services_description": "<string>",
"conducts_money_services_using_bridge": True,
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"employment_status": "<string>",
"estimated_annual_revenue_usd": "<string>",
"expected_monthly_payments_usd": "<string>",
"has_material_intermediary_ownership": True,
"high_risk_activities": ["<string>"],
"high_risk_activities_explanation": "<string>",
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"image_url": "https://files.example.com/selfie.jpg",
"is_dao": True,
"most_recent_occupation": "<string>",
"nationality": "NGA",
"operates_in_prohibited_countries": True,
"other_websites": ["<string>"],
"ownership_threshold": 123,
"physical_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"primary_website": "<string>",
"registered_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"source_of_funds": "<string>",
"source_of_funds_description": "<string>",
"tier": "TIER_1"
}
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"X-Yara-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
'X-Yara-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
account_purpose: '<string>',
account_purpose_other: '<string>',
acting_as_intermediary: true,
associated_persons: [
{
birth_date: '1990-05-15',
documents: [{file: '<string>', purposes: []}],
email: '<string>',
first_name: '<string>',
has_control: true,
has_ownership: true,
identifying_information: [
{
expiration: '2030-01-01',
image_back: '<string>',
image_front: '<string>',
issuing_country: 'NGA',
number: '<string>'
}
],
is_director: true,
is_signer: true,
last_name: '<string>',
middle_name: '<string>',
nationality: 'NGA',
ownership_percentage: 123,
phone: '<string>',
relationship_established_at: '<string>',
residential_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
title: '<string>'
}
],
birth_date: '1990-05-15',
business_description: '<string>',
business_industry: ['<string>'],
business_legal_name: '<string>',
business_type: '<string>',
bvn: '22345678901',
conducts_money_services: true,
conducts_money_services_description: '<string>',
conducts_money_services_using_bridge: true,
documents: [{file: '<string>', purposes: []}],
employment_status: '<string>',
estimated_annual_revenue_usd: '<string>',
expected_monthly_payments_usd: '<string>',
has_material_intermediary_ownership: true,
high_risk_activities: ['<string>'],
high_risk_activities_explanation: '<string>',
identifying_information: [
{
expiration: '2030-01-01',
image_back: '<string>',
image_front: '<string>',
issuing_country: 'NGA',
number: '<string>'
}
],
image_url: 'https://files.example.com/selfie.jpg',
is_dao: true,
most_recent_occupation: '<string>',
nationality: 'NGA',
operates_in_prohibited_countries: true,
other_websites: ['<string>'],
ownership_threshold: 123,
physical_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
primary_website: '<string>',
registered_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
residential_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
source_of_funds: '<string>',
source_of_funds_description: '<string>',
tier: 'TIER_1'
})
};
fetch('https://api.yara.cash/v1/customers/{customer_id}/verification-submissions', 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.yara.cash/v1/customers/{customer_id}/verification-submissions",
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([
'account_purpose' => '<string>',
'account_purpose_other' => '<string>',
'acting_as_intermediary' => true,
'associated_persons' => [
[
'birth_date' => '1990-05-15',
'documents' => [
[
'file' => '<string>',
'purposes' => [
]
]
],
'email' => '<string>',
'first_name' => '<string>',
'has_control' => true,
'has_ownership' => true,
'identifying_information' => [
[
'expiration' => '2030-01-01',
'image_back' => '<string>',
'image_front' => '<string>',
'issuing_country' => 'NGA',
'number' => '<string>'
]
],
'is_director' => true,
'is_signer' => true,
'last_name' => '<string>',
'middle_name' => '<string>',
'nationality' => 'NGA',
'ownership_percentage' => 123,
'phone' => '<string>',
'relationship_established_at' => '<string>',
'residential_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'title' => '<string>'
]
],
'birth_date' => '1990-05-15',
'business_description' => '<string>',
'business_industry' => [
'<string>'
],
'business_legal_name' => '<string>',
'business_type' => '<string>',
'bvn' => '22345678901',
'conducts_money_services' => true,
'conducts_money_services_description' => '<string>',
'conducts_money_services_using_bridge' => true,
'documents' => [
[
'file' => '<string>',
'purposes' => [
]
]
],
'employment_status' => '<string>',
'estimated_annual_revenue_usd' => '<string>',
'expected_monthly_payments_usd' => '<string>',
'has_material_intermediary_ownership' => true,
'high_risk_activities' => [
'<string>'
],
'high_risk_activities_explanation' => '<string>',
'identifying_information' => [
[
'expiration' => '2030-01-01',
'image_back' => '<string>',
'image_front' => '<string>',
'issuing_country' => 'NGA',
'number' => '<string>'
]
],
'image_url' => 'https://files.example.com/selfie.jpg',
'is_dao' => true,
'most_recent_occupation' => '<string>',
'nationality' => 'NGA',
'operates_in_prohibited_countries' => true,
'other_websites' => [
'<string>'
],
'ownership_threshold' => 123,
'physical_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'primary_website' => '<string>',
'registered_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'residential_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'source_of_funds' => '<string>',
'source_of_funds_description' => '<string>',
'tier' => 'TIER_1'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Idempotency-Key: <x-idempotency-key>",
"X-Yara-API-Key: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.yara.cash/v1/customers/{customer_id}/verification-submissions"
payload := strings.NewReader("{\n \"account_purpose\": \"<string>\",\n \"account_purpose_other\": \"<string>\",\n \"acting_as_intermediary\": true,\n \"associated_persons\": [\n {\n \"birth_date\": \"1990-05-15\",\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"email\": \"<string>\",\n \"first_name\": \"<string>\",\n \"has_control\": true,\n \"has_ownership\": true,\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"is_director\": true,\n \"is_signer\": true,\n \"last_name\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"nationality\": \"NGA\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"relationship_established_at\": \"<string>\",\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"title\": \"<string>\"\n }\n ],\n \"birth_date\": \"1990-05-15\",\n \"business_description\": \"<string>\",\n \"business_industry\": [\n \"<string>\"\n ],\n \"business_legal_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"bvn\": \"22345678901\",\n \"conducts_money_services\": true,\n \"conducts_money_services_description\": \"<string>\",\n \"conducts_money_services_using_bridge\": true,\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"employment_status\": \"<string>\",\n \"estimated_annual_revenue_usd\": \"<string>\",\n \"expected_monthly_payments_usd\": \"<string>\",\n \"has_material_intermediary_ownership\": true,\n \"high_risk_activities\": [\n \"<string>\"\n ],\n \"high_risk_activities_explanation\": \"<string>\",\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"image_url\": \"https://files.example.com/selfie.jpg\",\n \"is_dao\": true,\n \"most_recent_occupation\": \"<string>\",\n \"nationality\": \"NGA\",\n \"operates_in_prohibited_countries\": true,\n \"other_websites\": [\n \"<string>\"\n ],\n \"ownership_threshold\": 123,\n \"physical_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"primary_website\": \"<string>\",\n \"registered_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"source_of_funds\": \"<string>\",\n \"source_of_funds_description\": \"<string>\",\n \"tier\": \"TIER_1\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Idempotency-Key", "<x-idempotency-key>")
req.Header.Add("X-Yara-API-Key", "<api-key>")
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.yara.cash/v1/customers/{customer_id}/verification-submissions")
.header("X-Idempotency-Key", "<x-idempotency-key>")
.header("X-Yara-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"account_purpose\": \"<string>\",\n \"account_purpose_other\": \"<string>\",\n \"acting_as_intermediary\": true,\n \"associated_persons\": [\n {\n \"birth_date\": \"1990-05-15\",\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"email\": \"<string>\",\n \"first_name\": \"<string>\",\n \"has_control\": true,\n \"has_ownership\": true,\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"is_director\": true,\n \"is_signer\": true,\n \"last_name\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"nationality\": \"NGA\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"relationship_established_at\": \"<string>\",\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"title\": \"<string>\"\n }\n ],\n \"birth_date\": \"1990-05-15\",\n \"business_description\": \"<string>\",\n \"business_industry\": [\n \"<string>\"\n ],\n \"business_legal_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"bvn\": \"22345678901\",\n \"conducts_money_services\": true,\n \"conducts_money_services_description\": \"<string>\",\n \"conducts_money_services_using_bridge\": true,\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"employment_status\": \"<string>\",\n \"estimated_annual_revenue_usd\": \"<string>\",\n \"expected_monthly_payments_usd\": \"<string>\",\n \"has_material_intermediary_ownership\": true,\n \"high_risk_activities\": [\n \"<string>\"\n ],\n \"high_risk_activities_explanation\": \"<string>\",\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"image_url\": \"https://files.example.com/selfie.jpg\",\n \"is_dao\": true,\n \"most_recent_occupation\": \"<string>\",\n \"nationality\": \"NGA\",\n \"operates_in_prohibited_countries\": true,\n \"other_websites\": [\n \"<string>\"\n ],\n \"ownership_threshold\": 123,\n \"physical_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"primary_website\": \"<string>\",\n \"registered_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"source_of_funds\": \"<string>\",\n \"source_of_funds_description\": \"<string>\",\n \"tier\": \"TIER_1\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yara.cash/v1/customers/{customer_id}/verification-submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Idempotency-Key"] = '<x-idempotency-key>'
request["X-Yara-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_purpose\": \"<string>\",\n \"account_purpose_other\": \"<string>\",\n \"acting_as_intermediary\": true,\n \"associated_persons\": [\n {\n \"birth_date\": \"1990-05-15\",\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"email\": \"<string>\",\n \"first_name\": \"<string>\",\n \"has_control\": true,\n \"has_ownership\": true,\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"is_director\": true,\n \"is_signer\": true,\n \"last_name\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"nationality\": \"NGA\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"relationship_established_at\": \"<string>\",\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"title\": \"<string>\"\n }\n ],\n \"birth_date\": \"1990-05-15\",\n \"business_description\": \"<string>\",\n \"business_industry\": [\n \"<string>\"\n ],\n \"business_legal_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"bvn\": \"22345678901\",\n \"conducts_money_services\": true,\n \"conducts_money_services_description\": \"<string>\",\n \"conducts_money_services_using_bridge\": true,\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"employment_status\": \"<string>\",\n \"estimated_annual_revenue_usd\": \"<string>\",\n \"expected_monthly_payments_usd\": \"<string>\",\n \"has_material_intermediary_ownership\": true,\n \"high_risk_activities\": [\n \"<string>\"\n ],\n \"high_risk_activities_explanation\": \"<string>\",\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"image_url\": \"https://files.example.com/selfie.jpg\",\n \"is_dao\": true,\n \"most_recent_occupation\": \"<string>\",\n \"nationality\": \"NGA\",\n \"operates_in_prohibited_countries\": true,\n \"other_websites\": [\n \"<string>\"\n ],\n \"ownership_threshold\": 123,\n \"physical_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"primary_website\": \"<string>\",\n \"registered_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"source_of_funds\": \"<string>\",\n \"source_of_funds_description\": \"<string>\",\n \"tier\": \"TIER_1\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"completed_at": "<string>",
"created_at": "<string>",
"customer_id": "<string>",
"id": "<string>",
"rejection_reasons": [
"<string>"
],
"submitted_at": "<string>",
"updated_at": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}Customer verification
Submit customer verification
Stores an immutable encrypted verification attempt, submits it for review, and returns the safe asynchronous submission state.
POST
/
v1
/
customers
/
{customer_id}
/
verification-submissions
Submit customer verification
curl --request POST \
--url https://api.yara.cash/v1/customers/{customer_id}/verification-submissions \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'X-Yara-API-Key: <api-key>' \
--data '
{
"account_purpose": "<string>",
"account_purpose_other": "<string>",
"acting_as_intermediary": true,
"associated_persons": [
{
"birth_date": "1990-05-15",
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"email": "<string>",
"first_name": "<string>",
"has_control": true,
"has_ownership": true,
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"is_director": true,
"is_signer": true,
"last_name": "<string>",
"middle_name": "<string>",
"nationality": "NGA",
"ownership_percentage": 123,
"phone": "<string>",
"relationship_established_at": "<string>",
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"title": "<string>"
}
],
"birth_date": "1990-05-15",
"business_description": "<string>",
"business_industry": [
"<string>"
],
"business_legal_name": "<string>",
"business_type": "<string>",
"bvn": "22345678901",
"conducts_money_services": true,
"conducts_money_services_description": "<string>",
"conducts_money_services_using_bridge": true,
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"employment_status": "<string>",
"estimated_annual_revenue_usd": "<string>",
"expected_monthly_payments_usd": "<string>",
"has_material_intermediary_ownership": true,
"high_risk_activities": [
"<string>"
],
"high_risk_activities_explanation": "<string>",
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"image_url": "https://files.example.com/selfie.jpg",
"is_dao": true,
"most_recent_occupation": "<string>",
"nationality": "NGA",
"operates_in_prohibited_countries": true,
"other_websites": [
"<string>"
],
"ownership_threshold": 123,
"physical_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"primary_website": "<string>",
"registered_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"source_of_funds": "<string>",
"source_of_funds_description": "<string>",
"tier": "TIER_1"
}
'import requests
url = "https://api.yara.cash/v1/customers/{customer_id}/verification-submissions"
payload = {
"account_purpose": "<string>",
"account_purpose_other": "<string>",
"acting_as_intermediary": True,
"associated_persons": [
{
"birth_date": "1990-05-15",
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"email": "<string>",
"first_name": "<string>",
"has_control": True,
"has_ownership": True,
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"is_director": True,
"is_signer": True,
"last_name": "<string>",
"middle_name": "<string>",
"nationality": "NGA",
"ownership_percentage": 123,
"phone": "<string>",
"relationship_established_at": "<string>",
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"title": "<string>"
}
],
"birth_date": "1990-05-15",
"business_description": "<string>",
"business_industry": ["<string>"],
"business_legal_name": "<string>",
"business_type": "<string>",
"bvn": "22345678901",
"conducts_money_services": True,
"conducts_money_services_description": "<string>",
"conducts_money_services_using_bridge": True,
"documents": [
{
"file": "<string>",
"purposes": []
}
],
"employment_status": "<string>",
"estimated_annual_revenue_usd": "<string>",
"expected_monthly_payments_usd": "<string>",
"has_material_intermediary_ownership": True,
"high_risk_activities": ["<string>"],
"high_risk_activities_explanation": "<string>",
"identifying_information": [
{
"expiration": "2030-01-01",
"image_back": "<string>",
"image_front": "<string>",
"issuing_country": "NGA",
"number": "<string>"
}
],
"image_url": "https://files.example.com/selfie.jpg",
"is_dao": True,
"most_recent_occupation": "<string>",
"nationality": "NGA",
"operates_in_prohibited_countries": True,
"other_websites": ["<string>"],
"ownership_threshold": 123,
"physical_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"primary_website": "<string>",
"registered_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"residential_address": {
"city": "<string>",
"country": "NGA",
"postal_code": "<string>",
"street_line_1": "<string>",
"subdivision": "<string>"
},
"source_of_funds": "<string>",
"source_of_funds_description": "<string>",
"tier": "TIER_1"
}
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"X-Yara-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Idempotency-Key': '<x-idempotency-key>',
'X-Yara-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
account_purpose: '<string>',
account_purpose_other: '<string>',
acting_as_intermediary: true,
associated_persons: [
{
birth_date: '1990-05-15',
documents: [{file: '<string>', purposes: []}],
email: '<string>',
first_name: '<string>',
has_control: true,
has_ownership: true,
identifying_information: [
{
expiration: '2030-01-01',
image_back: '<string>',
image_front: '<string>',
issuing_country: 'NGA',
number: '<string>'
}
],
is_director: true,
is_signer: true,
last_name: '<string>',
middle_name: '<string>',
nationality: 'NGA',
ownership_percentage: 123,
phone: '<string>',
relationship_established_at: '<string>',
residential_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
title: '<string>'
}
],
birth_date: '1990-05-15',
business_description: '<string>',
business_industry: ['<string>'],
business_legal_name: '<string>',
business_type: '<string>',
bvn: '22345678901',
conducts_money_services: true,
conducts_money_services_description: '<string>',
conducts_money_services_using_bridge: true,
documents: [{file: '<string>', purposes: []}],
employment_status: '<string>',
estimated_annual_revenue_usd: '<string>',
expected_monthly_payments_usd: '<string>',
has_material_intermediary_ownership: true,
high_risk_activities: ['<string>'],
high_risk_activities_explanation: '<string>',
identifying_information: [
{
expiration: '2030-01-01',
image_back: '<string>',
image_front: '<string>',
issuing_country: 'NGA',
number: '<string>'
}
],
image_url: 'https://files.example.com/selfie.jpg',
is_dao: true,
most_recent_occupation: '<string>',
nationality: 'NGA',
operates_in_prohibited_countries: true,
other_websites: ['<string>'],
ownership_threshold: 123,
physical_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
primary_website: '<string>',
registered_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
residential_address: {
city: '<string>',
country: 'NGA',
postal_code: '<string>',
street_line_1: '<string>',
subdivision: '<string>'
},
source_of_funds: '<string>',
source_of_funds_description: '<string>',
tier: 'TIER_1'
})
};
fetch('https://api.yara.cash/v1/customers/{customer_id}/verification-submissions', 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.yara.cash/v1/customers/{customer_id}/verification-submissions",
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([
'account_purpose' => '<string>',
'account_purpose_other' => '<string>',
'acting_as_intermediary' => true,
'associated_persons' => [
[
'birth_date' => '1990-05-15',
'documents' => [
[
'file' => '<string>',
'purposes' => [
]
]
],
'email' => '<string>',
'first_name' => '<string>',
'has_control' => true,
'has_ownership' => true,
'identifying_information' => [
[
'expiration' => '2030-01-01',
'image_back' => '<string>',
'image_front' => '<string>',
'issuing_country' => 'NGA',
'number' => '<string>'
]
],
'is_director' => true,
'is_signer' => true,
'last_name' => '<string>',
'middle_name' => '<string>',
'nationality' => 'NGA',
'ownership_percentage' => 123,
'phone' => '<string>',
'relationship_established_at' => '<string>',
'residential_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'title' => '<string>'
]
],
'birth_date' => '1990-05-15',
'business_description' => '<string>',
'business_industry' => [
'<string>'
],
'business_legal_name' => '<string>',
'business_type' => '<string>',
'bvn' => '22345678901',
'conducts_money_services' => true,
'conducts_money_services_description' => '<string>',
'conducts_money_services_using_bridge' => true,
'documents' => [
[
'file' => '<string>',
'purposes' => [
]
]
],
'employment_status' => '<string>',
'estimated_annual_revenue_usd' => '<string>',
'expected_monthly_payments_usd' => '<string>',
'has_material_intermediary_ownership' => true,
'high_risk_activities' => [
'<string>'
],
'high_risk_activities_explanation' => '<string>',
'identifying_information' => [
[
'expiration' => '2030-01-01',
'image_back' => '<string>',
'image_front' => '<string>',
'issuing_country' => 'NGA',
'number' => '<string>'
]
],
'image_url' => 'https://files.example.com/selfie.jpg',
'is_dao' => true,
'most_recent_occupation' => '<string>',
'nationality' => 'NGA',
'operates_in_prohibited_countries' => true,
'other_websites' => [
'<string>'
],
'ownership_threshold' => 123,
'physical_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'primary_website' => '<string>',
'registered_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'residential_address' => [
'city' => '<string>',
'country' => 'NGA',
'postal_code' => '<string>',
'street_line_1' => '<string>',
'subdivision' => '<string>'
],
'source_of_funds' => '<string>',
'source_of_funds_description' => '<string>',
'tier' => 'TIER_1'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Idempotency-Key: <x-idempotency-key>",
"X-Yara-API-Key: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.yara.cash/v1/customers/{customer_id}/verification-submissions"
payload := strings.NewReader("{\n \"account_purpose\": \"<string>\",\n \"account_purpose_other\": \"<string>\",\n \"acting_as_intermediary\": true,\n \"associated_persons\": [\n {\n \"birth_date\": \"1990-05-15\",\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"email\": \"<string>\",\n \"first_name\": \"<string>\",\n \"has_control\": true,\n \"has_ownership\": true,\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"is_director\": true,\n \"is_signer\": true,\n \"last_name\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"nationality\": \"NGA\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"relationship_established_at\": \"<string>\",\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"title\": \"<string>\"\n }\n ],\n \"birth_date\": \"1990-05-15\",\n \"business_description\": \"<string>\",\n \"business_industry\": [\n \"<string>\"\n ],\n \"business_legal_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"bvn\": \"22345678901\",\n \"conducts_money_services\": true,\n \"conducts_money_services_description\": \"<string>\",\n \"conducts_money_services_using_bridge\": true,\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"employment_status\": \"<string>\",\n \"estimated_annual_revenue_usd\": \"<string>\",\n \"expected_monthly_payments_usd\": \"<string>\",\n \"has_material_intermediary_ownership\": true,\n \"high_risk_activities\": [\n \"<string>\"\n ],\n \"high_risk_activities_explanation\": \"<string>\",\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"image_url\": \"https://files.example.com/selfie.jpg\",\n \"is_dao\": true,\n \"most_recent_occupation\": \"<string>\",\n \"nationality\": \"NGA\",\n \"operates_in_prohibited_countries\": true,\n \"other_websites\": [\n \"<string>\"\n ],\n \"ownership_threshold\": 123,\n \"physical_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"primary_website\": \"<string>\",\n \"registered_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"source_of_funds\": \"<string>\",\n \"source_of_funds_description\": \"<string>\",\n \"tier\": \"TIER_1\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Idempotency-Key", "<x-idempotency-key>")
req.Header.Add("X-Yara-API-Key", "<api-key>")
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.yara.cash/v1/customers/{customer_id}/verification-submissions")
.header("X-Idempotency-Key", "<x-idempotency-key>")
.header("X-Yara-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"account_purpose\": \"<string>\",\n \"account_purpose_other\": \"<string>\",\n \"acting_as_intermediary\": true,\n \"associated_persons\": [\n {\n \"birth_date\": \"1990-05-15\",\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"email\": \"<string>\",\n \"first_name\": \"<string>\",\n \"has_control\": true,\n \"has_ownership\": true,\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"is_director\": true,\n \"is_signer\": true,\n \"last_name\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"nationality\": \"NGA\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"relationship_established_at\": \"<string>\",\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"title\": \"<string>\"\n }\n ],\n \"birth_date\": \"1990-05-15\",\n \"business_description\": \"<string>\",\n \"business_industry\": [\n \"<string>\"\n ],\n \"business_legal_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"bvn\": \"22345678901\",\n \"conducts_money_services\": true,\n \"conducts_money_services_description\": \"<string>\",\n \"conducts_money_services_using_bridge\": true,\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"employment_status\": \"<string>\",\n \"estimated_annual_revenue_usd\": \"<string>\",\n \"expected_monthly_payments_usd\": \"<string>\",\n \"has_material_intermediary_ownership\": true,\n \"high_risk_activities\": [\n \"<string>\"\n ],\n \"high_risk_activities_explanation\": \"<string>\",\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"image_url\": \"https://files.example.com/selfie.jpg\",\n \"is_dao\": true,\n \"most_recent_occupation\": \"<string>\",\n \"nationality\": \"NGA\",\n \"operates_in_prohibited_countries\": true,\n \"other_websites\": [\n \"<string>\"\n ],\n \"ownership_threshold\": 123,\n \"physical_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"primary_website\": \"<string>\",\n \"registered_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"source_of_funds\": \"<string>\",\n \"source_of_funds_description\": \"<string>\",\n \"tier\": \"TIER_1\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yara.cash/v1/customers/{customer_id}/verification-submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Idempotency-Key"] = '<x-idempotency-key>'
request["X-Yara-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_purpose\": \"<string>\",\n \"account_purpose_other\": \"<string>\",\n \"acting_as_intermediary\": true,\n \"associated_persons\": [\n {\n \"birth_date\": \"1990-05-15\",\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"email\": \"<string>\",\n \"first_name\": \"<string>\",\n \"has_control\": true,\n \"has_ownership\": true,\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"is_director\": true,\n \"is_signer\": true,\n \"last_name\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"nationality\": \"NGA\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"relationship_established_at\": \"<string>\",\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"title\": \"<string>\"\n }\n ],\n \"birth_date\": \"1990-05-15\",\n \"business_description\": \"<string>\",\n \"business_industry\": [\n \"<string>\"\n ],\n \"business_legal_name\": \"<string>\",\n \"business_type\": \"<string>\",\n \"bvn\": \"22345678901\",\n \"conducts_money_services\": true,\n \"conducts_money_services_description\": \"<string>\",\n \"conducts_money_services_using_bridge\": true,\n \"documents\": [\n {\n \"file\": \"<string>\",\n \"purposes\": []\n }\n ],\n \"employment_status\": \"<string>\",\n \"estimated_annual_revenue_usd\": \"<string>\",\n \"expected_monthly_payments_usd\": \"<string>\",\n \"has_material_intermediary_ownership\": true,\n \"high_risk_activities\": [\n \"<string>\"\n ],\n \"high_risk_activities_explanation\": \"<string>\",\n \"identifying_information\": [\n {\n \"expiration\": \"2030-01-01\",\n \"image_back\": \"<string>\",\n \"image_front\": \"<string>\",\n \"issuing_country\": \"NGA\",\n \"number\": \"<string>\"\n }\n ],\n \"image_url\": \"https://files.example.com/selfie.jpg\",\n \"is_dao\": true,\n \"most_recent_occupation\": \"<string>\",\n \"nationality\": \"NGA\",\n \"operates_in_prohibited_countries\": true,\n \"other_websites\": [\n \"<string>\"\n ],\n \"ownership_threshold\": 123,\n \"physical_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"primary_website\": \"<string>\",\n \"registered_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"residential_address\": {\n \"city\": \"<string>\",\n \"country\": \"NGA\",\n \"postal_code\": \"<string>\",\n \"street_line_1\": \"<string>\",\n \"subdivision\": \"<string>\"\n },\n \"source_of_funds\": \"<string>\",\n \"source_of_funds_description\": \"<string>\",\n \"tier\": \"TIER_1\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"completed_at": "<string>",
"created_at": "<string>",
"customer_id": "<string>",
"id": "<string>",
"rejection_reasons": [
"<string>"
],
"submitted_at": "<string>",
"updated_at": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}{
"error": {
"code": "validation_error",
"message": "invalid JSON body"
}
}Authorizations
Public merchant API key. You can also send Authorization: ApiKey .
Headers
Idempotency key
Path Parameters
Customer ID
Body
application/json
Tier and customer-type-specific verification fields
Show child attributes
Show child attributes
Example:
"1990-05-15"
Example:
"22345678901"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Example:
"https://files.example.com/selfie.jpg"
Example:
"NGA"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
TIER_1, TIER_2 Example:
"TIER_1"
Response
Accepted
Show child attributes
Show child attributes
⌘I