💻
Docs
  • Introduction
  • VIRTUAL CARD
    • Page Integration
      • Quick Page Integration
      • Login-free Page Integration
      • About The Sign
      • Explanation of Return Codes
    • API Integration
      • Things Need To Know
      • About The Sign
      • API For Fetching Usable Card Segments
      • API For Retrieve Enumerations Of The States In The United States
      • API For Creating Virtual Card
      • API For Virtual Card Deposit (recharge)
      • API For Obtaining Card Details
      • API For Updating Virtual Card (update cardholder address)
      • API For Card Refund
      • API For Deleting Card
      • API For Querying Order History
      • Successful card opening callback
      • Fail card opening callback (COPY)
      • Risk Control webhook
      • Error Code
  • Physical card
    • Page Integration
      • Page customization
    • API Integration
      • Create Cardholder
      • Modify Cardholder Information
      • Cardholder Document Upload
      • Cardholder Query
      • Bank Card Application
      • Bank Card Application Result Query
      • Bank Card Activation
      • Bank Card Top-up
      • Bank Card Top-up Order Query
      • Bank Card Query
      • Bank Card Transaction Details Query
      • Bank Card Replacement
      • Bank Card Unloss
      • Bank Card Password Retrieval
      • Bank Card Authorized Transaction Details
      • Partner Account Balance Inquiry
      • Partner Top-up Account Information Inquiry
      • Cardholder Audit Result Notification
      • Bank Card Transaction Notification
  • KYC Sharing API
    • Integration Options
    • Signature Description
    • API
      • Submit basic information
      • Upload photo
      • Submit for approval
      • Query Approval Results
      • Approval Results[Webhook]
Powered by GitBook
On this page
  1. KYC Sharing API
  2. API

Upload photo

Uplaoad user photo

Http method and path

  • GET /open/api/kyc/share/fileUpload

Http body

Element
Mandatory
Data Type
Remarks

file

Y

stream

文件流(最大5M)

requestNo

Y

string

请求号

type

Y

enum

证件正面:idFront,证件反面:idBack,人脸:face,         aml报告:amlReport,  idv报告:idvReport

notices

  • Supported formats for document photos and face photos: jpg, jpeg, png

  • Supported format for AML/IDV reports: pdf

  • All types must be uploaded except for the back side of the document, or the verification will fail.

Request Example

{
    "file": "",
    "requestNo": "123",
    "type": "idFront"
}

Response Parameter

Data Type
Data Type
Remarks

success

boolean

Success flag

error

boolean

Fail flag

msg

string

return message

code

integer

return code

model

Object

return data

traceId

string

traceId

Response Example

{
    "code": "0",
    "msg": "操作成功",
    "model": null,
    "traceId": "652366764a52596446c629939e486913",
    "success": true,
    "error": false
}

Remarks

  • For more error codes, please refer to the error code descriptions on the homepage.

Last updated 1 year ago