Skip to content

Postman collection

The Postman collection has all requests of this guide. Use it to try the requests with your test partner ID.

Download the collection

Import the collection

  1. In Postman, select Import and select the file megogo-partners-billing.postman_collection.json.
  2. Make an environment, for example "MEGOGO test".
  3. Add the variables of the table below to the environment.
  4. 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.

  1. Send Subscribe. Expected result: "successful": true.
  2. Send Subscriptions of the subscriber. The list contains your service with the end date.
  3. Send Set the login and the password. Expected result: "successful": true.
  4. Send Get the MEGOGO user. The Postman console shows the login.
  5. Sign in to MEGOGO with the login and the password: https://megogo.net/ua/auth_login?view_action=login_email.
  6. Send Unsubscribe. Send Subscriptions of the subscriber again: svod is 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