wallet.invalid_amount
The amount is not a valid positive integer; zero and negative values are rejected.
wallet.invalid_amount is returned when the amount field in a wallet operation does not meet the required constraints. Amounts are expressed in minor currency units (e.g., cents, KES subunits). Debit and credit amounts must be positive integers; low-balance threshold amounts must be non-negative integers.
The amount is zero, negative, a float, or not a number. Amounts must be whole integer values in the minor unit of the wallet currency.
Send a positive integer for the amount. For KES wallets, use the amount in cents (e.g., 500 for KES 5.00).
{
"error": {
"code": "wallet.invalid_amount",
"message": "amount must be a positive integer",
"request_id": "req_01900000abc"
}
}