kibble charge command creates a USDC payment link on Base and returns everything you need to start accepting payments: a shareable URL, a merchant portal link, a deposit wallet address, and an iframe embed snippet. You can run it interactively with prompts or non-interactively with the --yes flag and environment variables.
Interactive flow
Runnpx create-kibble with no flags, complete the initial prompts for your business name and email, then select kibble charge from the action menu.
Enter your business name
The CLI prompts you for your business name. This appears on the payment page your customers see.
Choose your wallet type
Select how you want to receive funds:
- Kibble-managed wallet — Kibble provisions a USDC deposit address for you. No existing wallet required.
- BYO (bring your own) — Use a USDC wallet address on Base that you already control.
Add an optional product description
Enter a short description of what you’re charging for (e.g.
"Design consultation — April"). This is optional and appears on the payment page.Output
After a successfulkibble charge, the CLI prints:
Non-interactive mode with —yes
Pass--yes and set environment variables to create a payment link without any prompts. The result is printed as JSON to stdout, making it easy to capture in scripts.
KIBBLE_WALLET_TYPE=byo and supply your wallet address:
Wallet options
| Wallet type | KIBBLE_WALLET_TYPE value | When to use |
|---|---|---|
| Kibble-managed | privy | You want Kibble to provision and manage a USDC wallet for you. |
| Bring your own | byo | You already have a USDC address on Base and want payments sent directly to it. |
A payment link stays open and can receive multiple payments. After a customer pays, the page updates to reflect the payment status. You can share the same link repeatedly or generate a new one for each transaction — both approaches work.
Pointing at a local server
SetKIBBLE_BASE_URL to test against a local or staging API: