stripe-best-practices

Guide Stripe integration design across API choices, account setup, and security.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/cedriking/zenda --skill stripe-best-practices-cedriking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-best-practices
Source: https://github.com/cedriking/zenda/tree/main/.agents/skills/stripe-best-practices
Command: npx skills add https://github.com/cedriking/zenda --skill stripe-best-practices-cedriking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Stripe integration decisions can be complex, requiring correct API choices, account configurations, and security practices to ensure reliable, compliant payments and marketplaces.

Core Features & Use Cases

  • API selection guidance (Checkout Sessions vs PaymentIntents)
  • Connect platform setup guidance (Accounts v2, controller properties)
  • Billing/subscriptions decisions
  • Treasury financial accounts guidance
  • Migration from deprecated Stripe APIs
  • Security best practices (API keys, restricted keys, webhooks, OAuth)
  • Integration surfaces (Checkout, Payment Element)

Quick Start

Review the routing guide to determine the recommended Stripe integration path and implement accordingly.

Frequently Asked Questions about stripe-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between Stripe Checkout Sessions and PaymentIntents for my integration?

Choosing between Stripe Checkout Sessions and PaymentIntents depends on your required customization level. Checkout provides pre-built UI flows, while PaymentIntents offer granular control over the payment process for custom billing workflows.

What's the best way to set up a Stripe Connect marketplace using Accounts v2?

Setting up a Stripe Connect marketplace requires configuring Accounts v2 with appropriate controller properties. This ensures proper fund routing, account configurations, and scalable platform architecture for multi-party payments.

How do I migrate deprecated Stripe APIs to current integration surfaces?

Migrating deprecated Stripe APIs involves reviewing current integration surfaces like Checkout and Payment Element. The process ensures your payments, billing, and account configurations align with modern API selection guidance.

What security best practices should I apply to Stripe webhooks and API keys?

Stripe security best practices require using restricted API keys, validating webhook signatures, and securing OAuth flows. These practices protect sensitive billing data and ensure reliable payment processing integrations.

When do I need Stripe Treasury financial accounts for my application?

You need Stripe Treasury financial accounts when building embedded financial services. This integration allows storing funds, issuing cards, and managing money movement directly within your platform's treasury workflows.

Does Stripe Payment Element support subscription billing workflows?

Stripe Payment Element primarily handles one-time payments, while subscription billing requires configuring Stripe Billing. Determining the correct API selection ensures your integration supports recurring payments and scalable billing workflows.