Skip to main content
Subscriptions charge customers on a fixed interval. In ZBX, recurring paylinks create plans; customers subscribe; invoices are issued; webhooks notify you of lifecycle changes.

Flow

  1. Create a recurring plan/paylink (type: Recurring, interval, intervalCount)
  2. Customer completes the first checkout
  3. Platform issues invoices on schedule
  4. You handle Subscription.* and Invoice.* webhooks

Plans API

List, create, and retrieve plans:
  • GET https://mapi.zbx.boomfi.xyz/v1/plan
  • POST https://mapi.zbx.boomfi.xyz/v1/plan
  • GET https://mapi.zbx.boomfi.xyz/v1/plan/{id}

Subscriptions API

  • GET https://mapi.zbx.boomfi.xyz/v1/subscriptions: list
  • GET https://mapi.zbx.boomfi.xyz/v1/subscriptions/{customerID}: list by customer
  • POST https://mapi.zbx.boomfi.xyz/v1/subscriptions/{subscriptionID}/invoices: create invoice
  • Cancel / delete flows as documented in the API reference under Subscriptions

Events to handle

Full detail: Event Types.

Cookbook

See Cookbook: Recurring Billing.