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-08fe3770f4b3See Get Access Token section to generate your bearerToken
Query params
{DocumentType} query param can be any of the following
Document Types
| Parameter | Description |
|---|---|
| Address | Proof of address (e.g. Bank statement) |
| Business | Business Registration (e.g. Business registration, Business license) |
| Identity | Personal Id (e.g. Passport, Driver's License, Government ID Card) |
| SelfieId | Selfie with Id photo |
| PhotoIdFront | ID Front |
| PhotoIdBack | ID Back |
| FundsSource | Source of funds (e.g. Bank statement) |
| BeneficialOwnership | Beneficial ownership |
| ProofOfBalance | Proof of balance (e.g. Bank statement, Screen capture of bank balance) |
| AccountantAuthorization | Accountant authorization |
| NonProfitRegistration | Non-profit registration |
| NonProfitAuthorizedSignatories | Non-profit authorized signatories |
| Other | Other |
Body
Body is expected as form-data with the follow elements:
| Field | Description |
|---|---|
file |
Multi-part File content Allowed extensions: |
request |
JSON with the following structure
|
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'Updated 7 days ago
