Billing
Why You Would Use This
Section titled “Why You Would Use This”Billing is where you manage subscription lifecycle actions and review usage against current limits.
This page is intentionally plan-agnostic and focuses on workflow, not hardcoded pricing.
Console Workflow
Section titled “Console Workflow”- Open Billing.
- Review current plan status and usage progress.
- Start checkout flow when upgrading.
- Open billing portal for subscription management and billing history.
- Re-check status after returning from checkout or portal.
API Workflow
Section titled “API Workflow”# Get current subscription statuscurl https://api.hookbridge.io/v1/billing/subscription \ -H "Authorization: Bearer YOUR_API_KEY"
# Create checkout sessioncurl -X POST https://api.hookbridge.io/v1/billing/checkout \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"plan":"pro","interval":"annual"}'
# Create customer portal sessioncurl -X POST https://api.hookbridge.io/v1/billing/portal \ -H "Authorization: Bearer YOUR_API_KEY" Personalize Examples
Enter your credentials to populate code examples throughout the docs.