Customer Verification

1. Introduction

The Yativo Business API provides a robust solution for verifying the identity of your end-users/customers. This API allows businesses to ensure compliance with KYC (Know Your Customer) regulations by validating user information in real-time.

2. Authentication

All API requests must be authenticated using an API key. You can obtain your API key from the Yativo Business API dashboard. Include this key in the header of your requests as follows:

Authorization: Bearer YOUR_API_KEY

3. Endpoints

Verify Customer

  • Endpoint: POST {{baseUrl}}/verification/verify-customer

  • Description: Verify the identity of a customer.

  • Headers:

    • Authorization: Bearer YOUR_API_KEY

    • Content-Type: application/json

Request Parameters:

//Example request
{
    "first_name": "John",
    "customer_id": "CUST_123456",
    "last_name": "Doe",
    "middle_name": "Smith",
    "email": "john.doe@example.com",
    "phone": "+1234567890",
    "dob": "1980-01-01",
    "gender": "Male",
    "mobile": "+1234567890",
    "street": "123 Main Street",
    "landmark": "Near City Park",
    "lga": "Central Business District",
    "state": "California",
    "date_of_birth": "1980-01-01",
    "ip_address": "192.168.1.1",
    "selfieimage": "base64_encoded_image_data",
    "photoidimage": "base64_encoded_image_data",
    "imageFrontSide": "base64_encoded_image_data",
    "imageBackSide": "base64_encoded_image_data"
}

4. Error Codes

The API uses standard HTTP status codes to indicate the success or failure of an API request. The following table provides details of common error codes:

5. Best Practices

  • Secure Your API Key: Never expose your API key in public repositories or client-side code.

  • Validate Input: Ensure all required fields are provided and valid before making API requests.

  • Handle Errors Gracefully: Implement error handling in your application to manage different HTTP status codes and error responses.

  • Rate Limiting: Be mindful of the API rate limits and avoid making excessive requests in a short period.

Last updated