This chapter covers the core features and capabilities of Stripe Integration Kit.
# Run the full demo (creates customer, payment intent, checkout session)
python src/stripe_integration_kit.py --action demo
# Create a customer
python src/stripe_integration_kit.py --action create-customer --email user@example.com --name "Jane Dev"
# Create a $49.99 payment intent
python src/stripe_integration_kit.py --action create-intent --amount 4999 --currency usd
# Confirm a payment
python src/stripe_integration_kit.py --action confirm-intent --intent-id pi_abc123
# Create a checkout session
python src/stripe_integration_kit.py --action create-checkout --customer cus_001 --amount 2999
# List all customers
python src/stripe_integration_kit.py --action list-customersFollow this guide to get Stripe Integration Kit up and running in your environment.
| Flag | Description |
|---|---|
--action, -a | Action to perform (required) |
--customer | Customer ID (cus_...) |
--email | Customer email address |
--name | Customer or item name |
--amount | Amount in cents (4999 = $49.99) |
--currency | ISO 4217 currency code (default: usd) |
--intent-id | Payment intent ID (pi_...) |
--session-id | Checkout session ID (cs_...) |
--payload-file | Webhook payload JSON file for verification |
--signature | Stripe-Signature header value |
--data-dir | Data storage directory (default: ./stripe_data) |
--verbose, -v | Enable debug logging |
| Action | Description | Required Flags |
|---|---|---|
demo | Run full end-to-end demo | None |
create-customer | Create a new customer | --email |
list-customers | List all customers | None |
create-intent | Create a payment intent | --amount |
confirm-intent | Confirm/charge a payment | --intent-id |
cancel-intent | Cancel a payment intent | --intent-id |
create-checkout | Create a checkout session | --customer |
complete-checkout | Complete a checkout session | --session-id |
verify-webhook | Verify webhook signature | --payload-file, --signature |
Get the full Stripe Integration Kit and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.