Reference
Sandbox testing
Drive the hosted checkout to any outcome with synthetic test identities, and exercise payments, release and webhooks with the sandbox simulators.
Test identities#
Synthetic data only
222000000xx range are reserved for the sandbox simulator and never resolve in production. Never enter real customer data in the sandbox.| Scenario | BVN | Date of birth | What happens | Expected path |
|---|---|---|---|---|
Good credit · existing AltBank customerGOOD_EXISTING_CUSTOMER | 22200000001 | 1990-04-12 | SeedScore 712. Existing account with 12 months of salary history. Recognised salary ₦480,000; eligible for ≈ ₦1.05m over 12 months. | AltBank statement → offer → ARAF → payment → release |
Good credit · new to AltBankGOOD_NEW_CUSTOMER | 22200000002 | 1993-09-03 | SeedScore 684. No AltBank account → account opening (can be interrupted and resumed). New account has no history → use Mono or PDF. | Account opening → Mono or PDF → offer |
Fair credit · enhanced review (clear)FAIR_REVIEW_APPROVE | 22200000003 | 1988-01-22 | SeedScore 575 → enhanced assessment form → credit analyst clears (checker approves) → continue. | Enhanced review queue → clear |
Fair credit · enhanced review (decline)FAIR_REVIEW_DECLINE | 22200000004 | 1985-06-30 | SeedScore 548 with delinquency indicators → enhanced review → analyst declines. | Enhanced review queue → decline |
Poor creditPOOR_CREDIT | 22200000005 | 1991-11-11 | SeedScore 412 → respectful decline; partner notified without credit details. | Decline after credit check |
No credit history (thin file)NO_CREDIT_HISTORY | 22200000006 | 2000-02-14 | SeedFi returns no score. Never treated as zero — routed to manual thin-file review per policy. | Thin-file review queue |
Missing salary monthMISSING_SALARY_MONTH | 22200000011 | 1989-07-07 | Good credit, but a complete and reliable statement shows no salary in one of the last six months → decline per SWR rule. | AltBank statement → decline (missing salary) |
High existing obligationsHIGH_OBLIGATIONS | 22200000012 | 1984-03-19 | Existing obligations exceed 33.3% of income → zero repayment capacity → decline. | Affordability → decline |
Insufficient eligibility for cartINSUFFICIENT_ELIGIBILITY | 22200000013 | 1996-05-05 | Recognised salary ₦150,000 → eligible ≈ ₦300k over 12 months. With a ₦450k cart: cart revision required (partial financing disabled by default). | Offer below cart → return to merchant and revise cart |
Business ownerBUSINESS_OWNER | 22200000014 | 1980-10-01 | Self-employed. Requires 12 months of statements and manual review (24–48h contact target). | Choose "Business owner" → 12-month statement → manual review queue |
Uncertain salary classificationUNCERTAIN_SALARY | 22200000015 | 1992-12-12 | One month’s salary credit is ambiguous → affordability review queue (not an automatic decline). | Borderline / affordability review queue |
Split salary paymentsSPLIT_SALARY | 22200000016 | 1994-08-08 | Salary paid in two tranches each month — consolidated without double counting. | Normal path; inspect affordability month breakdown |
Mandate failureMANDATE_FAILURE | 22200000017 | 1990-01-17 | Remita mandate activation fails → operational exception; customer can retry. | Happy path until mandate |
Booking failureBOOKING_FAILURE | 22200000018 | 1990-01-18 | Core banking booking fails → vendor payment blocked; exception raised. | Happy path until booking |
Vendor payment failurePAYMENT_FAILURE | 22200000019 | 1990-01-19 | Payment rail rejects the vendor payment → release stays blocked; exception raised. | Happy path until vendor payment |
Unknown payment statusPAYMENT_UNKNOWN | 22200000020 | 1990-01-20 | Payment initiation times out (outcome unknown). The system refuses to retry and reconciles: the payment had in fact succeeded — no double payment. | Happy path until vendor payment → reconciliation |
Existing exposure near single-obligor limitEXPOSURE_NEAR_LIMIT | 22200000028 | 1979-09-09 | Existing Bank exposure ₦4.6m → only ₦400k remains under the ₦5m limit. Two concurrent applications cannot both reserve it. | Open two checkouts concurrently |
Identity provider unavailableIDENTITY_PROVIDER_DOWN | 22200000099 | 1990-01-01 | BVN service unavailable → safe retry message; no decline. | Identity step → retry message |
SeedFi timeoutCREDIT_PROVIDER_TIMEOUT | 22200000098 | 1990-01-02 | Credit bureau call times out → technical failure, NOT poor credit; customer may retry. | Credit step → retry |
SeedFi invalid responseCREDIT_INVALID_RESPONSE | 22200000097 | 1990-01-03 | Provider returns score 900 (outside 280–800) → invalid response, NOT good or poor. | Credit step → technical failure |
Using a test identity#
- Create a checkout session with your
sk_test_key (or in the API explorer) and open itscheckout_url. - Enter the identity’s BVN and date of birth. One-time codes are delivered to a sandbox message inbox — no real SMS or email is sent.
- Follow the scenario’s path. Mono connections, account opening and Remita mandate authorisation are simulated sandbox pages; statement PDFs are analysed by a simulator.
- Watch your webhook endpoint and the Partner portal as the application progresses.
Steps that the Bank performs — credit review, ARAF approval, documentation checks, maker-checker vendor payment approval and release — are completed by Bank staff in the sandbox administration portal. Ask your Bank integration contact to progress test applications, or to run a scenario end to end with you.
Simulators#
Payments and release
Vendor payments use a simulated NIP rail: responses and resources carry simulated: true, provider references start with NIP-SBX-, and the PAYMENT_FAILURE and PAYMENT_UNKNOWN identities exercise failure and reconciliation paths.
Refunds
When a refund is awaiting the vendor (VENDOR_REFUND_PENDING), use Partner portal → Settlements → Refunds → Simulate vendor refund sent to record the vendor’s refund on the simulated rail and trigger reconciliation (refund.completed).
Test webhooks#
In Partner portal → Integration → Webhooks, send a test event of any type to your endpoints. Test events carry "test": true, application ARAF-TEST-000000 and order TEST-ORDER. The test goods.release_authorized event contains the note “TEST EVENT — do not release goods”.
Sandbox retries are fast (seconds to two minutes) so you can observe backoff and dead-lettering. Verify your handler with the signature verifier.