Testing Onramps

In the Test/Sandbox environment, use the following test accounts to simulate different onramp scenarios.

✅ Successful Transactions

Successful Virtual Account Onramp

Account Details:

Example:

{
  "method": "bank",
  "chargeDetails": {
    "email": "[email protected]"
  }
}

Successful Mobile Money Onramp

Account Details:

  • Phone Number: 254712345678
  • momoOperatorId: mpesa

Example:

{
  "method": "momo",
  "chargeDetails": {
    "phoneNumber": "254787654321",
    "momoOperatorId": "mpesa"
  }
}

❌ Failed Transactions

Failed Bank Account

Account Details:

Example:

{
  "method": "bank",
  "chargeDetails": {
    "email": "[email protected]"
  }
}

Failed Mobile Money

Account Details:

  • Phone Number: 254787654321
  • momoOperatorId: mpesa

Example:

{
  "method": "momo",
  "chargeDetails": {
    "phoneNumber": "254787654321",
    "momoOperatorId": "mpesa"
  }
}