w3-io/W3 PDF Action
Render tenant-branded receipt PDFs for w3-give and similar tenant apps.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Operation to perform. Supported: render-receipt | yes | — |
| receipt-data | JSON 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-endpoint | S3-compatible gateway endpoint (e.g. https://gateway.w3.cloud). Triggers upload mode when set. | no | "" |
| upload-bucket | Bucket name to upload into. Required when upload-endpoint is set. | no | "" |
| upload-key | Object key. Required when upload-endpoint is set. | no | "" |
| upload-access-key | S3 access key id. Required when upload-endpoint is set. | no | "" |
| upload-secret-key | S3 secret access key. Required when upload-endpoint is set. | no | "" |
| upload-region | S3 region for SigV4 signing. Defaults to "global" (matches W3 cloud gateway). | no | global |
Outputs
| name | description |
|---|---|
| result | Render-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" } |