Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
plainjimbo
Level 7

What is the lifecycle for a Subscription transaction?

The documentation surrounding the Web API's seems a bit incomplete to me. Could someone provide more information regarding the data returned by the validate-transaction API?

In particular, I'm wondering what the response looks like for the following scenarios when the original transaction id for a subscription with a 7 day free trial is used:
  • During free trial period.

  • After free trial ends and Roku successfully charges the user. In this case Is the transactionId returned the original transaction id? Or is it the transaction id from the latest charge?

  • When Roku is unable to charge the user (insufficient funds or expired credit card). Is a successful response returned with all the data from the last successful transaction?

  • When the customer cancel's the subscription through roku. Is a successful response returned with all the data from the last successful transaction? Is there data somewhere that indicates this subscription has been canceled?


I just don't want to have to wait 38 days to figure out what these scenarios look like. Any help would be greatly appreciated. Thank you!
0 Kudos