Skip to main content

Documentation

Cancel Subscription Message Sequences

Diagram and steps for canceling a recurring payment for a service.

Cancel a Subscription

This diagram shows the sequence of events when a subscription is canceled. The subscription is canceled immediately unless you use the cancel_at_period_end parameter to set a specific date. See Cancel Subscription.

  1. The client sends a Cancel Subscription request to Rapyd.

  2. Rapyd sends the client a response with details of the cancellation. The status of the subscription is set to canceled.

  3. Rapyd sends Subscription Updated Webhook to the client.

  4. Rapyd sends Subscription Canceled Webhook to the client.

  5. Rapyd sends Invoice Created Webhook to the client. The status of the invoice is set to draft.

  6. Rapyd sends Invoice Payment Succeeded Webhook to the client. The status of the invoice is set to paid with a zero amount and the status of the payment is set to CLO.