Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ankitgaur
Visitor

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
4 REPLIES 4
adamkaz
Channel Surfer

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
Visitor

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
matrixebiz
Roku Guru

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

Just wondering if someone can post the Step-By-Step instructions on issuing a single user refund.

I have my API key and their TransactionID but what program on a Windows computer do we use? is it a Python script we create to run the command plus what would be the actual command/code to run?

Thank you

0 Kudos
matrixebiz
Roku Guru

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

Hello? Anyone here?

0 Kudos