attachments Subfields

The attachments parameter of the Add Attachments endpoint should contain these fields as key/value pairs.

ParameterReqDescriptionExample
fileNameXString. The filename of the attachment."WalMart_receipt.gif"
categoryXString. The category for the attachment:
  • AccountHolder
  • Association
  • Internal
  • SupportingDocumentation

    If validAttachmentCategoryList is not returned in the response of Get Doc Requirements, use SupportingDocumentation.
  • "SupportingDocumentation"
    labelXString. User-provided string to describe the attachment."Receipt from 3/24"
    documentStreamXString. Base64-encoded file."PHRhYmxlIGNsYXNzPSJxdm9Cb2R5Q29udGVudCI+PHRyPjx0ZD4gPCEtLXF2b0JvZHlDb250ZW50"

    Example string for attachments

    [{"fileName": "filename1.png", "category": "SupportingDocumentation", "label": "receipt1", "documentStream": "PHRhYmxlIGNsYXNzPSJxdm9Cb2R5Q29udGVudCI+PHRyPjx0ZD4gPCEtLXF2b0JvZHlDb250ZW50"}, {"fileName": "filename2.png", "category": "SupportingDocumentation", "label": "receipt2", "documentStream": "XNzPSJxdm9Cb2R5Q29PHRhYmxlIGNsYudGVEtLXF2b0JvZHlDudCI+PHRyPjx0ZD4gPCb250ZW50"}]