Prepare Fax
prepare_faxIdempotent
Prepare one PDF fax and return its price and Stripe checkout link. This stores the document but does not send or charge. Completing checkout authorizes sending to the displayed recipient. Keep draft_token private and reuse it with identical inputs for retries.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address for delivery notifications. | ||
| filename | Yes | PDF filename without directory paths. | |
| fax_number | Yes | US destination fax number: 10 digits (5155551234), optionally prefixed with 1 or +1 (+15155551234). Common formatting such as (515) 555-1234 is accepted. | |
| draft_token | Yes | A secret, cryptographically random 64-character lowercase hex token. Reuse for retries and status checks. | |
| document_base64 | Yes | Standard base64 of the PDF bytes, without a data URL prefix; maximum decoded size 10 MiB. |