Uploads a file to a merchant's registration.
Upload identification, bank statements, or business licenses to a merchant's registration.
Review the file before uploading it to an approved merchant. You cannot remove files from approved merchants.
Upload a registration file
- Authenticate with your partner API key using Bearer authentication.
- Set the required
idpath parameter to the merchant's ID. - Provide the required
nameandfilefields in your upload request. - Check the response: HTTP
200returns the merchant's registration with afilesarray. Confirm that the array includes the file you uploaded.
Optional: Associate the file with a requested document
Set registration_document_id to help the underwriting team (the team that reviews a merchant's application and supporting documents before approval) identify the purpose of your file.
Retrieve the merchant's requested documents with Get Registration Documents, using GET /underwriting/merchant/{id}/registration/documents. Select the matching document by its title and type, then copy that document's id into registration_document_id. Do not use an uploaded file's id in its place.
For example, the registration documents response uses RD11eb3bbd85936820828f2b181cd9c9d0 for “Void Check or Signed Bank Letter.” Use the ID returned for your merchant, not this example value. Omit registration_document_id when you do not need to associate the file with a specific requested document.
Resolve a missing-file error
HTTP 422 with the following response means the request did not include the required file:
{
"file": [
"The file field is required."
]
}Include the file in your request and submit it again. After a successful upload, verify that HTTP 200 returns the uploaded file in the registration's files array.
