简体   繁体   English

如何在C#中使用Stripe API取消订阅Stripe付款计划

[英]How to unsubscribe from stripe payment plan using Stripe API in c#

i am able to subscribe on a package in stripe using Stripe API in c#, now my goal is to give user option to unsubscribe to the plan how can we do that using stripe API any code sample or classes which i can use ? 我可以使用C#中的Stripe API来订阅Stripe中的程序包,现在我的目标是给用户选项以取消订阅该计划,我们如何使用Stripe API来执行我可以使用的任何代码示例或类?

please find the detail below. 请在下面找到详细信息。

API : stripe.net API:stripe.net

thanks do let me know if more information is required. 谢谢,请告诉我是否需要更多信息。

To end an ongoing subscription, you need to use the cancel subscription API request. 要结束正在进行的订阅,您需要使用取消订阅 API请求。

This is the documentation to issue this request with Stripe.net: https://github.com/jaymedavis/stripe.net#canceling-a-subscription . 这是使用Stripe.net发出此请求的文档: https : //github.com/jaymedavis/stripe.net#canceling-a-subscription

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM