Skip to main content
POST
Upload a document

Authorizations

Authorization
string
header
required

Your Jenzy API key: Authorization: Bearer jz_live_…

Headers

Idempotency-Key
string
required

Required. A key you mint per upload.

HERMES-ORG
string<uuid>

The id of one of your Child orgs. The call then acts on that Child org, not on your organization. If you do not send it, the call acts on your organization. An id that is not one of your Child orgs gives 404.

Example:

"3f1c2a9e-8b7d-4e21-9a6f-0c5d4b3e2a10"

Body

multipart/form-data
file
file
required

Response

Stored.

id
string<uuid>
required

Name it in a USD payout’s invoice_document_id. One document justifies one payout.

file_name
string
required
Example:

"invoice-0042.pdf"

content_type
enum<string>
required
Available options:
application/pdf,
image/jpeg,
image/png
size_bytes
integer
required
Example:

48213

created_at
string<date-time>
required