Create invoice preview
documentedCreate a preview of an invoice.
POST /v1/invoices/create_previewBillingno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.stripe.com/v1/invoices/create_preview" \
-X POST \
-u "{{STRIPE_API_KEY}}:" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"customer": "{{$customer_id}}", "invoice_items": [{"price": "{{$price_item_1}}", "quantity": {{$qty1}}}, {"price": "{{$price_item_3}}", "quantity": {{$qty2}}}], "discounts": [{"promotion_code": "{{$promo_code}}"}]}'