Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Generate an API Access Token (you may only have one current token).
  2. Add your own coupons and update them.
  3. Manage valid membership numbers (via CSV file if you wish).
  4. Manage Subscription Coupons Access Codes if separately supplied to you.
  5. View statistics about coupon usage.
  6. View the status and billing information on your EzyStream account.

AUTHENTICATING ON OUR SERVER

To access our API, you’ll need to generate a unique token which can be done your EzyStream Dashboard. This should be kept secure, and should be installed within your application securely. It allows us to identify you, and protect against unauthorised traffic. 

GENERATING YOUR TOKEN AND SECRET

...


...

Info
titleIMPORTANT
  1. Once you close the configuration window, you cannot return to these details, so make sure you have saved them securely before closing the window.
  2. You can only have one token active at any one time. By generating a new coupon you will de-active your old one. Doing this could be disable access to our API in old versions of your application, so care should be taken. 

USING ENCRYPTION (AES)

Before making a request to our API, you must encrypt details like your membership. This can be done by:

  1. Open SSL encryption (openssl_encrypt).
  2. Specify the AES Cipher. AES-256-CBC
  3. Use the token generated in your Dashboard as the key (Remove dashes). key
  4. Use the secret as a initialization vector. iv

COUPON ACCESS OUTLINE

Requesting the Coupon List will return a list of available coupons with appropriate details.

...