v1

latestOpenAPI 3.1.02026-07-24416405768.8 KB
h) Wallets

Add a new attachment on the wallet

This can attached extra information to a wallet in form of sticky notes, docs or images. One can add multiple attachments to the wallet. Supported media types are application/pdf,image/png or image/jpeg,application/json,text/plain.

post/eclipse-conductor/rest/v1/tenants/{tenantId}/wallets/{walletId}/attachments

Path parameters

tenantIdinteger required
walletIdinteger required

Request body

attachmentTypestring required

A functional name for the type of attachment. E.g. proof.of.source.of.funds or pip.category, pep.cateogy, occupation

base64EncodedAttachmentstring

Optional base64 Encoded data of the attachment for binary attachments that are documents e.g. the pdf, jpg etc.

fileNamestring

Optional file name for the attachment - E.g. as it was when uploaded - mydocument.pdf

infostring

Optional text data of the attachment.You can pass text and json data in Info. Used when at attachment is text as opposed to a binary document

mediaTypestring

Optional media type of the base64EncodedAttachment. E,g. media types for application/pdf, image/png or image/jpeg,application/json,text/plain

storageTypestring

Response

OK

attachmentIdinteger
attachmentTypestring required

File name for the attachment.Supported file for pdf,doc,json,text

base64EncodedAttachmentstring

Optional base64 Encoded data of the attachment.

createdstring date-time
fileNamestring

Optional file name for the attachment

infostring

Optional text data of the attachment.You can pass text and json data in Info

lastModifiedstring date-time
mediaTypestring

Optional media type of the attachment.Supported media types for application/pdf, image/png or image/jpeg,application/json,text/plain

Example response

{
  "created": "2022-03-10T12:15:50-04:00",
  "lastModified": "2022-03-10T12:15:50-04:00"
}