OnLink
API reference

Send a business customer’s company details

Sends the facts about the company the verification could not read from the registry: its businessType, its businessIndustry (a 4-digit NAICS code), its physicalAddress (structured, in the customer’s country of residence, never a PO box), its incorporationDate (needed for a company the registry gave no date for: every company registered outside Kenya, and a Kenyan one the registry missed), its companyTaxId (a Kenyan company’s KRA PIN when the registry has none; a US company’s EIN) and, optionally, which directors own it and how much (owners). Send any of them: this changes only the fields it carries, and a body with none is refused. Each director’s residential address is not sent here: the director gives it on their own invitation page. When the customer is waiting on its details (status needs_info, reason business_details_incomplete) and this write supplies the last missing fact, the verification continues by itself: the status moves to kyc_in_review (reason finalising) and customer.kyc.updated tells you; there is nothing to submit. The details can change only until the account is being created: from then on, and until a refused creation reopens them, this answers 409 KYB_DETAILS_LOCKED and changes nothing. A field this call does not take is refused with 400 UNKNOWN_BODY_FIELD.

PATCH
/v1/customers/{id}/kyb/details

Authorization

partner-key
X-OnLink-Key<token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/customers/string/kyb/details" \  -H "Content-Type: application/json" \  -d '{}'
{  "status": "pending_kyc",  "reason": "document_unreadable",  "nextAction": "string",  "applicationStatus": "draft",  "company": {    "name": "Acme Trading Ltd",    "registrationNumber": "CPR/2015/123456",    "countryOfRegistration": "KE",    "registeredAddress": "string"  },  "directors": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "email": "string",      "type": "individual",      "status": "not_started",      "invitedAt": "2019-08-24T14:15:22Z",      "residentialAddressProvided": false,      "ownershipPercentage": 60    }  ],  "documents": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "documentType": "certificate_of_incorporation",      "directorId": "36254c85-3859-4e1b-ba81-159a76808304",      "fileName": "certificate.pdf",      "contentType": "application/pdf",      "sizeBytes": 182044,      "reviewStatus": "pending",      "uploadedAt": "2026-11-18T09:30:00.000Z"    }  ],  "missingDocuments": [    "certificate_of_incorporation"  ],  "missingDetails": [    "businessType",    "physicalAddress",    "directors[6a1d0c5e-3b7f-4e0a-9c2d-8f1b2a3c4d5e].residentialAddress"  ]}