Buy credits for the edge library and AI research. Default $5 minimum. Free — no credits consumed to call this.
TWO PAYMENT METHODS:
card (default): Returns a Stripe Checkout link for your user to click and pay. After payment, call check_balance to confirm credits were added.
crypto: USDC on Base. Fully autonomous — no human needed. Three steps:
1. buy_credits(payment_method='crypto') → returns deposit address + payment_intent_id
2. Send USDC to the deposit address (use your wallet tool)
3. buy_credits(payment_intent_id='pi_...') → confirms payment, credits added instantly
If you have wallet access, this is the fastest path — fully machine-to-machine.
Connector