Update switch

Use this endpoint to manage a subscription switch.

Currently, this endpoint supports cancelling a pending switch. (Pending is the status of the switch between the subscription switch request and the actual switch processing.)

Cancelling a pending switch triggers a subscriptionSwitchCancelled webhook.

Important
Subscription upgrade and downgrade feature requires compatibility of the payment connector and payment gateway. Currently the feature is fully supported for the following: Adyen, PayPal. Please contact Cleeng Support Team if you wish to use other payment connectors/gateways.

Path Params
string
required

Cleeng ID of a switch

Body Params
string
required

The status of the updated switch. Currently supported status: cancelled, finished (finished - only supported for externally-managed subscriptions).

int32

The identifier of Cleeng payment. It can be provided only for the status finished.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json