The Tickets API provides functionality for purchasing giveaway tickets using Stripe payment processing. Users can buy tickets for various giveaways and raffles.Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
Key Features
- Ticket Purchases: Buy tickets for giveaways and raffles
- Stripe Integration: Secure payment processing via Stripe
- Payment Intent Creation: Generate payment intents for client-side payment processing
- Quantity Validation: Ensure valid ticket quantities
- Customer Management: Automatic customer association with Stripe
Payment Flow
- Client requests payment sheet with desired ticket quantity
- Server creates Stripe payment intent
- Client receives payment intent client secret
- Client completes payment using Stripe SDK
- Tickets are issued upon successful payment

