Virtual Account Types
KongaPay supports three types of virtual accounts. Choosing the right type depends on whether your payment amounts are fixed or flexible, and whether the account should be single-use or reusable.
Behavior Matrix
| Type | Amount Required | Amount Must Match | Auto Expiry | Cancel via API |
|---|---|---|---|---|
| nonstatic | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
| static | ✅ Yes | ✅ Yes | ❌ No | ❌ No |
| static-flex | ❌ No | ❌ No | ❌ No | ❌ No |
Nonstatic
A new, unique account number is generated for each payment request. The amount is fixed at creation and must be matched exactly by the payer. The account expires automatically after the time window you define.
Best for: one-time payments such as order checkouts, invoice settlements, or session-based collections.
Example — Order value: ₦5,000
| Amount Sent | Result |
|---|---|
| ₦5,000 | ✅ Accepted — exact match |
| ₦4,000 | ❌ Rejected — amount mismatch |
| ₦6,000 | ❌ Rejected — amount mismatch |
expiers_in. Any payment attempt after expiry will be rejected.Static
The account number is permanent and reused across payments. The expected amount is fixed — every payment must match it exactly. The account does not expire and cannot be cancelled via API.
Best for: a consistent, reusable account tied to a fixed recurring charge.
Example — Account: 5008888888 | Expected: ₦5,000
| Amount Sent | Result |
|---|---|
| ₦5,000 | ✅ Accepted — exact match |
| ₦6,000 | ❌ Rejected — amount mismatch |
Static Flex
The account number is permanent and accepts any payment amount. There is no predefined amount — amount validation is intentionally bypassed for this type.
Best for: open-ended collections such as wallet top-ups, donations, or marketplace payments where the amount varies per transaction.
Example — Account: 5007777777 — accepts any amount
Quick Comparison
| Type | Account Number | Payment Amount |
|---|---|---|
| nonstatic | New number per request | Fixed — must match exactly |
| static | Permanent, reused | Fixed — must match exactly |
| static-flex | Permanent, reused | Flexible — any amount accepted |