Create a document for a customer

POST https://api-sandbox.dwolla.com/customers/{{VCRCustomerId}}/documents

Create a document for a Customer pending verification by uploading a photo of the document. This requires a multipart form-data POST request. The file must be either a .jpg, .jpeg, .png, .tif, or .pdf up to 10MB in size.

Form FieldData typeRequiredDescription
documentTypestringyesOne of passport, license, idCard, or other
filefileyesFile contents.

Request Body

[{"name"=>"documentType", "value"=>"license", "datatype"=>"string"}, {"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Authorizationstring