Add an attachment to a processing account
You can use the attachments feature of our API to add a document to a processing account to support a merchant’s application, for example, questionnaires, banking evidence, and personal identification.
You can add only one attachment in each request to our API, and each attachment must be an uncompressed file under 50 MB in one of the following formats:
- .bmp, .csv, .doc, .docx, .gif, .htm, .html, .jpg, .jpeg, .msg, .pdf, .png, .ppt, .pptx, .tif, .tiff, .txt, .xls, .xlsx
After we receive your request, we upload the document and attach it to the processing account. You can use our API to check the upload status of the document and to view information about the document.
Integration steps
- Upload an attachment.
- (Optional) Check the upload status of the attachment.
Before you begin
Authenticate your requests before making API calls. If your request fails, see Errors.
Important: This endpoint accepts a file upload. Set the value of the Content-Type header to multipart/form-data instead of application/json.
Step 1. Upload an attachment
To upload an attachment, send a POST request to our Processing Accounts endpoint.
Request parameters
To create the body of your request, use the following parameters:
Request
Example request
Response fields
If your request is successful, our gateway uploads the attachment.
Response
Example response
Step 2. (Optional) Check the upload status of the attachment
To check the upload status of the attachment, send a GET request to our Attachments endpoint.
Example request
Response fields
If your request is successful, our gateway returns details about the attachment.