String getApplicationSubscriptionToken ( int subscriptionLength ) throws AccountAPINGException Used to create new subscription tokens for an application. Returns the newly generated subscription token which can be provided to the end user. Parameter name | Type | Required | Description |
---|
subscriptionLength | int | | How many days the subscription should last. Open ended if value not supplied. Expiry time will be rounded up to midnight on the date of expiry. | clientReference | String | | Any client reference for this subscription token request. |
Return type | Description |
---|
String | Subscription token |
Throws | Description |
---|
AccountAPINGException | Generic exception that is thrown if this operation fails for any reason. |
Since 1.0.0 |