POST
/
uploadImage
curl --request POST \
  --url https://gateway.finhub.cloud/kyc/uploadImage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-token: <x-token>' \
  --data '{
  "purpose": "<string>",
  "imageData": {
    "id_front_side": "<string>",
    "id_back_side": "<string>",
    "selfie": "<string>",
    "passport": "<string>"
  },
  "metaData": {
    "type": "<string>",
    "value": {
      "customerId": "<string>",
      "aud": "<string>",
      "data": "<string>"
    }
  },
  "organizationId": "<string>"
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-token
string
required

authentication token from /authorize response

Body

application/json
purpose
string
imageData
object
metaData
object
organizationId
string

Response

200 - application/json
id
string
required