Registration Callback Notification [Webhook]

Brief Description

After registration is completed, the KYC results and user information will be sent to the merchant in JSON format. The merchant needs to receive and process these notifications and respond according to the document specifications. The same notification may be sent to the merchant multiple times, and the merchant must be able to handle duplicate notifications correctly. The frequency of notifications is as follows: for orders within 10 minutes, a request is made every 10 seconds; for orders within 1 hour, a request is made every 5 minutes; for orders within 48 hours, a request is made every hour.

Callback Parameters

Parameter NameSignature VerificationRequiredTypeLengthDescription
userNoYesYesstring32User number
emailYesYesstring128Email
kycLevelYesYesint3KYC level
kycTypeYesYesstring32KYC type
kycStatusYesYesint3KYC status (1: Success, 2: Permanent rejection, 3: Temporary rejection)
firstNameYesYesstring16First name
lastNameYesYesstring32Last name
countryYesNostring256Country
idDocTypeYesYesstring256ID document type
dobNoYesstring512Date of birth
validUntilYesYesString10Valid until
numberNoNostring256Number
genderYesYesstring512Gender
additionalNumberYesYesstring512Additional number
callbackUrlYesYesstring512Callback URL
redirectUrlYesYesstring512Notification URL
documentPhotoYesYesstring512Document front photo
documentBackPhotoYesYesstring512Document back photo
facePhotoYesYesstring512Face photo
kycFailJsonYesYesstring512Failed JSON
streetYesYesstring512Street
cityYesYesstring512City
stateYesYesstring512State
zipCodeYesYesstring512Zip code
addressYesYesstring512Address
userNumYesYesstring512User center user number
merchantNoYesYesstring512Merchant number
subMerchantNoYesYesstring512Sub-merchant number
remarkYesYesstring512Remark

Example

{
    "amlReport":"https://sumsub-kyc.oss-cn-hongkong.aliyuncs.com/6cf2-b773-8ce7128ee11e.pdf",
    "callbackUrl":"https://api-test.alchemytech.cc/webhooks/kyc/notify",
    "country":"CHN",
    "dob":"1988-02-10",
    "documentBackPhoto":"https://sumsub-kyc.oss-cn-hongkong.aliyuncs.com/onfido-kyc/109fb33e/back.png",
    "documentPhoto":"https://sumsub-kyc.oss-cn-hongkong.aliyuncs.com/onfido-kyc/109fbc3e/front.png",
    "email":"[email protected]",
    "facePhoto":"https://sumsub-kyc.oss-cn-hongkong.aliyuncs.com/onfido-kyc/109fb3dc3e/face.png",
    "firstName":"Test",
    "gender":"2",
    "idDocType":"1",
    "idvReport":"https://sumsub-kyc.oss-cn-hongkong.aliyuncs.com/6cf2e.pdf",
    "kycFailJson":"[]",
    "kycLevel":1,
    "kycPlatform":"onfido",
    "kycStatus":1,
    "kycType":"1",
    "lastName":"last name",
    "merchantNo":"TEST000001",
    "number":"232301198802103743",
    "subMerchantNo":"MER10123012",
    "userNo":"3db9dbe7ecd542b98f1728e4617db96f",
    "userNum":"101016958103533043054",
    "validUntil":"2037-02-10",
    "remark":"123"
}

Merchant Response

After processing by the merchant, if the HTTP code is 200, no further callbacks are made. If the code is not 200, data will be periodically sent.