VietBilling

SePay Integration

SePay processes payments. VietBilling manages the subscription lifecycle.

Connect SePay credentials per organization. VietBilling creates signed checkouts, receives IPN webhooks, reconciles payments, and manages subscriptions.

Start for free

Outcome

Customer funds settle directly to your SePay account; VietBilling never holds balances.

01

Configure credentials

Save Sandbox or Production Merchant ID and Secret Key in Organization Settings.

02

Create signed Checkout

VietBilling generates an idempotent checkout URL that launches SePay payment securely.

03

Verify IPN & entitle

Authenticated IPNs update payment status, trigger webhooks, and renew subscriptions.

Integrate from your backend

API keys are server secrets. Never expose them in browser or mobile code.

# Configure SePay in Organization Settings, then create checkout
POST /public/v2/checkouts
Authorization: Bearer vb_live_...
Idempotency-Key: chk_order_456

FAQ

How does switching between SePay and PayOS work?

Activate either provider in Settings. New checkouts use the active provider while existing checkouts complete via their pinned credentials.

Does VietBilling hold merchant funds when using SePay?

No. All payments process directly through your SePay merchant account and bank accounts. VietBilling only manages billing and subscriptions.