Testing
Deterministic fixtures to simulate every card outcome, wallet state, and error.
Test cards
| Field | Type | Description |
|---|---|---|
4242 4242 4242 4242 | success | Payment succeeds instantly. |
4000 0000 0000 0002 | declined | Generic decline (card_declined). |
4000 0000 0000 9995 | insufficient_funds | Returns 422 insufficient_funds. |
4000 0027 6000 3184 | 3ds_required | Triggers 3-D Secure challenge. |
Test wallets
Sandbox pre-loads 10,000,000 HTG and 10,000 USD. Reset from Developers → Sandbox → Reset data.
Trigger errors
API v1
# Trigger an insufficient_funds withdrawal
curl -X POST https://api.korvenone.com/v1/withdrawals \
-H "Authorization: Bearer sk_test_..." \
-d '{ "amount": 999999999, "currency": "HTG", "beneficiary": "ben_test_ok" }'