NAME

WebService::Braintree::DocumentUpload

PURPOSE

This class creates document uploads.

create()

This takes a hashref of parameters and returns a response with the document_upload() set.

The parameters are:

kind

This is the kind of document.

file

This is a path on the server for the file to upload. The extension will be used to determine the mime type.