Receivables

Get a short-lived download URL for the document file

Changed on
post/receivables/{id}/documents/{document_id}/download

Request

Path parameters

idstring required

An object ID assigned and owned by the originator

Example:acct-123
document_idstring required

An object ID assigned and owned by the originator

Example:acct-123

Headers

Idempotency-Keystring

A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 256 bytes. See Idempotent Requests.

Example:978771af-77de-4e24-ba39-f602502ceb78

Response

Successful operation

file_namestring required

Suggested file name for the downloaded document

urlstring uri required

Short-lived URL to download the document file

expires_atstring date-time required

Expiry of the download URL

Example response

{
  "url": "https://www.acme.com",
  "expires_at": "2024-01-15T10:30:00Z"
}

Changes