Account Document

Adds a document to the account.

Account document endpoint can be used to add a document to the Veem account. This could be, for example, a Personal Id, Proof of address, or Business Registration.

Add document

POST https://sandbox-api.veem.com/veem/v1.2/account/documents/{DocumentType}

📘

Headers

There are 2 headers necessary for the use of this endpoint:

  • X-request-id: This is a number unique to the current API request, and follows the UUID format. Reusing this header without changing the value will result in a 409 (Conflict) status. An example X-request-id is as follows:

48855846-628d-4177-b071-80332a116f0a

  • Authorization: This header holds the bearer token required to use Veem's public API, and belongs to the owner account. Failure to use a valid bearer token will result in a 404 (Not Found) status. An example of a valid token is as follows:

Bearer c047594b-082c-4da1-be89-08fe3770f4b3

See Get Access Token section to generate your bearerToken

Query params

{DocumentType} query param can be any of the following

Document Types

ParameterDescription
AddressProof of address (e.g. Bank statement)
BusinessBusiness Registration (e.g. Business registration, Business license)
IdentityPersonal Id (e.g. Passport, Driver's License, Government ID Card)
SelfieIdSelfie with Id photo
PhotoIdFrontID Front
PhotoIdBackID Back
FundsSourceSource of funds (e.g. Bank statement)
BeneficialOwnershipBeneficial ownership
ProofOfBalanceProof of balance (e.g. Bank statement, Screen capture of bank balance)
AccountantAuthorizationAccountant authorization
NonProfitRegistrationNon-profit registration
NonProfitAuthorizedSignatoriesNon-profit authorized signatories
OtherOther

Body

Body is expected as form-data with the follow elements:

Field Description

file

Multi-part File content

Allowed extensions:
bmp, doc, docx, gif, jpg, jpeg, pdf, png, tif, tiff, xls, xlsx

request

JSON with the following structure

{ "description": "document short description" }

Example


curl --location 'https://sandbox-api.veem.com/veem/v1.2/account/documents/SelfieId'  
--header 'Authorization: Bearer abcdc463-cf95-b458-ea3561deda4c'  
--header 'X-REQUEST-ID: 794f264a-4eb9-be08-a366ef8d9ab3'  
--header 'Cookie: XSRF-TOKEN=c1ae52ec-4c06-afda-a814490183bd; SESSION=McxMjMzM2ItY2E5NS00ZjkAzZDk1ZGY4ZTdj'  
--form 'file=@"/C:/Users/oscar/Pictures/SelfieId.png"'  
--form 'request="{\"description\": \"Selfie photo with Id\"}";type=application/json'