Skip to main content

KYC URL Generation

API Description

Share Exchange Link User KYC Info API.

HTTP Request

POST /bapi/ekyc/v2/public/ekyc/customer/share-kyc-data

Request Header

NameTypeMandatoryDescription
X-SHA2-SignatureSTRINGYESRequest Signature

Request Parameters

NameTypeMandatoryDescription
bizEntityKeySTRINGYESbusiness entity key, each access entity has its own bizEntityKey
requestNoSTRINGYESevery request unique number, max length is 120
kycInfoSTRINGYESKycInfo

KycInfo

NameTypeMandatoryDescription
userInfoUserInfoYES
basicInfoBasicInfoYES
identifyInfoIdentifyInfoYES

UserInfo

NameTypeMandatoryDescription
bizEntityKeySTRINGYESbusiness entity key, each access entity has its own bizEntityKey
entityCustomerIdSTRINGYEScustomer id,that is, the user id of the access entity site, max length is 128
brokerMainAccountIdSTRINGYESbroker main account id
brokerSubAccountIdSTRINGYESbroker sub account id
notifyUrlSTRINGYESnotify url when kyc status changed
extraSTRINGNOextra info in JSON format

BasicInfo

NameTypeMandatoryDescription
firstNameSTRINGYES
middleNameSTRINGNO
lastNameSTRINGYES
residentialCountrySTRINGYEScountry of residence: 2-alpha code in UPPER CASE
dobSTRINGYESyyyy-MM-dd
countrySTRINGYESnationality, 2-alpha code in UPPER CASE
userSubmitIpSTRINGYES
addressSTRINGYESmax is 400
citySTRINGYESmax is 100
postalCodeSTRINGNOmax is 50

IdentifyInfo

NameTypeMandatoryDescription
documentTypeSTRINGYESdocument type, for example: ID_CARD, PASSPORT, DRIVING_LICENSE,RESIDENCE_PERMIT
selectCountrySTRINGYesuser selected country when do Id verification 2-alpha code in UPPER CASE
frontFileUrlSTRINGYESid front image download url
backFileUrlSTRINGNOid back image download url
faceFileUrlSTRINGYESface image download url
firstNameSTRINGYESplease ensure this matches the “firstName” under Basic Info table above, if not it will be rejected.
middleNameSTRINGNO
lastNameSTRINGYESplease ensure this matches the “lastName” under Basic Info table above, if not it will be rejected.
dobSTRINGYESdate of birth: yyyy-MM-dd
idTypeSTRINGYESid doc type. for example: ID_CARD, PASSPORT, DRIVING_LICENSE,RESIDENCE_PERMIT
idSubTypeSTRINGNOid doc sub type
idCountrySTRINGYES2-alpha code in UPPER CASE
nationalityCountrySTRINGYES2-alpha code in UPPER CASE
idNumberSTRINGYESid Number
idExpirySTRINGNOyyyy-MM-dd
userSubmitIpSTRINGYES
idUsStateSTRINGNO
personalNumberSTRINGNO
genderSTRINGNO
issuingAuthoritySTRINGNO
issuingDateSTRINGNOyyyy-MM-dd
issuingPlaceSTRINGNO
registrationNumberSTRINGNO
citySTRINGNO
stateCodeSTRINGNO
postalCodeSTRINGNO
addressSTRINGNO

Request Body Example

{
"bizEntityKey": "BROKERKEY",
"kycInfo": {
"userInfo": {
"brokerMainAccountId": "1234567",
"brokerSubAccountId": "12345678123456767",
"bizEntityKey": "BROKERKEY",
"entityCustomerId": "12345678123456767",
"extra": "extraTestData",
"notifyUrl": "https://webhook.site/"
},
"identityInfo": {
"lastName": "testLastNameLItest01",
"frontFileUrl": "https://image.cnbcfm.com/api/v1/image/104853635-GettyImages-870113330.jpg?v=1709055832&w=740&h=416&ffmt=webp&vtcrop=y",
"gender": "M",
"documentType": "ID_CARD",
"idUsState": "testIdUsState",
"issuingDate": "2010-09-19",
"city": "testCity",
"postalCode": "123456",
"selectCountry": "SG",
"idNumber": "testSaasBrokers0144288491",
"userSubmitIp": "192.168.1.1",
"issuingPlace": "AE",
"backFileUrl": "https://cdn.shortpixel.ai/spai/q_lossless+w_1776+to_webp+ret_img/independent-photo.com/wp-content/uploads/2022/03/Karen-Pape-1800x1200.jpeg",
"idSubType": "INTERNATIONAL_PASSPORT",
"idType": "ID_CARD",
"address": "testAddressData",
"personalNumber": "personalNumber6462313972",
"idCountry": "AE",
"firstName": "testFirstName",
"issuingAuthority": "firstName",
"faceFileUrl": "https://cdn.shortpixel.ai/spai/q_lossless+w_1776+to_webp+ret_img/independent-photo.com/wp-content/uploads/2022/03/Karen-Pape-1800x1200.jpeg",
"dob": "1999-09-19",
"idExpiry": "2030-09-19",
"registrationNumber": "registrationNumber4039460415",
"middleName": "testMiddleNameboli",
"stateCode": "QWER",
"nationalityCountry": "AE"
},
"basicInfo": {
"firstName": "AA",
"lastName": "BB",
"country": "AE",
"residentialCountry": "AE",
"dob": "1999-09-19",
"middleName": "testMiddleName",
"userSubmitIp": "192.168.1.1",
"address": "aaa",
"city": "bbb",
"postalCode": "123456"

}
},
"requestNo": "23454312345365012111113"
}

Response Example

{
"code": "000000",
"message": null,
"messageDetail": null,
"data": null,
"success": true
}