capabilities.work

Create Customer and Pay

A 3-step recipe with Stripe. We can help you get access.

Recipe · 3 steps

Create Customer and Pay

with Stripe · Payment Initiation Management
Works with AI assistants

Create a customer and immediately charge them via a confirmed PaymentIntent.

  1. Create the Customer that the payment will be associated with.
  2. Open a PaymentIntent attached to the new customer and payment method for the requested amount.
  3. Confirm the PaymentIntent to attempt the charge.
What you'll need to have ready
  • email: Email address for the new customer.
  • name: Display name for the new customer.
  • amount: Amount to charge in the smallest currency unit (e.g. cents).
  • currency: Three-letter ISO currency code (e.g. usd).
  • paymentMethod: ID of an existing PaymentMethod to charge (e.g. pm_card_visa).
For your developer

Arazzo workflow stripe:create-customer-and-pay, 3 operations: postCustomers → postPaymentIntents → postPaymentIntentsIntentConfirm. Specs on APIs.io.