Create Payment Intent
create_payment_intentCreate a Stripe PaymentIntent to process payments. Specify the amount in smallest currency units (e.g., cents for USD) and currency code.
Instructions
Create a Stripe PaymentIntent. Amount is in the smallest currency unit (e.g. cents for USD).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in smallest currency unit (e.g. 1000 = $10.00) | |
| currency | Yes | Three-letter ISO currency code (e.g. "usd", "eur") | |
| customer | No | Customer ID to associate | |
| description | No | Payment description | |
| payment_method | No | Payment method ID to use | |
| confirm | No | Immediately confirm the payment (default false) | |
| automatic_payment_methods | No | Enable automatic payment methods (default true) | |
| metadata | No | Metadata key-value pairs | |
| receipt_email | No | Email to send receipt to | |
| statement_descriptor | No | Statement descriptor (max 22 chars) | |
| capture_method | No | "automatic" (default) or "manual" for auth-then-capture | |
| off_session | No | Set true if payment is made without customer present | |
| idempotency_key | No | Optional idempotency key for safe retries |