Stripe
Stripe API emulation with customers, payment intents, charges, products, prices, and checkout sessions. Includes a hosted checkout page and webhook delivery.
Customers
POST /v1/customers— create customerGET /v1/customers/:id— retrieve customerPOST /v1/customers/:id— update customerDELETE /v1/customers/:id— delete customerGET /v1/customers— list customers
Payment Intents
POST /v1/payment_intents— create payment intentGET /v1/payment_intents/:id— retrieve payment intentPOST /v1/payment_intents/:id— update payment intentPOST /v1/payment_intents/:id/confirm— confirm payment intentPOST /v1/payment_intents/:id/cancel— cancel payment intentGET /v1/payment_intents— list payment intents
Charges
GET /v1/charges/:id— retrieve chargeGET /v1/charges— list charges
Products
POST /v1/products— create productGET /v1/products/:id— retrieve productGET /v1/products— list products
Prices
POST /v1/prices— create priceGET /v1/prices/:id— retrieve priceGET /v1/prices— list prices
Checkout Sessions
POST /v1/checkout/sessions— create checkout sessionGET /v1/checkout/sessions/:id— retrieve sessionPOST /v1/checkout/sessions/:id/expire— expire sessionGET /v1/checkout/sessions— list sessions (filter bycustomer,status,payment_status)GET /checkout/:id— hosted checkout page (HTML)POST /checkout/:id/complete— complete payment flow
Webhooks
Events are delivered to configured webhook URLs:
checkout.session.completed— when a checkout session is completedcheckout.session.expired— when a checkout session expires