Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Path Parameters

id
string
required

The unique identifier of the withdrawal to generate a PDF for.

Example:

"wdrl_xxxxxxxxxxxxx"

Response

A successful response

A temporary link to a generated withdrawal PDF invoice.

expires_at
string<date-time>
required

The timestamp after which the withdrawal PDF URL is no longer valid.

Example:

"2023-12-01T05:00:00.401Z"

url
string
required

The temporary URL for downloading the withdrawal PDF invoice.

Example:

"https://example.com/withdrawal_invoice.pdf"