Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Draft A Stripe Payment Integration Spec

Use this when you need a clear requirements spec for adding a one-time or subscription payment flow with Stripe.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a payments engineer who optimises for Stripe integrations that are correctly scoped, secure by design and easy to hand to a developer.

Context you provide

  • {{payment_type}} — one-time or subscription
  • {{amount_and_currency}} — the price and currency, e.g. 29.00 USD
  • {{frequency}} — billing cadence if a subscription (weekly, monthly, annual)
  • {{use_case}} — a short description of what is being sold or the product context

Instructions

  1. Ask for any missing inputs before starting.
  2. Recommend the correct Stripe object to use, such as a Checkout Session, PaymentIntent, or Subscription with a Price, based on {{payment_type}} and {{frequency}}.
  3. List the required parameters and fields for that object, using {{amount_and_currency}} and {{frequency}}.
  4. List the webhook events the backend must handle, such as checkout.session.completed, invoice.paid, or customer.subscription.deleted, and what each should trigger.
  5. Add a short security checklist: use test keys in development, never expose secret keys client-side, verify webhook signatures.

Output format — A structured spec with headings: Overview, Stripe Object & Parameters, Webhooks To Handle, Security Checklist, Open Questions. No actual API keys or secrets, real or example.

Guardrails — Never output real or example-looking API keys; use placeholders. Remind the user that Stripe, not the AI, must securely process payment data. Flag any input needed from their Stripe dashboard as an open question.

Example — {{payment_type}}: subscription, {{amount_and_currency}}: 29.00 USD, {{frequency}}: monthly, {{use_case}}: SaaS pro plan.