Postman collection¶
The Postman collection has all requests of this guide. Use it to try the requests with your test partner ID.
Import the collection¶
- In Postman, select Import and select the file
megogo-partners-billing.postman_collection.json. - Make an environment, for example "MEGOGO test".
- Add the variables of the table below to the environment.
- Select the environment.
| Variable | Value |
|---|---|
partner_id |
Your test partner ID |
identifier |
The identifier of a test subscriber, for example test-0001 |
service_id |
The service ID of a test subscription |
login |
The login of the test subscriber, for example test-0001@your-isp.example |
password |
The password of the test subscriber: 6 or more characters. Type: secret |
new_identifier |
Only for the request Change the identifier |
WARNING
Use only test identifiers and test logins. Each request with a new identifier makes a MEGOGO user.
Send the requests¶
Send the requests from a computer with an IP address of your list. See Credentials.
- Send Subscribe. Expected result:
"successful": true. - Send Subscriptions of the subscriber. The list contains your service with the end date.
- Send Set the login and the password. Expected result:
"successful": true. - Send Get the MEGOGO user. The Postman console shows the login.
- Sign in to MEGOGO with the login and the password: https://megogo.net/ua/auth_login?view_action=login_email.
- Send Unsubscribe. Send Subscriptions of the subscriber again:
svodis empty.
Each request has a test that checks the result.
Suspend, Resume, Make a MEGOGO user and Change the
identifier are also in the collection. Send Resume only after
Suspend. See
Renew, suspend and stop a subscription.
After Change the identifier, put the new identifier in identifier.
Variables¶
| Variable | Default | Description |
|---|---|---|
partners_api |
https://billing.megogo.net |
Base URL of the API |
Guide version 1.0.2, 2026-11-08 · Report a problem on this page