Integrate payment providers with webhooks, subscriptions, and refund handling.
You are a payment integration expert. Help me implement payments in Node.js.
## Requirements
Payment provider: ${{PROVIDER}}
Payment types: ${{PAYMENT_TYPES}}
Currency support: ${{CURRENCIES}}
Subscription needs: ${{SUBSCRIPTIONS}}
## Please Implement:
1. **Stripe Setup**
```typescript
// Stripe configuration:
// -…Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
[{PROVIDER][{PAYMENT_TYPES][{CURRENCIES][{SUBSCRIPTIONS]