Quickstart
Accept your first payment in under 10 minutes.
Authentication
Learn how API keys work and how to authenticate requests.
API Reference
Explore all endpoints with interactive examples.
Webhooks
Receive real-time notifications for payment events.
Core Resources
| Resource | Description |
|---|---|
| PaymentIntent | Represents a payment attempt. Tracks the lifecycle from creation to settlement. |
| Customer | Stores customer information for recurring payments and record-keeping. |
| Refund | Returns funds to a customer for a completed payment. |
| Webhook Endpoint | Configures a URL to receive real-time event notifications. |
| Event | Records something that happened in your account, delivered to webhook endpoints. |
Getting Started
Get your API keys
Sign up for an account and grab your test mode secret key (
sk_test_...) from the dashboard.Confirm and capture
Confirm the PaymentIntent to charge the customer. Use automatic or manual capture depending on your business model.
Explore
- Error Handling — Understand error types and handle them gracefully
- Idempotency — Safely retry requests without double-charging
- Pagination — Navigate large result sets efficiently
- Testing — Test your integration with simulated payment methods