Documentation

Everything you need to integrate Stripe webhooks and user management in 30 minutes

Quick Start

Get up and running in minutes with our simple SDK designed for AI builders

npm install @relipay/sdk
// Check user status
const isPaid = await isUserPaid(userId)

API Reference

Complete API documentation for all endpoints, optimized for AI code generation

  • isUserPaid(userId) - Check subscription status
  • getUserPlan(userId) - Get current plan
  • createCheckout() - Generate payment link
  • webhookHandler() - Process Stripe events
🤖

AI Examples

Copy-paste examples that work perfectly with AI code generation and vibe coders

  • • Next.js integration
  • • Express.js middleware
  • • Webhook handling
  • • Plan management
��Developer Alpha Documentation - Full docs coming with beta release