Programmable API Billing

Prepaid credits. Metered usage. On-chain settlement.

The payment infrastructure APIs deserve.

How it works

1
Step 1

Fund Your Wallet

Deposit USDC into your smart wallet. Funds are held securely on-chain until you use them.

2
Step 2

Make API Calls

Each request is metered and signed. Usage is tracked in real-time with cryptographic proofs.

3
Step 3

Auto-Settlement

Charges are batched and settled on-chain. One transaction covers thousands of API calls.

The payment flow

YOU
Your Wallet
USDC Balance
$500.00
API calls
API
API Provider
Signs usage receipts
$0.01/call
Batch settle
L2
Settlement
On-chain transfer
Verified
1,247 calls
This session
$12.47
Total usage
$487.53
Remaining balance

Under the hood

Tech Stack

Base L2
Ethereum rollup for low fees
$
USDC
Stable, trusted settlement
K
ERC-4337
Smart accounts with session keys

Settlement

1
API provider signs usage receipts
2
Receipts batched into Merkle tree
3
Single on-chain settlement tx
4
USDC transferred to provider
// Your integration
const session = await drip.createSession({
  provider: "api.example.com",
  budget: 100  // max $100 for this session
});

// Each API call is automatically metered
const response = await fetch(url, {
  headers: { "X-Drip-Session": session.id }
});

Why this matters

Non-custodial by design

Your funds stay in your smart wallet. We never hold your money—only deduct what you authorize.

Cryptographic usage proofs

Every API call generates a signed receipt. Disputes are resolved by math, not customer support.

Sub-cent transactions

Batch settlement on L2 means you can pay $0.0001 per call without fees eating your budget.

Instant refunds

Unused balance is always withdrawable. No waiting periods, no approval needed.

Traditional vs Drip

Traditional Billing

$0.01 charge$0.31 fee
Settlement2-7 days
Chargebacks2-5% rate
Failed payments10-15%

Drip

$0.01 charge$0.0001 fee
Settlement~1 minute
Chargebacks0% (prepaid)
Failed payments0%

FAQ

What is a smart wallet?

A smart wallet is a programmable blockchain account. It can hold funds and automatically authorize payments based on rules you set—like spending limits per API or auto-top-up thresholds.

How does metering work?

Each API call includes a signed usage receipt. These receipts are batched together and settled on-chain periodically, so you get per-call billing without per-call transaction fees.

What happens if I run out of credits?

API access pauses until you top up. There's no overdraft or debt—you can only spend what you've deposited. Low balance alerts help you stay ahead.

How is this different from Stripe?

Stripe charges 2.9% + $0.30 per transaction, making micropayments impossible. Drip uses prepaid credits and batch settlement, so a $0.001 charge actually costs $0.001.

Is my money safe?

Funds are held in audited smart contracts on Base (Ethereum L2). You control your wallet with your private key—we can't access or freeze your funds.

Ready to integrate?

See the full flow in our interactive demo.