Merchants

Documents:Add

Upload a (compliance) document as base64. Uploading is done based on a document code, the content of the document needs to be encoded to base64. You can also specify the filename.

You need to authenticate with an AT code (as username) and the corresponding token (as password) or you can authenticate with an AL code (as username) and the corresponding secret (as password)

post/documents

Request body

codeCode — unresolved $ref
fileNamestring

Name of the file.

documentFilestring

Base64 encoding of the file.

filesstring[]

Array of base64 encoded files.

Response

Created

codestring

Code of the acceptance document.

typestring

Type of the acceptance document.

statusstring

Status of the acceptance document.

Example response

{
  "code": "D-1234-1234",
  "type": "identification",
  "status": "UPLOADED"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.