Skip to main content
POST
/
v1
/
customers
/
upload
Upload Document
curl --request POST \
  --url https://sandbox.api.fin.com/v1/customers/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form customer_id=55bd6b4e-c20a-4cc8-9535-91d5557a67d9 \
  --form passport='@example-file' \
  --form poa='@example-file' \
  --form poi='@example-file'
{
  "data": {
    "files": [
      {
        "passport": "/CwW9PHhP_Germany-passport.jpg"
      },
      {
        "poa": "/KVdLfqjR_germany-poa-green.jpg"
      }
    ]
  }
}

Allowed File Types

  • PDF
  • JPG / JPEG
  • PNG
Files should be uploaded as separate form fields with arbitrary names. You can use any field name for files (e.g., passport, poa, poi, file1, document1, etc.). The field name you use will be returned as the key in the response.

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain token from /v1/oauth/token endpoint

Body

multipart/form-data
customer_id
string<uuid>
Example:

"55bd6b4e-c20a-4cc8-9535-91d5557a67d9"

passport
file
poa
file
poi
file

Response

Documents uploaded successfully

data
object