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 |
|---|---|---|
| required | Unique identifier that BlueSnap assigned to this document request. This is the value sent in the |
| required | Unique identifier for the merchant's test account. This is the value sent in the |
| required | Category of the requested document. Accepts the following values:
|
| required | Filename of the document uploaded by the merchant. |
| required | File format of the document uploaded by the merchant. Accepts the following values:
|
| required | Notes collected from the merchant that describes the document sent in the request. |
| 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"
}