What You’ll Achieve:
- Update customer profile with KYC/KYB documents.
- Successfully verify your customer identity.
Prerequisites
Before you begin, ensure you have:- A Busha Business Account and Secret API Key (from the Quick Start Tutorial).
- An understanding of API Environments (Sandbox vs. Production) and their base URLs (from the Make Your First Request Guide).
- A business customer account with KYC/KYB documents submitted.
Verifying Customer Identity (KYC/KYB)
1
Submit Customer KYC/KYB Documents
Skip this step if verification documents were attached when creating the
customer.
Files uploaded for KYC must be in Base64 format and have a file size less than
4MB.
| Country | Documents Required |
|---|---|
| Nigeria |
|
| Kenya |
|
- Open your terminal or command prompt.
- Use the
PUTrequest below to the/v1/customers/{customer_id}endpoint. - Replace
{customer_id}with the customer ID. - Replace
YOUR_BASE_URLwith your chosen environment’s URL and{YOUR_SECRET_KEY}with your actual key. - Replace the values in the
identifying_informationanddocumentsarray with the customer documents.
- Certificate of Incorporation
- Corporate registry extract
- Memorandum of Association articles (memart)
- Corporate structure chart
- Board resolution
- Anti-money laundering policy
- Regulatory licenses
- Proof of wealth
- Proof of address
- Open your terminal or command prompt.
- Use the
PUTrequest below to the/v1/customers/{customer_id}endpoint. - Replace
{customer_id}with the customer ID. - Replace
YOUR_BASE_URLwith your chosen environment’s URL and{YOUR_SECRET_KEY}with your actual key. - Replace the values in the
documentsarray with the customer documents.
2
Verify the Customer
To verify the identity and the information provided by the customer:Expected ResponseA successful response will be returned if the information provided by the customer is valid.
- Open your terminal or command prompt.
- Use the
POSTrequest below to the/v1/customers/{customer_id}/verifyendpoint. - Replace
{customer_id}with the customer ID. - Replace
YOUR_BASE_URLwith your chosen environment’s URL and{YOUR_SECRET_KEY}with your actual key.
missing_section error is returned for a business customer with incomplete sections:
Troubleshooting
400 Bad Request / 422 Unprocessable Entity: Review your request body to ensure all required fields are present and correctly formatted for the specified type (individual or business).401 Unauthorized: Verify that your Secret API Key is correct and included in the header.
What’s Next?
Now that you can programmatically verify customers, you can proceed to perform transactions on their behalf:- How to Initiate Transactions on Behalf of a Customer: Understand how to use the
customer_idto perform operations for your customers.