Event key: order_rebill_completed

Receives a notification when a subscription completes all of its payments. This applies to either a split pay, or a subscription with a limited number of rebills. It will be triggered at the same time as the final order_rebill event. You can filter to a specific type of purchase (e.g. for a product, upsell or downsell) by using a trigger field. Note: bumps do not support subscriptions, so are not options.

Trigger fields

mode_int Optional Numeric

1 to receive only test mode purchases

2 to receive only live mode purchases

subscription » type Optional enum
  • product
  • upsell
  • downsell
subscription » product_id Optional Numeric

If the subscription » type key above is set to product, provide the numeric ID of the product.

{"event": "order_rebill_completed", "target_url": "https://mysite.com/webhooks/123/", "trigger_fields": {"subscription": {"type": "product", "product_id": 5}}}
subscription » upsell_id Optional Numeric

If the subscription » type key above is set to upsell, provide the numeric ID of the upsell.

{"event": "order_rebill_completed", "target_url": "https://mysite.com/webhooks/123/", "trigger_fields": {"subscription": {"type": "upsell", "upsell_id": 13}}}
subscription » downsell_id Optional Numeric

If the subscription » type key above is set to downsell, provide the numeric ID of the downsell.

{"event": "order_rebill_completed", "target_url": "https://mysite.com/webhooks/123/", "trigger_fields": {"subscription": {"type": "downsell", "downsell_id": 1}}}