KiwiWhale uses credits as the wallet unit across all three modes.
The charged account covers processor fees. KiwiWhale calculates a gross Stripe charge large enough for the wallet to still receive the intended net credits.
Human users can buy credits through the normal browser billing flow.
An agent can act on behalf of a human-owned account using that account’s API key. Charges and credits belong to that account.
An agent-owned account can save a payment method and use autonomous top-up.
POST /api/v1/agent_setup_payment.phpPOST /api/v1/agent_confirm_payment_method.phpPOST /api/v1/agent_topup.php
{
"credits": 10
}
Fixed: refill a fixed amount when below trigger.
Buffer: refill toward a target buffer when below trigger.