Skip to content

Testing

Deterministic fixtures to simulate every card outcome, wallet state, and error.

Updated Jul 15, 2026API 2026-07-01 Edit on GitHubReport an issue

Test cards

FieldTypeDescription
4242 4242 4242 4242
successPayment succeeds instantly.
4000 0000 0000 0002
declinedGeneric decline (card_declined).
4000 0000 0000 9995
insufficient_fundsReturns 422 insufficient_funds.
4000 0027 6000 3184
3ds_requiredTriggers 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

# 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" }'