In App Subscription- ROKU

This API is used for in app subscription for ROKU devices .

Resource URL

POST - /sms/2.0/inapp-subs/subscribe/{device_type}/{username}

Header Paramater

Authorization
required
Bearer Access Token

NOTE: Access Token here refers to the access authorization token.

URL Parameter

device_type
required
Web, ROKU, iPhone, iPad, Android-Phone, Android-Tab etc are the clients by which an user can get registered.
username
required
Email ID is taken as the User name for an individual user. Get “username” from Device Login response.

Form Parameter

roku_cust_id
required
ROKU Customer ID only for ROKU devices.
roku_transaction_id
required
ROKU Transaction ID only for ROKU devices.

Example Request URL

POST - http://__JTV__HOST__/sms/2.0/inapp-subs/subscribe/{device_type}/{username}

Example Return

Success
Failure