Skip to main content

Attachment entity

The Attachment entity is used to create files on uP POM. Once the attachment is created, it is used alongside the Document entity to submit supporting documentation.

note

Before you can send the Attachment request, you will need to first encode the file that is to be attached. All files must be encoded using base64.

Field NameValueDescriptionType
roleAttachmentRole of the Attachment. Should aways send “Attachment”.Mandatory
relatedTypeDocumentEntity related to the attachment. Should aways send “Document”.Mandatory
fieldfileField related to the attachment. Should aways send “file”.
* Case sensitive submission
Mandatory
nameISO_MCT_BSLC_20230228.pdfName of the attached file.Mandatory
typeapplication/pdfType of the file.
Options are:
application/pdf
text/plain
image/png
image/jpg
Mandatory
fileSee the Create Document section of the Merchant Onboarding API ReferenceFile to be attached encoded using base64.
The maximum allowed file length is 6MB
The format of the file is:
'data:[type];base64,[base64 encoded file value]'
Mandatory