Agent-Native Monetization Infrastructure
REST API, agent-native MCP server, webhooks. Build autonomous monetization workflows. AI agents manage pricing, retention, experiments, and lifecycle actions programmatically.
Rebillia's developer platform provides a REST API, webhooks, and agent-native MCP server — everything developers need to build autonomous monetization workflows where AI agents manage pricing, retention, experiments, and billing lifecycle programmatically.
Explore the API Explore MCP Server
REST API
Full CRUD access to subscriptions, customers, invoices, and payments. RESTful endpoints with JSON responses.
MCP Server
Agent-native capability interfaces for 500+ AI clients. Launch pricing experiments, apply retention actions, manage credits through Claude, ChatGPT, Cursor, and more.
Webhooks
Real-time event notifications for subscription lifecycle events. Reliable delivery with retry logic.
Agent-Native Monetization Workflows
The Rebillia MCP Server provides agent-native capability interfaces — not just API endpoints, but higher-level business actions. AI agents launch pricing experiments, apply retention actions, manage credit systems, and run monetization workflows autonomously.
- AI agent detects churn risk → automatically offers discounts, extends trials, adjusts billing cycles
- AI agent monitors demand → creates pricing experiments, tests variants, promotes winning price points
- AI agent manages credit wallets → grants credits, adjusts balances, modifies usage policies
- AI agent runs the revenue engine → dynamic pricing, autonomous retention, continuous experimentation
- AI agent operates billing end-to-end → acquires customers, manages subscriptions, triggers billing events
Sample Command
npx rebillia-mcp-server --api-key YOUR_API_KEY
Sample Configuration for MCP Servers
{
"mcpServers": {
"rebillia": {
"command": "npx",
"args": ["rebillia-mcp-server"],
"env": {
"REBILLIA_API_KEY": "your-api-key"
}
}
}
}
Use Cases for AI agents with Commands
- Launch a pricing experiment: test $49, $69, $89 for the Pro plan
- Apply retention actions for all at-risk subscribers this month
- Grant 500 credits to accounts with usage above 80%
- Show experiment results and promote the winning variant
- Run autonomous lifecycle actions for churning cohort
Powerful REST API
RESTful JSON API with OAuth 2.0 authentication. Base URL: api.rebillia.com/v1
Example API Calls
cURL
curl -X GET https://api.rebillia.com/v1/subscriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
JavaScript
const response = await fetch('https://api.rebillia.com/v1/subscriptions', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const subscriptions = await response.json();
Python
import requests
response = requests.get(
'https://api.rebillia.com/v1/subscriptions',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
subscriptions = response.json()
PHP
$ch = curl_init('https://api.rebillia.com/v1/subscriptions');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch));
Tools & Resources
MCP Server
AI-ready server with 80+ tools for managing subscriptions through any AI client.
npm install rebillia-mcp-server
API Documentation
[**REST API Docs**
Comprehensive API documentation with interactive examples, authentication guides, and endpoint references.](https://apiguide.rebillia.com/)
Webhooks
Real-time event notifications for the full subscription lifecycle: created, renewed, paused, cancelled, payment succeeded, payment failed, dunning started, and more. HMAC-SHA256 signed for verification.
Postman Collection
Import our full API collection into Postman. Pre-configured environments for quick testing and production.
What You Can Build
AI-Managed Subscriptions
Let AI agents handle subscription modifications, dunning responses, and lifecycle management autonomously.
Custom Billing Workflows
Build complex billing logic with webhooks, API calls, and event-driven automation.
Platform Integrations
Connect Rebillia to any ecommerce platform, CRM, or business system via REST API.
Hybrid Billing Models
Combine recurring charges, usage metering, and one-time fees in a single subscription.
Start Building with Rebillia
Get your API key and start integrating in minutes.
Developer FAQ
What are the API rate limits?
Pro plans include 1,000 requests per minute. Platform+ plans offer custom rate limits based on your needs. All plans include burst allowances for short traffic spikes. Rate limit headers are included in every API response.How does API authentication work?
Rebillia uses OAuth 2.0 Bearer token authentication. Generate API keys from your dashboard, include them in the Authorization header, and authenticate against api.rebillia.com/v1. All API traffic is encrypted via TLS 1.3.What webhook events are available?
Rebillia supports webhook events for the full subscription lifecycle: subscription created, renewed, paused, cancelled, payment succeeded, payment failed, dunning started, and more. Webhooks use HMAC-SHA256 signatures for verification.What is the MCP server?
Rebillia's MCP (Model Context Protocol) server provides agent-native capability interfaces — not just API endpoints, but higher-level business actions like launch_pricing_experiment, apply_retention_action, and grant_credits. Install with a single npx command and connect to any MCP-compatible AI client for autonomous monetization workflows.