VietBilling Documentation
VietBilling developer documentation for recurring subscription billing. Comprehensive guides for Public API endpoints, signed webhooks, and entitlement sync.
A direct path to subscription billing
VietBilling connects your SaaS application to its configured payment provider: your server creates Customers and Checkouts, customers pay through the provider, and webhooks update Subscriptions and BenefitGrants.
- Create an Organization and configure a payment provider.
- Create a recurring Product with a ProductPrice and Benefits.
- Create an API key and webhook endpoint.
- Create a customer, start checkout, and synchronize the subscription from webhooks.
Recommended path
For a first integration, read Getting Started, API Authentication, Checkout, and Webhooks.
Source-of-truth boundaries
VietBilling is the source of billing state and BenefitGrants. Your application remains the source of users and enforcement. Store the customer_id, subscription_id, and processed event ids; grant or revoke access only after processing a valid event.