/kyc/individual/file

文件上传API

file_type 类型定义如下:

KeyRequiredDescription
id_fileYesPassport, ID Card, Resident Permit, or Driver's license.(Images only please, PDF not accepted.)
id_back_fileNoBack of the ID document (e.g. the back of Driver's License, ID Card. Images only please, PDF not accepted.) This is optional, as passport doesn't have a back side.
selfie_fileYesPhoto of the userself, with the entire face visible. Remove any accessories such as glasses when taking the selfie. Photo should be well lit and in focus.
proof_of_addressNoProof of address

Please call this API to upload file one by one.
请多次调用此API,一次只上传一个文件。

如果有:id_file, id_back_file, selfie_file, proof_of_address尽可能都传上来。

但是:id_file,selfie_file这2个为必传file。


raw_body

Allowed extensions: jpeg,bmp,png,tiff,pdf,jpg.

Allowed mime types: image/jpeg,image/jpg,image/bmp,image/tiff,image/png,image/heif,image/heic,image/webp,application/pdf

Body Params
string
required

Unique user id

string
required

File Name

string
required

File_type, 取值请看file_type类型定义

file
required

File, allowed extensions: jpeg, bmp,png,tiff,pdf,jpg

Headers
string
Defaults to 39630
string
Defaults to Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZhOWNmNDhhMTgwZmNkNzdiYzJhYjVlY2JhOWE0NTFhMmJiZmMwN2IxMWQ3NjFlMmRlOTU5NmM5NDA4NzBmZWM0MzdkYzZkZGFkOTlmNzJiIn0.eyJhdWQiOiIyNCIsImp0aSI6ImZhOWNmNDhhMTgwZmNkNzdiYzJhYjVlY2JhOWE0NTFhMmJiZmMwN2IxMWQ3NjFlMmRlOTU5NmM5NDA4NzBmZWM0MzdkYzZkZGFkOTlmNzJiIiwiaWF0IjoxNjU2NDgxOTMzLCJuYmYiOjE2NTY0ODE5MzMsImV4cCI6MTY4ODAxNzkzMywic3ViIjoiNzMiLCJzY29wZXMiOltdfQ.eFBwZUEN3acF6twJ5CIhOi2tZtXINSuDmjORXN1-oQgo0ncfvp7Le3pr9f-fr8SIlF_ZdxVqs00usmycVsEa0ekK0UbGMUTWAk23hhdcVrhWIlZBLcXQYO_mzrRDEl_9qyyp99rArvHVLVZJO3zou57E3ptZehzkJNulwzI2BKMEDmZh7oeXv08dEr2VlKKYjud3QIgj1Xwa3PoyYNzwXaHhDHswCrqwThLAmDhTR_wJGm_qwI-CATew41RQ_x43jIJETcuNAF3PuTWTcwLmUok-Ay4MQNGScaK4ovHLPfRFqNQlJ5T_dKz1D8gFByei-7CF4ge5gvQ6QBceROvDBpnOiK_QOHopV3RgLaUc2YmV9O7boZtC0VCXfR8RObg-ljAjLPN_Fv-SPw3mznGOKmP89gUL01FSmA58zX7er9XI8u7TroF977V5UdEKEYfsL1EP-KzPYncUvVVUCGiiEILkMwYiKoQnNNmHiHoNaoVVKn6415ljG30GI-IbYDiICsl2DWBXTwyZT1Q_bCryt26tiXCilsJHLMBw0nM7dlNbxcjKoY0pzGx3cCWtDExq2cNGSAoMEtQQ5CNjxT87zJuzyL_G8BHQYpw9jC4rXl4wo4MNKBFzpnj40qLY5g18r9t4muHVV7j2VQYqQ_vQfQouJg8D9flsFLIFF7QoQT8

Bear token

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain