Cadana’s sandbox environment lets you test your integration without processing real financial transactions. The sandbox APIs mirror production, so transitioning to live is as simple as updating the host and API key.
Sandbox host: https://dev-api.cadanapay.com
Use an API key generated for the sandbox environment. Production API keys will not work with the sandbox host.
Funding Your Wallet
Use the sandbox deposit endpoint to add test funds to your wallet:
Simulated Payment Failures
To test your error handling, use specific accountName values when creating a beneficiary to trigger simulated payment failures:
| Account Name | Simulated Failure |
|---|
FAILURE_SIM_001 | Invalid account |
FAILURE_SIM_002 | Bank unavailable |
FAILURE_SIM_003 | Rejected by compliance |
FAILURE_SIM_004 | Returned by bank |
Set the accountName in the beneficiary’s bank payment details:
When the payout is processed, it will fail with the corresponding error message — in this case, “Rejected by compliance”.
Virtual Account Auto-Approval
When creating a virtual account in sandbox, use 99999900 as the customIdentification.number to automatically approve the account. The type (SSN or BVN) does not matter.
KYC Testing
Use these test values when submitting KYC in sandbox to simulate different verification outcomes.
Identity Document Number
| Value | Result |
|---|
auto-approve | Identity verification automatically approved |
auto-reject | Identity verification automatically rejected |
Address Line 2
| Value | Result |
|---|
auto-approve | Address verification automatically approved |
auto-reject | Address verification automatically rejected |
Identity and address sentinels can be combined in a single request to control each verification independently. Sentinel values are case-insensitive.
These sentinels work with both initial submission (POST) and resubmission (PATCH).
Initial submission:
Resubmission (after rejection):
KYB Testing
Use these test values when submitting KYB information in sandbox to simulate different outcomes.
Tax Identification Number
| Tax ID | Result |
|---|
000-CAD-AUTO-APPROVE | KYB automatically approved |
000-CAD-AUTO-REJECT | KYB automatically rejected (terminal) |
000-CAD-AUTO-FLAG | Status set to needs-additional-info — flags tax ID as incorrect and requests all business documents |
Principal SSN
| SSN | Result |
|---|
000-11-2222 | Status set to needs-additional-info — requires identity (front and back) and address files for the principal |
000-11-3333 | Status set to needs-additional-info — principal receives email to complete KYC via provider |
All sandbox test values are ignored silently in production.