These docs are for v3. Click to read the latest docs for v4.

Document Uploads

Supported Document Types

Document TypeContent-Type(s)
PDFapplication/pdf
Imagesimage/jpeg
image/png
Word Document (.doc or .docx)application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document

πŸ“˜

Max Filesize

Maximum file upload size is 7.75MB

Example:

curl -X POST \
  	'http://api.sendwyre.com/v3/accounts/AC-DM4ANREWUNJ/individualGovernmentId?documentType=DRIVING_LICENSE&documentSubType=FRONT&timestamp=1426252182534' \
    --upload-file '/Users/user/passport.pdf' \
  	-H 'Content-Type: application/pdf' \
  	-H 'Authorization: Bearer SK-XXX-XXX-XXX' \

	curl -X POST \
  	'http://api.sendwyre.com/v3/accounts/AC-DM4ANREWUNJ/individualGovernmentId?documentType=DRIVING_LICENSE&documentSubType=BACK&timestamp=1426252182534' \
    --upload-file '/Users/user/passport.pdf' \
  	-H 'Content-Type: application/pdf' \
  	-H 'Authorization: Bearer SK-XXX-XXX-XXX' \