The documents
parameter of the Add Required Docs endpoint should contain these fields as key/value pairs.
Parameter | Req | Description | Example |
---|---|---|---|
documentStream | X | String. The completed PDF, base64-encoded. | "JVBERi0xLjQKJcfl9OXwCjEgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL0xlbmd0aCAxMjU4Cj4+CnN0cmVhbQp42s1YW3PTOBR+r+" |
identifier | X | String. The value from identifier in the Get Doc Requirements. | "StatementOfDispute" |
attachmentCategory | X | String. A category in the validAttachmentCategoryList that was returned by Get Doc Requirements. If validAttachmentCategoryList was not returned by Get Document Requirements, pass SupportingDocumentation . | "SupportingDocumentation" |
fileName | X | String. The file name of the PDF. | "StatementOfDispute.pdf" |
attachmentLabel | X | String. User-friendly name for the file. | "Statement of Dispute" |
Example string for documents
documents
This example shows two documents.
"documents": [
{
"DocumentStream": "JVBERi0xLjQKJcfl9OXwCjEgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL0xlbmd0aCAxMjU4Cj4+CnN0cmVhbQp42s1YW3PTOBR+r+\",
"Identifier": "ProofOfPayment",
"AttachmentCategory": "SupportingDocumentation",
"FileName": "proof_of_payment.pdf",
"AttachmentLabel": "Proof of Payment"
},
{
"DocumentStream": "ABCERi0xLjQKJcfl9OXwCjEgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL0xlbmd0aCAxMjU4Cj4+CnN0cmVhbQp42s1YW3PTOBR+r+\",
"Identifier": "StatementOfDispute",
"AttachmentCategory": "Accountholder",
"FileName": "statement_of_dispute.pdf",
"AttachmentLabel": "Statement of Dispute"
}
]