Are subscriptions automatically debited?
No. VietBilling creates a renewal URL for the next period and the customer pays through PayOS.
Subscription Billing
Track the current period, payment state, and PayOS renewal flow without stitching together disconnected status tables.
Start for freeOutcome
Send customer_id and product_id with an idempotency key.
PayOS receives funds and VietBilling completes the Checkout.
Receive subscription.created and store subscription_id in your backend.
API keys are server secrets. Never expose them in browser or mobile code.
BASE_URL="https://api.vietbilling.com/public/v2"
curl "$BASE_URL/subscriptions/$SUBSCRIPTION_ID" \
-H "Authorization: Bearer vb_live_..."No. VietBilling creates a renewal URL for the next period and the customer pays through PayOS.
Use a verified webhook or the Public API subscription result.