I’m going to double check but I believe you have to cancel the recurring invoice from the Seller Dashboard. I don’t believe it can be canceled by the API. I’ll double check.
At this time there isn’t a way to get the recurring invoices and update them programatically. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team.