Stripe Api

Stripe API

Automatic Invoicing

To automatically invoice and bill your customer periodically, follow these three steps:

  1. Define a service product and pricing plan that sets how much should be billed and at what interval.

https://stripe.com/docs/billing/quickstart#define-plan

  1. Create a customer in your Stripe account.

https://stripe.com/docs/billing/quickstart#create-customer

  1. Subscribe the customer to the plan.

https://stripe.com/docs/billing/quickstart#create-subscription

Test Cards

  • Default US card: 4242424242424242
  • 3D Secure auth required: 4000000000003063

See the docs for a full list of test cards. Non-card payments will redirect to test pages.

References