v8

OpenAPI 3.1.02026-08-033623795.0 MB
Withdrawals

Generate PDF

Generates a withdrawal PDF invoice and returns a temporary download URL.

Required permissions:

  • payout:withdrawal:read
post/withdrawals/{id}/generate_pdf

Path parameters

idstring required
Example:wdrl_xxxxxxxxxxxxx

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

Response

A successful response

expires_atstring date-time required

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

urlstring required

The temporary URL for downloading the withdrawal PDF invoice.

Example response

{
  "expires_at": "2023-12-01T05:00:00.401Z",
  "url": "https://example.com/withdrawal_invoice.pdf"
}