PUT
/
customers
/
{id}
/
documents
/
url
curl --request PUT \
  --url https://api.sandbox.sudo.cards/customers/{id}/documents/url \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fileName": "<string>",
  "fileType": "<string>"
}'
"{}"

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The _id of the customer you wish to upload documents for.

Body

application/json
fileName
string
required

Name of file to be uploaded.

fileType
string
required

File MIME type e.g image/png

Response

200
application/json
200

The response is of type object.