Customer Integration for monthlyprovider.com
This API allows customers to send Facebook live viewer orders to monthlyprovider.com. Once an order is received, our system will automatically detect when the Facebook page goes live and send the order to the customer for delivery.
All API requests require an API key in the header:
X-API-Key: your_api_key_here
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
order_id | string | ⚪ Optional | Your order reference (optional). If not provided, system auto-generates ID like MP-000001 | 321421321 |
url | string | ✅ Yes | Facebook page URL to monitor | https://facebook.com/username |
services | array | ✅ Yes | List of services to deliver | See below |
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
service_id | integer | ✅ Yes | Service ID from monthlyprovider.com | 3 |
quantity | integer | ✅ Yes | Number of viewers to deliver | 200 |
min_viewers | integer | ⚪ Optional | Minimum live viewers to trigger order (default: no minimum) | 100 |
Parameter | Type | Default Value | Description |
---|---|---|---|
daily_limit | integer | 10 | Maximum detections per day |
days | integer | 30 | Order duration in days |
{
"url": "https://facebook.com/username",
"services": [
{
"service_id": 3,
"quantity": 200
}
]
}
{
"order_id": "321421321",
"url": "https://facebook.com/username",
"services": [
{
"service_id": 3,
"quantity": 200
}
]
}
{
"url": "https://facebook.com/username",
"daily_limit": 5,
"days": 15,
"services": [
{
"service_id": 3,
"quantity": 200,
"min_viewers": 100
}
]
}
curl -X POST https://monthlyprovider.com/api/order -H "Content-Type: application/json" -H "X-API-Key: your_api_key_here" -d '{
"url": "https://facebook.com/username",
"services": [
{
"service_id": 3,
"quantity": 200
}
]
}'
{
"success": true,
"message": "Order created with 1 service",
"data": {
"order_id": "MP-000001",
"url": "https://facebook.com/username",
"expires_at": "2025-11-08T10:00:00+08:00",
"daily_limit": 10,
"services": [...]
}
}
{
"success": true,
"message": "Order created with 1 service",
"data": {
"order_id": "MP-000001",
"customer_order_id": "321421321",
"url": "https://facebook.com/username",
"expires_at": "2025-11-08T10:00:00+08:00",
"daily_limit": 10,
"services": [...]
}
}
{
"detail": "Invalid or missing API key"
}
{
"success": false,
"error": "Service 999 not found or inactive"
}
{
"success": false,
"error": "Customer order 321421321 already exists as MP-000001"
}
{
"error": "Rate limit exceeded: 1000 per hour"
}
Service IDs and details are available on monthlyprovider.com website. Contact admin for the complete service list.
To obtain your API key and start integration:
Contact monthlyprovider.com Admin
Login to Admin Panel →