The attachments
parameter of the Add Attachments endpoint should contain these fields as key/value pairs.
Parameter | Req | Description | Example |
---|---|---|---|
fileName | X | String. The filename of the attachment. | "WalMart_receipt.gif" |
category | X | String. The category for the attachment: AccountHolder Association Internal SupportingDocumentation If validAttachmentCategoryList is not returned in the response of Get Doc Requirements, use SupportingDocumentation . | "SupportingDocumentation" |
label | X | String. User-provided string to describe the attachment. | "Receipt from 3/24" |
documentStream | X | String. Base64-encoded file. | "PHRhYmxlIGNsYXNzPSJxdm9Cb2R5Q29udGVudCI+PHRyPjx0ZD4gPCEtLXF2b0JvZHlDb250ZW50" |
Example string for attachments
attachments
[{"fileName": "filename1.png", "category": "SupportingDocumentation", "label": "receipt1", "documentStream": "PHRhYmxlIGNsYXNzPSJxdm9Cb2R5Q29udGVudCI+PHRyPjx0ZD4gPCEtLXF2b0JvZHlDb250ZW50"}, {"fileName": "filename2.png", "category": "SupportingDocumentation", "label": "receipt2", "documentStream": "XNzPSJxdm9Cb2R5Q29PHRhYmxlIGNsYudGVEtLXF2b0JvZHlDudCI+PHRyPjx0ZD4gPCb250ZW50"}]