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
Tags (1)
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 
Tags (1)
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
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!