---
title: "Generate PDF"
method: POST
path: "/withdrawals/{id}/generate_pdf"
tags: ["Withdrawals"]
---

# Generate PDF

`POST /withdrawals/{id}/generate_pdf`

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

Required permissions:
 - `payout:withdrawal:read`

## Path parameters

- `id` string, required

## Response `200`

A successful response

- object — 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.
  - `url` string, required — The temporary URL for downloading the withdrawal PDF invoice.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Verification required
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/db0883548bc5/schema)
