Stripe API
Set up API access for payment processing with Stripe.
getapi stripe
Prerequisites
- A Stripe account
Credentials
| Variable | Description | Sensitive |
|---|---|---|
STRIPE_SECRET_KEY |
Secret key for server-side API calls | Secret |
STRIPE_PUBLISHABLE_KEY |
Publishable key for client-side use | Public |
Setup Steps
- 1 Info
- 2 Choice
- 3 Open URL
- 4 Info
- 5 Input
- 6 Input
- 7 Validate
Things to Know
- Test and live keys are completely separate. Transactions made with test keys don't move real money.
- The secret key should NEVER be exposed client-side. Use the publishable key in the browser.
- Restricted keys are available if you want to limit what the key can access.
- Stripe's test card number is 4242 4242 4242 4242 with any future expiry and any CVC.