w3-io/W3 PDF Action

Render tenant-branded receipt PDFs for w3-give and similar tenant apps.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandOperation to perform. Supported: render-receiptyes
receipt-dataJSON payload describing the receipt to render. Shape: { "tenant_id": "hope-give" | "fortheblue", "receipt_number": "R-2026-000001", "issued_at": "2026-06-06T19:00:00Z", "donor": { "name": string, "email": string? }, "recipient": { "name": string, "ein": string?, "address": string? }, "gift": { "amount_usd": "100.00", "asset": "USDC", "chain": "avalanche", "transaction_hash": "0x...", "settled_at": "2026-06-06T18:55:00Z" } } yes
upload-endpointS3-compatible gateway endpoint (e.g. https://gateway.w3.cloud). Triggers upload mode when set.no""
upload-bucketBucket name to upload into. Required when upload-endpoint is set.no""
upload-keyObject key. Required when upload-endpoint is set.no""
upload-access-keyS3 access key id. Required when upload-endpoint is set.no""
upload-secret-keyS3 secret access key. Required when upload-endpoint is set.no""
upload-regionS3 region for SigV4 signing. Defaults to "global" (matches W3 cloud gateway).noglobal
namedescription
resultRender-mode (no upload): { "pdf_base64": string, "byte_size": number, "content_type": "application/pdf" } Upload-mode: { "bucket": string, "key": string, "byte_size": number, "content_type": "application/pdf" }