Prepare Fax
prepare_faxPrepare 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. fax_number must be a US fax number: 10 digits (5155551234), optionally prefixed with 1 or +1 (E.164 such as +15155551234); common formatting such as (515) 555-1234 is accepted. Keep draft_token private and reuse it with identical inputs for retries.
Input 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. |