This API is used to onboard a customer via eKYC by authorized entities associated with Lulu. The API provides encrypted HTML page content with a unique eKYC request Id as a response. The sequence diagram below provides further insight into the rich customer onboarding experience.
...
Customer onboarding
API | /api/v1_0/ras/onboarding | ||
Authorization | Bearer Token | ||
Method | POST | ||
Headers | Content-Type:application/json sender : <<sender_name>> company: <<company_code>> branch: <<branch_code>>
| ||
Payload |
| ||
Response |
|
Header
Name | Data Type | Max Length | Mandatory | Description |
---|---|---|---|---|
Content-Type | String | 36 | Yes | Content type |
sender | String | 60 | Yes | Agent / Partner name. |
channel | String | 30 | Yes | Ripple / Direct |
company | String | 6 | Yes | Will be shared |
branch | String | 6 | Yes | Will be shared |
Ocp-Apim-Subscription-Key | String | 32 | Yes | Subscription key |
Payload
Name | Data Type | Max Length | Mandatory | Description |
---|---|---|---|---|
salutation | String | 3 | Yes | Customer salutation |
first_name | String | 255 | Yes | Customer first name |
middle_name | String | 255 | No | Customer middle name |
last_name | String | 255 | Yes | Customer last name |
nationality | String | 2 | Yes | Customer nationality |
date_of_birth | String | - | Yes | Customer date of birth |
country_of_birth | String | 2 | Yes | Customer country of birth |
visa_type_code | String | 3 | Yes | Sender visa type code |
gender | String | 1 | Yes | Customer gender. Possible values are M and F |
mobile_number | String | 20 | Yes | Customer mobile no |
String | 30 | Yes | Customer email | |
profession_code | String | 4 | Yes | Profession code |
country_code | String | 2 | Yes | Customer Country code |
country_of_residence | String | 2 | Yes | Country of residence |
sender_id | object | - | Yes | Sender details |
id_code | String | 3 | Yes | Customer id type code. Example : 4 for emirates ID |
id | String | 30 | Yes | Customer ID / number. Example : Emirates ID |
issued_country_code | String | 2 | Optional | Customer id issued country |
issued_by | String | 255 | Optional | Customer id issued by |
issued_on | String | - | Optional | YYYY-MM-DD format |
valid_through | String | - | Optional | YYYY-MM-DD format |
id_front | Object | - | Optional |
|
base64_data | String | - | Yes | PDF content base 64 data |
content_type | String | 30 | Yes | Content type. application/pdf |
document_type | String | 255 | Yes | Document type description |
id_back | Object | - | Optional |
|
base64_data | String | - | Yes | PDF content base 64 data |
content_type | String | 30 | Yes | Content type. application/pdf |
document_type | String | 255 | Yes |
|
sender_address | Object | - | Yes | Data object |
address_type | String | 20 | Yes | Sender address type like Present, Permanent |
address_line | String | 70 | Yes | Building name |
street_name | String | 70 | Yes | Street name |
country_code | String | 2 | Yes | Country |
country_subdivision | String | 35 | Yes | Sender country sub division |
town_name | String | 35 | Yes | Sender town name |
post_code | String | 12 | Yes | Sender postal area code. Example: Zipcode, Pincode |
customer_classification | Object | - | Yes | Data object |
annual_income_range_id | String | 3 | Yes | Customer annual income range id |
employer_name | String | 255 | Yes | Employer name(eg:LULU) |
income_type | Integer | - | Yes | Customer Income Type |
txvol_month | Integer | - | Yes | Transaction volume per month |
txn_count_month | Integer | - | Yes | Transaction count per month |
Response
Name | Data Type | Max Length | Name | Description |
---|
Name | Data Type | Max Length | Name | Description |
---|---|---|---|---|
status | String | 255 | Yes | status description |
status_code | Int | - | Yes | Status code |
data | Object | - | Yes | Data object |
customer_number | String | 16 | Yes | Customer unique identification number |
customer_status | String | 20 | Yes | Customer status. Possible status : "ACTIVE", "KYC_PENDING" "INACTIVE" "BLOCKED" |
aml_scan_status | String | 20 | Yes | AML status. Possible Status : "Accepted" , "Under Investigation" , "Rejected" |
EKYC Presentation Request
API | /api/v1/request | ||
Authorization | Bearer Token | ||
Method | POST | ||
Headers | Content-Type:application/json | ||
Payload |
| ||
Success Response |
| ||
Authentication Failure |
| ||
Other Failure Response |
|
...
Name | Data Type | Max Length | Description |
---|---|---|---|
status | String | 255 | status description |
status_code | Int | - | Status code |
message | String | 255 | Message |
data | Object | - | Data object |
ekyc_request_id | String | 50 | EKYC Request unique identification number |
ekyc_request_data | Object | - | Data object |
ekyc_portal_html | String | 4000 | Base 64 Encrypted EKYC Portal Html content |
Lookup
API to be used to look up customer information by id type, id number and mobile number.
API | /api/v1_0/ras/lookup | ||
Authorization | Bearer Token | ||
Method | POST | ||
Headers | Content-Type:application/json sender : <<sender_name>> company: <<company_code>> branch: <<branch_code>>
| ||
Payload |
| ||
Response |
| ||
Response (No customer found) |
| ||
Response (Mobile number NOT matched) |
|
Header
Name | Data Type | Max Length | Mandatory | Description |
---|---|---|---|---|
Content-Type | String | 36 | Yes | Content type |
sender | String | 60 | Yes | Agent / Partner name. |
channel | String | 30 | Yes | Ripple / Direct |
company | String | 6 | Yes | Will be shared |
branch | String | 6 | Yes | Will be shared |
Ocp-Apim-Subscription-Key | String | 32 | Yes | Subscription key |
Payload
Name | Data Type | Max Length | Mandatory | Description |
---|---|---|---|---|
mobile_number | String | 20 | Yes | Customer mobile no |
id_code | String | 3 | Yes | Customer id type code |
id | String | 30 | Yes | Customer id/Number |
Response
Name | Data Type | Max Length | Name | Description |
---|
Name | Data Type | Max Length | Name | Description |
---|---|---|---|---|
status | String | 255 | Yes | status description |
status_code | Int | - | Yes | Status code |
data | Object | - | Yes | Data object |
customer_number | String | 16 | Yes | Customer unique identification number |
first_name | String | 255 | Yes | Customer first name |
middle_name | String | 255 | Yes | Customer middle name |
last_name | String | 255 | Yes | Customer last name |
mobile_number | String | 20 | Yes | Customer mobile no |
String | 30 | Yes | Customer email | |
customer_status | String | 20 | Yes | Possible values : "ACTIVE", "KYC_PENDING", "INACTIVE", "BLOCKED", "DISABLED", "SUBSCRIPTION_PENDING" |
aml_scan_status | String | 20 | Yes | Possible values : "Accepted" , "Under Investigation" , "Rejected", "Failed" |
id_status | String | 20 | Yes | Possible values : "Active", "Expired" |
id_details | Object |
| Yes | id details |
id_code | String | 3 | Yes | Customer id type code |
id | String | 30 | Yes | customer id/Number |
valid_through | String |
| Yes | YYYY-MM-DD format |