Uploads a single document that BlueSnap underwriting requested during the merchant onboarding process. To retrieve information about the documents BlueSnap requested, send a Retrieve Document Upload Request.
Endpoint
https://platform.bluesnap.com/services/2/merchants/verification/documents
Request Content
Parameter | Required | Description |
---|---|---|
caseId | required | Unique identifier that BlueSnap assigned to this document request. This is the value sent in the case_id parameter in the APPLICATION_DOCUMENT_REQUEST webhook. |
sandboxId | required | Unique identifier for the merchant's test account. This is the value sent in the sandbox_id parameter in the APPLICATION_DOCUMENT_REQUEST webhook. |
docType | required | Category of the requested document. Accepts the following values: - bankDocument - financialStatements - processingStatements - companyRepresentativeId - miscellaneousRequest - businessArticle - businessTaxId - websiteDescription - owner[n]Id (The index [n] supports 1 - 4 for the Owner ID. The FName and LName of the individual will be passed to you in the response for clarity.) |
title | required | Filename of the document uploaded by the merchant. |
fileType | required | File format of the document uploaded by the merchant. Accepts the following values: - csv - doc - docx - jpg or jpeg - pdf - png - ppt - pptx - xls - xlsx |
description | required | Notes collected from the merchant that describes the document sent in the request. |
content | required | Base64-encoded string that contains file data. |
Response
{
"status": "success",
"message": "File Uploaded"
}
Examples
Requests
curl -v -X GET https://platform.bluesnap.com/services/2/merchants/verification/documents \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
"caseId": "5005a00002hJd75AAC",
"sandboxId": "1156375",
"docType": "bankDocument",
"title": "bankcheck.pdf",
"fileType": "pdf",
"description": "My Voided Check",
"content": "SGVsbG8gQmx1ZVNuYXA="
}'
Responses
{
"status": "success",
"message": "File Uploaded"
}