@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
11 lines (10 loc) • 393 B
text/typescript
export interface CancelSubscriptionRequest {
/**
* ID of the subscription. String starting with **sub_**.
*/
subscription: `sub_${string}`;
/**
* Cancels the subscription at the end of the current period. When **false**, cancels the subscription immediately. Default is **false**. Set to **true** when canceling a payout subscription.
*/
cancel_at_period_end?: boolean;
};