User Registration
Request Path
/open/api/user/core/register
Request Method
POST
Request Parameters:
Parameter Name | Required | Type | Description | Length | Example |
---|---|---|---|---|---|
merchantNo | Yes | string | Merchant number | 64 | NFT0001 |
subMerchantNo | No | string | Sub-merchant number | 64 | a01a123 |
businessSubcategories | No | string | Business subcategories | 32 | BUY |
Yes | string | 64 | [email protected] | ||
kycPlatform | Yes | string | KYC platform | 255 | KYC platform onfido or sumsub |
kycType | Yes | string | KYC type | 255 | 1 |
redirectUrl | No | string | Redirect URL after KYC success | 255 | www.baidu.com |
callbackUrl | Yes | string | Callback URL after KYC success | 255 | www.baidu.com |
remark | No | string | Remark | 255 | www.baidu.com |
Request Parameter Example
{
"merchantNo": "NFT0001",
"subMerchantNo": "a01a123",
"businessSubcategories": "BUY",
"email": "123@123",
"kycType": "1",
"kycPlatform": "sumsub",
"redirectUrl": "http://www.baidu.com",
"callbackUrl": "http://www.baidu.com",
"remark": "9999"
}
Response Parameters
Parameter Name | Required | Type | Description | Example |
---|---|---|---|---|
code | Yes | integer | Return code | 0 |
msg | Yes | string | Return message | User registered |
model | Yes | string | KYC link | https://dev-user.alchemytech.cc?token=37aa507d116c4cc49ac32c4bd3458f2b |
traceId | Yes | string | traceId | 64e316f0cf1c6c4ac44c881c051f51f8 |
error | Yes | boolean | Failure indicator | false |
success | Yes | boolean | Success indicator | true |
Response Parameter Example
User not registered
{
"code": "0",
"msg": "Success",
"model": "https://dev-user.alchemytech.cc?token=37aa507d116c4cc49ac32c4bd3458f2b",
"traceId": "64e316f0cf1c6c4ac44c881c051f51f8",
"error": false,
"success": true
}
User already registered
{
"code": "2002",
"msg": "User registered",
"model": null,
"traceId": "64e462f03cb28e341b6973070be1e22b",
"success": false,
"error": true
}
Updated about 2 months ago