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.
SePay Integration
Connect SePay credentials per organization. VietBilling creates signed checkouts, receives IPN webhooks, reconciles payments, and manages subscriptions.
Start for freeOutcome
Save Sandbox or Production Merchant ID and Secret Key in Organization Settings.
VietBilling generates an idempotent checkout URL that launches SePay payment securely.
Authenticated IPNs update payment status, trigger webhooks, and renew subscriptions.
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_456Activate either provider in Settings. New checkouts use the active provider while existing checkouts complete via their pinned credentials.
No. All payments process directly through your SePay merchant account and bank accounts. VietBilling only manages billing and subscriptions.