Automate recurring payments with flexible subscription management.
Subscriptions are recurring payments of a fixed amount, automatically charged at regular intervals. They're perfect for membership services, SaaS products, and any business model requiring predictable recurring revenue.
- Automatic Billing: Payments processed automatically on schedule
- Flexible Frequencies: From daily to every 3 years
- Retry Logic: Configurable retries for failed payments
- Fallback Methods: Secondary payment method if primary fails
- Finite or Unlimited: Set end date/capture limit or run indefinitely
- Easy Management: Activate, pause, update, or cancel anytime
- Credit/Debit Card
- Direct Debit
| Frequency | Description |
|---|---|
1D | Daily |
1W | Weekly |
2W | Bi-weekly (every 2 weeks) |
1M | Monthly |
2M | Bi-monthly (every 2 months) |
3M | Quarterly (every 3 months) |
4M | Every 4 months |
6M | Semi-annually (every 6 months) |
1Y | Annually |
2Y | Every 2 years |
3Y | Every 3 years |
POST /subscription
{
"frequency": "1M",
"value": 29.99,
"currency": "EUR",
"method": "cc",
"start_time": "2024-02-01 00:00",
"max_captures": 12,
"customer": {
"name": "John Doe",
"email": "john@example.com"
},
"capture": {
"descriptive": "Monthly SaaS Subscription"
},
"retries": 3,
"failover": true
}Response:
{
"id": "sub-123",
"status": "active",
"frequency": "1M",
"value": 29.99,
"start_time": "2024-02-01 00:00"
}End after a specific date or number of captures:
{
"frequency": "1M",
"value": 9.99,
"start_time": "2024-01-01",
"max_captures": 12 // 12 months
}Or:
{
"frequency": "1M",
"value": 9.99,
"start_time": "2024-01-01",
"expiration_time": "2024-12-31 23:59" // Specific end date
}Continue until manually cancelled:
{
"frequency": "1M",
"value": 9.99,
"start_time": "2024-01-01",
"unlimited_payments": true // No end date
}Each subscription creates payment cycles:
- CAPTURE_NOW: Immediate payment when subscription created
- RENEWABLE: Regular recurring cycles based on frequency
- ONE_TIME_CHARGE: Single isolated payment
GET /subscription/{id}PATCH /subscription/{id}
{
"value": 39.99, // Update amount
"frequency": "1Y" // Change frequency
}PATCH /subscription/{id}
{
"status": "inactive"
}Effect: All pending cycles are deleted, no further payments.
PATCH /subscription/{id}
{
"status": "active"
}Effect: New cycles created based on current configuration.
DELETE /subscription/{id}Configure automatic retries for failed payments:
{
"retries": 3 // Retry up to 3 times
}How it works:
- Initial charge attempt
- If failed, retry
- Continue until success or max retries reached
- Trigger fallback if configured
Enable fallback to provide alternative payment options:
{
"method": "cc", // Primary method
"failover": true
}How it works:
- Attempt payment with primary method
- If fails after all retries, a failover checkout is created
- The checkout includes all payment methods active for your account
- If payment succeeds through the checkout, subscription continues
- If no payment is made, the cycle is marked as failed
Monthly software license:
{
"frequency": "1M",
"value": 49.99,
"method": "cc",
"start_time": "2024-01-01",
"unlimited_payments": true,
"retries": 3
}Yearly membership fee:
{
"frequency": "1Y",
"value": 199.99,
"method": "cc",
"start_time": "2024-01-01",
"unlimited_payments": true
}12-month payment plan:
{
"frequency": "1M",
"value": 83.33,
"method": "dd",
"start_time": "2024-01-01",
"max_captures": 12 // Total: €999.96
}Quarterly billing:
{
"frequency": "3M",
"value": 299.99,
"method": "cc",
"start_time": "2024-01-01",
"unlimited_payments": true
}Receive notifications for subscription events:
- subscription_created: Sent when the user inserts their card details and the subscription is created
- subscription_capture: Sent after all retries are made for a payment attempt (whether successful or failed)
- Clear Communication: Inform customers about subscription terms upfront
- Grace Periods: Consider grace periods before canceling for failed payments
- Easy Cancellation: Make it simple for customers to cancel
- Update Payment Methods: Allow customers to update payment details
- Transparent Pricing: Clearly display total cost and billing frequency
- Trial Periods: Consider free trials before first charge
- Prorated Charges: Handle mid-cycle plan changes gracefully
Customer subscribes to monthly software, charged automatically on the 1st of each month, continues until cancelled.
Customer pays yearly membership fee, receives reminder 30 days before renewal, can cancel or update payment method.
Customer buys €1000 product, pays €83.33/month for 12 months, subscription automatically ends after final payment.
Service billed every 3 months, customer receives invoice 7 days before charge, payment auto-processed.
- Subscription API Reference - Complete API documentation
- Webhooks Guide - Handle subscription events
- Checkout - Accept subscriptions via Checkout
- Payment Types Guide - Learn about subscription payments