Amount in the smallest currency unit (e.g. cents)
OptionalconfirmConfirm the PaymentIntent immediately after creation.
OptionalcurrencyISO currency code (default: usd)
OptionalcustomerCustomer to attach the payment to
OptionaldescriptionArbitrary description shown in the Stripe dashboard
OptionalidempotencyIdempotency key (defaults to a generated UUID)
OptionalmetadataKey/value metadata attached to the PaymentIntent
OptionaloffThe customer is not present (charging a saved payment method). Use with
confirm: true. If the bank asks for authentication, Stripe then fails
the payment (authentication_required) instead of leaving it in
requires_action.
OptionalpaymentPayment method to charge (e.g. pm_…)
OptionalreceiptEmail address to send the receipt to
Options for creating a payment (PaymentIntent)