Wallet & Stripe Checkout
ComfyClaw uses a prepaid wallet model. Consumers fund their wallet via Stripe Checkout and spend credits on workflow runs.
Check Your Balance
GET /api/v1/wallet
Authorization: Bearer ccn_sk_...
Response:
{ "balance_cents": 2500 }
Add Funds (Stripe)
POST /api/v1/checkout
Authorization: Bearer ccn_sk_...
Content-Type: application/json
{ "amount_cents": 500 }
The response includes a checkout_url where you complete payment.
Minimum deposit is $5.00 (500 cents).
Transactions
GET /api/v1/wallet/transactions
Authorization: Bearer ccn_sk_...
Transactions include deposits, charges, and refunds. The wallet is automatically charged when a job is submitted.