MEGOGO Subscriptions by Phone Number¶
This guide is for developers of mobile operators and other partners that sell MEGOGO subscriptions to their users. It shows how to activate, renew and stop a MEGOGO subscription when you know the phone number of the user.
How it works¶
- The user buys a MEGOGO subscription from you, for example as an option of the mobile tariff.
- Your server sends a request to MEGOGO with the phone number of the user and the service ID of the subscription.
- MEGOGO activates the subscription. If MEGOGO has no user with this phone number, MEGOGO creates the user.
- You tell the user how to sign in. The user signs in to a MEGOGO application with the phone number and a one-time code.
- The user watches MEGOGO on any device: Smart TV, mobile, web.
You bill the user. MEGOGO does not charge the user and does not send messages to the user about your subscription.
sequenceDiagram
participant User
participant Server as Your server
participant API as MEGOGO Terminals API
participant App as MEGOGO application
User->>Server: Buys the subscription
Server->>API: subscription/subscribe (phone, serviceId)
API-->>Server: "successful": true
Server-->>User: Message: how to sign in to MEGOGO
User->>App: Signs in with the phone number and a one-time code
App-->>User: The subscription is available
The API¶
| Item | Value |
|---|---|
| Base URL | https://billing.megogo.net/terminals/{partner_id}/ |
| Method | GET |
| User identification | The phone number in the international format |
| Security | A SHA-256 signature in each request, and the list of IP addresses of your servers |
The API has three requests:
| Request | Purpose |
|---|---|
user/phone |
Check if the phone number is registered in MEGOGO |
subscription/{operation} |
Start (subscribe), stop (unsubscribe), suspend (suspend) or resume (resume) the subscription |
subscriptions |
Get your services, or the active services of a user |
Where to start¶
- Credentials: what MEGOGO gives you.
- Sign a request: the signature algorithm, with code in Python, JavaScript and PHP.
- Getting started: your first requests.
- Activate a subscription and Renew, suspend and stop.
- Go-live checklist.
Support¶
Your MEGOGO manager gives you the credentials and the service IDs. For technical questions, send an e-mail to supportpartners@megogo.net. Write your partner ID, the time of the request (UTC) and the response.
Guide version 1.0.0, 2026-11-02 · Report a problem on this page