Upload documents to customer
Changed on:::info Customers API v2 The new customer onboarding flow is recommended for all new integrations.
If you already have an existing integration with Customers API v1, you can continue using it. BVNK will continue to support this API going forward. :::
Attach one or more documents to a customer's profile. This can be either a company customer (with optional linkage to a specific associate) or an individual customer. Files must be base64-encoded before submission.
- For company-level documents, omit customerPersonReference.
- For associate-level documents, provide the customerPersonReference.
- The customer must be in INFO_REQUIRED status.
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier of the customer to whom the documents will be attached. Must be in INFO_REQUIRED status.
Request body
Example request
[
{
"type": "COMPANY_DOC",
"subType": "INCORPORATION_CERT",
"name": "Certificate of Incorporation.pdf",
"description": "Certificate of incorporation",
"countryCode": "DE",
"externalReference": "2b8d8bde-eef5-408a-9228-96bef24865ad",
"content": "JVBERi0xLjUKJeLjz9MKMSAwIG9iago8PC9UeXBlIC9QYWdl..."
},
{
"customerPersonReference": "9b2c3d4e-567f-48f0-abc1-03a4e3df12ab",
"type": "PASSPORT",
"name": "John Smith Passport.pdf",
"description": "Passport single-sided",
"countryCode": "DE",
"externalReference": "8eabc8f2-7f76-4d2e-9fa6-0a11e94d3dcd",
"content": "JVBERi0xLjUKJeLjz9MKMSAwIG9iago8PC9UeXBlIC9QYWdl..."
}
]Response
Documents accepted and queued for upload.
Example response
{
"reference": "d42e1c62-27b8-4b3b-b51e-eb10edeb1731",
"externalReference": "2b8d8bde-eef5-408a-9228-96bef24865ad",
"status": "INIT"
}Changes
- breaking
request property
//was restricted to a list of enum values - breaking
request property
//was restricted to a list of enum values - breaking
request property
//was restricted to a list of enum values - breaking
request property
//was restricted to a list of enum values - info
added the new
AGREEMENTenum value to the request property// - info
added the new
ARBITRARY_DOCenum value to the request property// - info
added the new
BACK_SIDEenum value to the request property// - info
added the new
BANK_CARDenum value to the request property// - info
added the new
CAPITALISATION_OWNERSHIP_STRUCTUREenum value to the request property// - info
added the new
COMPANY_DOCenum value to the request property// - info
added the new
CONTRACTenum value to the request property// - info
added the new
COVID_VACCINATION_FORMenum value to the request property// - info
added the new
DIRECTORS_REGISTRYenum value to the request property// - info
added the new
DRIVERSenum value to the request property// - info
added the new
DRIVERS_TRANSLATIONenum value to the request property// - info
added the new
FILE_ATTACHMENTenum value to the request property// - info
added the new
FRONT_SIDEenum value to the request property// - info
added the new
GOOD_STANDING_CERTenum value to the request property// - info
added the new
ID_CARDenum value to the request property// - info
added the new
ID_DOC_PHOTOenum value to the request property// - info
added the new
INCOME_SOURCEenum value to the request property// - info
added the new
INCORPORATION_ARTICLESenum value to the request property// - info
added the new
INCORPORATION_CERTenum value to the request property// - info
added the new
INCUMBENCY_CERTenum value to the request property// - info
added the new
INFORMATION_STATEMENTenum value to the request property// - info
added the new
INVESTOR_DOCenum value to the request property// - info
added the new
MEMORANDUMenum value to the request property// - info
added the new
OTHERenum value to the request property// - info
added the new
OTHERenum value to the request property// - info
added the new
PARTNERSHIP_AGREEMENTenum value to the request property// - info
added the new
PASSPORTenum value to the request property// - info
added the new
PAYMENT_SOURCEenum value to the request property// - info
added the new
POWER_OF_ATTORNEYenum value to the request property// - info
added the new
POWER_OF_ATTORNEYenum value to the request property// - info
added the new
PROFILE_IMAGEenum value to the request property// - info
added the new
PROOF_OF_ADDRESSenum value to the request property// - info
added the new
PROOF_OF_NATURE_OF_BUSINESSenum value to the request property// - info
added the new
REGULATORY_LICENSEenum value to the request property// - info
added the new
RESIDENCE_PERMITenum value to the request property// - info
added the new
SELFIEenum value to the request property// - info
added the new
SELF_DECLARATION_FORMenum value to the request property// - info
added the new
SHAREHOLDER_REGISTRYenum value to the request property// - info
added the new
SOURCE_OF_FUNDSenum value to the request property// - info
added the new
STATE_REGISTRYenum value to the request property// - info
added the new
TRADE_LICENSEenum value to the request property// - info
added the new
TRANSPARENCY_REGISTRY_EXTRACTenum value to the request property// - info
added the new
TRUST_AGREEMENTenum value to the request property// - info
added the new
UTILITY_BILLenum value to the request property// - info
added the new
UTILITY_BILL2enum value to the request property// - info
added the new
VEHICLE_REGISTRATION_CERTIFICATEenum value to the request property// - info
added the new
VIDEO_SELFIEenum value to the request property//
- breaking