SePay Webhooks Test mode uses the same delivery mechanism, the same payload format, the same retry mechanism as Live. The differences are limited to the transaction source, data isolation, quotas, and a few advanced features not yet supported.
Configuration shared with Live
| Aspect | Value |
|---|---|
| Supported auth types | No_Authen, Api_Key, Secret_Key, OAuth2.0, HMAC_SHA256 |
| JSON payload format | Identical |
| Retry schedule | Fibonacci (1, 1, 2, 3, 5, 8, 13 minutes), up to 7 attempts, max age 5 hours |
| Connect timeout | 15 seconds |
| Total timeout | 30 seconds |
| Filters | Event type, payment-code prefix, skip-when-no-code, VA only |
| Success condition | HTTP 200/201 + body {"success": true} |
Full configuration reference is on the Live webhook pages: Create webhook, Authentication, Integrate webhook, Error handling.
Test mode vs Live differences
| Aspect | Live | Test mode |
|---|---|---|
| Transaction source | Real bank transactions | Mô phỏng giao dịch (Simulate transaction) form in the Dashboard |
| Data isolation | - | Test mode (chế độ thử nghiệm) data never affects Live accounts or transactions |
| Endpoint SSL verification | Valid certificate required | Disabled (accepts self-signed certs and HTTP) |
| Alerts and incidents | Auto-alerts on consecutive failures | Not yet |
| Webhook health dashboard | Statistics and status monitoring | Delivery log only |
Test mode disables SSL verification so you can test against localhost or a dev server with a self-signed certificate. Before promoting the webhook to Live, ensure the endpoint has a valid HTTPS certificate.
Delivery logs in Test mode
View at Test mode → Webhook → Lịch sử gửi (Delivery logs). Record fields (delivery type, request headers, HTTP code, response body, response time, cURL error code) are identical to Live webhooks. Full reference: Webhook monitoring.
The only difference vs Live: the data scope is simulated transactions, not real bank transactions.
Retry mechanism in Test mode
Fibonacci schedule, max attempts, max entry age, trigger conditions, queue state: identical to Live webhooks. Full reference: Webhook error handling.
Filter by type Retry at Test mode → Webhook → Lịch sử gửi to see retry attempts. Each webhook log also has a Phát lại (Replay) button that re-sends the payload while bypassing the filters, rate-limited to 10 attempts per minute per company.
Webhook quota in Test mode
Up to 50 webhooks per company. Full quota table (transactions, accounts, VAs, API Access) at Test mode quotas.
Next
- Quick Start: enable Test mode, create an account, create a webhook, simulate the first transaction
- Test mode bank account: create new or replicate from Live
- Simulate transaction: full payload, VA matching