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: 
ankitgaur
Level 7

How to Cancel and refund subscriptions by calling API from the Roku channel.

Hi All,
We have Published A roku channel.
In channel we have created monthly subscription in-app products.
We want to cancel and refund the money to the ROKU Customer if he Cancels the Subscription from channel side.
We are using WEB API provided by Roku at https://sdkdocs.roku.com/display/sdkdoc/Web+Service+API 
The Api Response we are getting after calling Cancel and refund 
{
    "errorCode": null,
    "errorDetails": null,
    "errorMessage": "Object reference not set to an instance of an object.",
    "status": 1,
    "RefundId": null
}
Please help with this
Thanks,
Ankit.
0 Kudos
2 Replies
adamkaz
Level 7

Re: How to Cancel and refund subscriptions by calling API from the Roku channel.

The API documentation for the cancellation endpoint is currently incorrect. It should be:
partnerAPIKey


Not:
rokuAPIKey
0 Kudos
vinoth
Level 7

Re: How to Cancel and refund subscriptions by calling API from the Roku channel.

"adamkaz" wrote:
The API documentation for the cancellation endpoint is currently incorrect. It should be:
partnerAPIKey


Not:
rokuAPIKey


this is also not working 
0 Kudos