...
- Generate an API Access Token (you may only have one current token).
- Add your own coupons and update them.
- Manage valid membership numbers (via CSV file if you wish).
- Manage Subscription Coupons Access Codes if separately supplied to you.
- View statistics about coupon usage.
- 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 | ||
---|---|---|
| ||
|
USING ENCRYPTION (AES)
Before making a request to our API, you must encrypt details like your membership. This can be done by:
- Open SSL encryption (openssl_encrypt).
- Specify the AES Cipher. AES-256-CBC
- Use the token generated in your Dashboard as the key (Remove dashes). key
- 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.
...