Attach kyc
This sections covers API details for customer related services.
Attach KYC
This API endpoint is used to securely attach or update Know Your Customer (KYC) documents for a customer.
Endpoint
PUT {{baseurl}}/customers/{id}/attach
Method: PUT
There is just one parameter required here: ID, which is the unique identifier of the customer account you want to retrieve.
Here is the payload:
Field | Data Type | Description |
---|---|---|
idType | Enum | Required. Type of identification document.
Values: |
idNumber | String | Required. Identification document number.
Required if |
document | String | Optional. URL to the user’s identification
document. Required if |
profileImage | String | Optional. URL to the user’s profile image.
Required if |
bvn | String | Conditionally Required. BVN is required if the
country is |
dateOfBirth | String | Optional. User’s date of birth in
|
Here’s what the sample response to the request to update KYC details would look like:
Remember to save the customer ID
Error Responses
Missing API keys
Status Code: 422 Bad Request
The response will include an error message indicating an issue with the request parameters.