KYC
提交 KYC
POST
/open-api/v1/kyc/submit
提交 KYC Headers:
Header | Parameters | 说明 |
---|---|---|
x-qbit-access-token | string | access token |
Content-Type | application/json | json 类型 |
POST 请求参数:
字段 | 类型 | 是否为必填 | 说明 |
---|---|---|---|
accountId | string | 是 | 账户 ID |
address | json | 是 | 地址 |
addressEn | json | 是 | 英文地址 |
name | json | 是 | 姓名 |
dob | string | 是 | 生日(如 1996-11-24) |
nationality | string | 是 | 国家代码(如 CN) |
identification | json | 是 | 证件 |
返回参数:
字段 | 类型 | 说明 |
---|---|---|
data | boolean |
请求示例:
curl --location --request POST 'https://global.service.staging.qbitnetwork.com/open-api/v1/kyc/submit' \
--header 'x-qbit-access-token: 971084dc7b26f1b327142829c8a1ab3dd26dd3b4' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountId": "0291387b-e4ad-4497-9afe-55ec98980dc6",
"address": {
"addressLine1": "1",
"addressLine2": "2",
"city": "3",
"state": "4",
"country": "5",
"postalCode": "6"
},
"addressEn": {
"addressLine1": "1",
"addressLine2": "2",
"city": "3",
"state": "4",
"country": "5",
"postalCode": "6"
},
"dob": "1997-09-09",
"name":{
"firstName":"四",
"firstNamePinYin":"Si",
"lastName":"李",
"lastNamePinYin":"Li"
},
"nationality": "CN",
"identification": {
"frontAttachmentId": "b26baa7b-3ede-4a43-92e2-a54eb2552586",
"backAttachmentId":"a228807d-d2eb-4304-9c5c-3a7e92c131b1",
"expirationDate": "2033-01-11",
"number": "111111111111111111",
"startDate": "2011-01-01"
}
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
人脸认证
POST
/open-api/v1/kyc/face-auth
用于创建 kyc 后提交人脸认证
Headers:
Header | Parameters | 说明 |
---|---|---|
x-qbit-access-token | string | access token |
Content-Type | multipart/form-data | form-data 类型 |
POST 请求参数:
字段 | 类型 | 是否为必填 | 说明 |
---|---|---|---|
accountId | string | 是 | 账户 ID |
file | string | 是 | 3-10s 人脸认证视频 |
返回参数:
字段 | 类型 | 说明 |
---|---|---|
data | boolean |
请求示例:
curl --location --request POST 'https://global.service.staging.qbitnetwork.com/open-api/v1/kyc/face-auth' \
--header 'x-qbit-access-token: 971084dc7b26f1b327142829c8a1ab3dd26dd3b4' \
--form 'file=@"/D:/Download/Chrome/face.mp4"' \
--form 'accountId="0291387b-e4ad-4497-9afe-55ec98980dc6"'
1
2
3
4
2
3
4
获取 KYC
GET
/open-api/v1/kyc/:accountId
获取 KYC
Headers:
Header | Parameters | 说明 |
---|---|---|
x-qbit-access-token | string | access token |
Content-Type | application/json | json 类型 |
返回参数:
请求示例:
curl --location --request GET 'https://global.service.staging.qbitnetwork.com/open-api/v1/kyc/0291387b-e4ad-4497-9afe-55ec98980dc6' \
--header 'x-qbit-access-token: 971084dc7b26f1b327142829c8a1ab3dd26dd3b4' \
--data-raw ''
1
2
3
2
3