BeIN Sports
Subscription packages for BeIN Sports.
1. Get Productsโ
Get available BeIN Sports subscription packages.
Endpoint: GET /api/beinsports/products
Response:
{
"status": "success",
"message": "Products retrieved",
"data": [
{
"id": 1,
"name": "BeIN Sports 1 Month",
"price": 1500.00
},
{
"id": 2,
"name": "BeIN Sports 3 Months",
"price": 4000.00
}
]
}
2. Place Orderโ
Place a BeIN Sports subscription order.
Endpoint: POST /api/beinsports/order
Request:
{
"variant_id": 1,
"sc_id": "12345678",
"client_name": "John Doe"
}
Validation Rules:
sc_id: 8-16 digits, numeric onlyclient_name: 2-100 characters
Response:
{
"status": "success",
"message": "Order placed successfully",
"data": {
"order_id": 123,
"status": "pending"
}
}
3. Check Order Statusโ
Check the status of a placed order.
Endpoint: GET /api/beinsports/order/{orderId}
Response:
{
"status": "success",
"message": "Order details retrieved",
"data": {
"order_id": 123,
"sc_id": "12345678",
"client_name": "John Doe",
"offer_name": "BeIN Sports 1 Month",
"amount": 1500.00,
"status": "pending",
"created_at": "2024-01-15T10:30:00.000000Z",
"delivered_at": null
}
}
Status Values: pending, completed, failed
Important Notesโ
โ ๏ธ Manual Processing: BeIN Sports orders are processed manually via Telegram. Processing time may vary.
Example Workflowโ
# 1. Get available products
curl -X GET "https://gateway.wasmou.net/api/beinsports/products" \
-H "X-Api-Key: your_api_key"
# 2. Place order
curl -X POST "https://gateway.wasmou.net/api/beinsports/order" \
-H "X-Api-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"variant_id": 1,
"sc_id": "12345678",
"client_name": "John Doe"
}'
# 3. Check status
curl -X GET "https://gateway.wasmou.net/api/beinsports/order/123" \
-H "X-Api-Key: your_api_key"
Best Practicesโ
- Verify the SC ID format before submitting (8-16 digits)
- Provide accurate client name for activation
- Be patient with manual processing times
- Check order status periodically
- Contact support if order is pending for an extended period