stripe.payInvoice to attempt payment for an open Stripe invoice.
Example
automations/stripe-pay-invoice.automation.ts
Inputs
invoiceId is required. Payment overrides such as a payment method or off-session handling follow Stripe’s invoice payment contract. idempotencyKey is optional.
Inputs use camel case and accept compatible signals. Automate.ax converts provider fields to Stripe’s wire format. Metadata keys remain unchanged.
Output
Returns the resulting Stripe Invoice. Output fields use camel case. Nested Stripe decimal fields such asquantityDecimal are lossless strings.