In App Subscription- iOS

This API is used for in app subscription in iOS 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

inapp_pass
required
In app password is required for iOS devices.
ios_transaction_id
required
iOS transaction id only for iOS device.
sub_token
required
iOS subscription token ID is required for iOS devices.

Example Request URL

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

Example Return

Success
Failure