Creating a Customer (Business) via API
This endpoint enables you to create business (company) customers. Once a customer is created, we initiate verification. You can then retrieve the customer object or listen to webhooks (coming soon) to track the status change from PENDING_AGREEMENTS
to VERIFIED
or REJECTED
.
Important
- Gathering and validating customer data (IDs, address proofs, etc.) before creating the customer is crucial for a smooth KYC/KYB flow.
- A successful customer creation returns a
CustomerReference
you will use to track verification status. - Documents are not uploaded in this request. They must be added separately via a dedicated documents endpoint.
BETA endpoint
Please note that this endpoint is currently in beta, and it may undergo changes as we continue to improve and refine the functionality.
Idempotency supported endpoint
This means you can retry a request without worrying about it being processed multiple times.
To use this feature, add the
X-Idempotency-Key
header with a unique value (a UUID). This ensures the request is only processed once, even if it's sent multiple times.
Endpoints
Environment | Endpoint |
---|---|
Production | POST https://api.bvnk.com/platform/v1/customers |
Sandbox | POST https://api.sandbox.bvnk.com/platform/v1/customers |
Create a Business (Company) Customer
Use this to create a business (company) customer. You can associate multiple beneficial owners, controlling persons, and signers (often referred to collectively as “associates”).
Request
Example – business customer creation with associates:
curl --location 'https://api.sandbox.bvnk.com/platform/v1/customers' \
--header 'X-Idempotency-Key: 0b3ed172-e24f-43f5-a901-4f7b6d138ebe' \
--header 'Content-Type: application/json' \
--header 'Authorization: Hawk id="YourHawkID", ts="1728655954", nonce="MdPBLt", mac="jGEwZvz7rVO3lM3Ose8Ww1PtgnsHBe7eFph3Nzj5H6Y="' \
--data-raw '{
"type": "COMPANY",
"company": {
"name": "The Walt Disney Company",
"description": "Entertainment business",
"taxResidenceCountryCode": "US",
"registrationNumber": "26-4532998",
"industryCode": "74101",
"address": {
"addressLine1": "500 S Buena Vista St",
"city": "Burbank",
"postalCode": "91521",
"state": "CA",
"countryCode": "US"
},
"associates": [
{
"person": {
"firstName": "Donald",
"lastName": "Duck",
"dateOfBirth": "1908-11-29",
"address": {
"addressLine1": "1313 Webfoot Street",
"city": "Duckburg",
"postalCode": "4587",
"state": "CA",
"countryCode": "US"
},
"contactInfo": {
"emailAddress": "donald.duck@disney.com"
},
"taxIdentification": {
"number": "384-37-3429",
"taxResidenceCountryCode": "US"
}
},
"title": "COO",
"riskScore": "MEDIUM",
"controls": {
"hasOwnership": true,
"hasControl": false,
"isSigner": true
}
}
]
},
"signedAgreementSessionReference": "78eedde1-2402-4a59-8bbd-ccecb6d612d1",
"riskScore": "LOW"
}'
Request Body Parameters (Company)
Attribute | Type | Required | Description |
---|---|---|---|
type | string | Yes | The type of customer. COMPANY indicates a business. |
company | object | Yes | Contains details of the company. |
company.name | string | Yes | The legal name of the company. |
company.description | string | No | Optional description or short bio of the company. |
company.taxResidenceCountryCode | string | Yes | The country code for the company’s tax residence. |
company.registrationNumber | string | Yes | The official company registration or identifier. |
company.industryCode | string | Yes | Numeric or alphanumeric industry code, e.g. 74101 . |
company.monthlyExpectedVolumesReference | string | Yes | Monthly expected volumes reference. Get the list here . |
company.address | object | Yes | Address details of the company. |
company.address.addressLine1 | string | Yes | The first line of the company’s street address. |
company.address.addressLine2 | string | No | Optional second line. |
company.address.postalCode | string | Yes | The postal/ZIP code for the company’s address. |
company.address.city | string | Yes | The city for the company’s address. |
company.address.state | string | No | The state of the company’s address (U.S. only). |
company.address.countryCode | string | Yes | The country for the company’s address. |
company.associates | array | No | A list of individuals (UBOs, directors, signers) associated with the business. |
company.associates.person | object | Yes (per associate) | Personal details for the associate. |
company.associates.person.firstName | string | Yes | The given/first name. |
company.associates.person.lastName | string | Yes | The family/last name. |
company.associates.person.dateOfBirth | string | Yes | YYYY-MM-DD format. |
company.associates.person.address | object | Yes | Address details of the associate. |
company.associates.person.address.addressLine1 | string | Yes | The first line of the street address. |
company.associates.person.address.addressLine2 | string | No | Optional. |
company.associates.person.address.city | string | Yes | The city of the associate’s address. |
company.associates.person.address.postalCode | string | Yes | The postal/ZIP code. |
company.associates.person.address.countryCode | string | Yes | ISO-2 country code. |
company.associates.person.contactInfo | object | Yes | Optional contact info. |
company.associates.person.contactInfo.emailAddress | string | Yes | Email address. |
company.associates.person.taxIdentification | object | No | Optional tax ID details of the associate. |
company.associates.person.taxIdentification.number | string | No | E.g. SSN or TIN. |
company.associates.person.taxIdentification.taxResidenceCountryCode | string | No | ISO-2 code of the associate’s tax residence. |
company.associates.title | string | Yes | Job title or position, e.g. COO . |
company.associates.riskScore | string | No | Risk rating for this associate (e.g. MEDIUM ). |
company.associates.controls | object | Yes | Indicates specific ownership or control. |
company.associates.controls.hasOwnership | boolean | Yes | Whether this individual is an owner. |
company.associates.controls.hasControl | boolean | Yes | Whether this individual has controlling power. |
company.associates.controls.isSigner | boolean | Yes | Whether this individual can sign on behalf of the entity. |
signedAgreementSessionReference | string | Yes | Reference to an e-sign or terms acceptance session. |
riskScore | string | Yes | Overall risk rating of the Company, e.g. LOW , MEDIUM , HIGH |
Response
Response Code | Description |
---|---|
202 | Successful operation. |
400 | Bad request. |
Success Example:
{
"reference": "a7e21c62-27b8-4b3b-b51e-eb10edeb1731",
"status": "PENDING"
}
Failure Example:
{
"code": "ACCOUNTS-2000",
"status": "BAD_REQUEST",
"message": "Invalid request",
"details": {
"errors": {
"industryReference": [
"Industry with reference: 56e65ebc-06fa-11ef-bbf8-02d3d923cf2b does not exist"
]
}
}
}
Add Documents to a Customer
Use this endpoint to attach documents to an existing customer—either at the company level or for a specific associate (beneficial owner, director, or signer). Each call uploads a single document. Call the endpoint multiple times if you need to attach more than one file.
Important
- Make sure to reference the correct
customerReference
.- Use
personReference
when the document belongs to a specific associate. If omitted (ornull
), the document is attached at the company level for business customers.- Files must be base64-encoded before sending.
Endpoint
Environment | Endpoint |
---|---|
Production | PUT https://api.bvnk.com/platform/v1/customers/{customerReference}/documents |
Sandbox | PUT https://api.sandbox.bvnk.com/platform/v1/customers/{customerReference}/documents |
Request
Example – uploading a document for an associate:
curl --location --request PUT 'https://api.sandbox.bvnk.com/platform/v1/customers/123e4567-e89b-12d3-a456-426614174000/documents' \
--header 'Content-Type: application/json' \
--header 'Authorization: Hawk id="YourHawkID", ts="1678900000", nonce="abc123", mac="xyz789..."' \
--data-raw '{
"personReference": "9b2c3d4e-567f-48f0-abc1-03a4e3df12ab",
"type": "PASSPORT",
"name": "John Smith ID.pdf",
"content": "JVBERi0xLjUKJeLjz9MKMSAwIG9iago8PC9UeXBlIC9QYWdl..."
}'
Path Parameter
Parameter | Type | Required | Description |
---|---|---|---|
customerReference | string | Yes | The unique identifier of the customer to whom the document will be attached. |
Request Body Parameters
Attribute | Type | Required | Description |
---|---|---|---|
personReference | string | No | Used to link the document to a specific associate (e.g., beneficial owner). If omitted or null , the document is attached at the company level. |
type | string | Yes | The document type, e.g. PASSPORT , DRIVERS_LICENSE , PROOF_OF_ADDRESS , etc. |
name | string | No | Optional human-readable filename, e.g. "John Smith ID.pdf" . |
content | string | Yes | Base64-encoded file content. |
Response
Response Code | Description |
---|---|
202 | Request accepted and document queued for upload. |
400 | Bad request (e.g., missing or invalid data). |
Success Example:
{
"reference": "d42e1c62-27b8-4b3b-b51e-eb10edeb1731",
"message": "Document uploaded successfully.",
"status": "ACCEPTED"
}
Failure Example:
{
"code": "DOCUMENTS-4000",
"status": "BAD_REQUEST",
"message": "Invalid document content",
"details": {
"errors": {
"content": [
"Document file content is not valid base64"
]
}
}
}
Good to know
-
Check Document Status
- Once uploaded, we run checks on the document. You can retrieve the customer or associated person object to see if it’s recognised.
-
Retain Document References
- The
reference
returned in the success response may be used for future queries or audits.
- The
-
Combine with KYC
- Document verification may be necessary before the customer can move from
PENDING_VERIFICATION
toVERIFIED
.
- Document verification may be necessary before the customer can move from
Verification & Next Steps
-
Verification Process
Once created, the customer enters aPENDING_AGREEMENTS
(or similar) state while we wait for required agreements and checks. After that, verification may proceed in aPENDING_VERIFICATION
state until KYC/KYB is complete. The time to verify can vary from seconds to hours, depending on risk profiles and document completeness. -
Retrieving Customer Status
- GET
/platform/v1/customers/{reference}
to fetch the current status. - Or configure BVNK webhooks to receive updates when a verification result is determined.
- GET
-
Possible Statuses
PENDING_AGREEMENTS
: Awaiting agreement acceptance or further inputs.PENDING
: Verification in progress.VERIFIED
: Customer has been verified.REJECTED
: Customer has been rejected during verification. seedetails
for more info.
Updated 2 days ago