Testing Collections

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

Successful Mobile Money Collection

Account Details:

  • Phone Number: 254712345678
  • External Reference: Unique Reference
  • Amount: Any Valid Amount
  • Currency: KES

Example:

{
    "externalReference": "test-reference",
    "amount": 300,
    "currency": "KES",
    "phoneNumber": "254712345678"
}

Failed Mobile Money Collection

Account Details:

  • Phone Number: 254787654321
  • External Reference: Unique Reference
  • Amount: Any Valid Amount
  • Currency: KES

Example:

{
    "externalReference": "test-reference",
    "amount": 300,
    "currency": "KES",
    "phoneNumber": "254787654321"
}