General Questions
Do I need an account to use 0xmeta.ai?
Do I need an account to use 0xmeta.ai?
- Approve facilitator for USDC spending (one-time)
- Integrate x402 middleware
- Start accepting payments
What is x402?
What is x402?
What networks are supported?
What networks are supported?
- Base Mainnet (Chain ID: 8453)
- Base Sepolia (Chain ID: 84532, testnet)
Merchant Setup
Why do I need to approve the facilitator?
Why do I need to approve the facilitator?
transferFrom pattern before executing the settlement.How it works:- x402 requires customers pay merchants directly (trust-minimization)
- Facilitator can’t split customer payments
- Pre-settlement fee collection prevents free service exploitation
- Solution: Merchant pays fee separately via approval, BEFORE settlement
How do I approve the facilitator?
How do I approve the facilitator?
How much should I approve?
How much should I approve?
Approval = Settlements × $0.01Examples:- 100 USDC = 10,000 settlements
- 500 USDC = 50,000 settlements
- 1000 USDC = 100,000 settlements
Can I revoke approval?
Can I revoke approval?
insufficient_allowance error. Customers won’t be charged.To resume: Re-run approval with desired amount.How do I check my remaining allowance?
How do I check my remaining allowance?
Trust & Security
How do I know the facilitator won't steal customer funds?
How do I know the facilitator won't steal customer funds?
- Customers authorize payments directly to your address (not facilitator)
- EIP-3009 signatures are cryptographically bound to recipient
- Facilitator has zero access to customer authorizations
- Facilitator cannot redirect customer funds
Can the facilitator drain my USDC balance?
Can the facilitator drain my USDC balance?
- You approve: 100 USDC
- Maximum risk: 100 USDC
- Your remaining USDC: Safe
check-allowance.mjs to track remaining approval.What if the facilitator is hacked?
What if the facilitator is hacked?
- Limit approval: Don’t approve more than you’re willing to risk
- Monitor regularly: Check allowance frequently
- Revoke if suspicious: Set approval to 0 immediately
Is this more secure than traditional payment processors?
Is this more secure than traditional payment processors?
- ❌ Custody of customer funds
- ❌ Can freeze/hold payments
- ❌ Opaque settlement process
- ✅ No custody (direct to merchant)
- ✅ Cannot freeze payments
- ✅ On-chain auditable
- ✅ Cryptographic guarantees
- ✅ Fee collected before settlement (no free service)
Fees & Pricing
How are fees collected?
How are fees collected?
- Customer authorizes $0.02 to your address
- Facilitator collects $0.01 fee from your approved USDC balance FIRST
- Then facilitator executes customer → merchant payment ($0.02)
- You receive 100% of customer payment ($0.02)
Why does the merchant pay the fee, not the customer?
Why does the merchant pay the fee, not the customer?
- Your price: $0.01
- Facilitator fee: $0.01
- Customer pays: $0.02
What if settlement fails after fee collection?
What if settlement fails after fee collection?
- Facilitator verified customer authorization
- Facilitator attempted settlement execution
- Resources were consumed (RPC calls, API calls, gas estimation)
- Service was rendered
Are there any hidden fees?
Are there any hidden fees?
Technical Questions
What happens if I revoke approval mid-settlement?
What happens if I revoke approval mid-settlement?
- Customer submits payment authorization
- Facilitator attempts fee collection (pre-settlement)
- Fee collection fails (approval revoked)
- Settlement BLOCKED
- Customer NOT charged
Can I use a different token besides USDC?
Can I use a different token besides USDC?
How do I test on testnet?
How do I test on testnet?
- USDC:
0x036CbD53842c5426634e7929541eC2318f3dCF7e - Treasury:
0x5D791e3554D0e83f171126905Bda1640Bf6f9A8B
What's the difference between x402 v1 and v2?
What's the difference between x402 v1 and v2?
- v1:
"base-sepolia"(string) - v2:
"eip155:84532"(CAIP-2 format)
How long do settlements take?
How long do settlements take?
- Verification: < 2 seconds
- Pre-settlement fee collection: 5-10 seconds (on-chain tx)
- Settlement execution: 30-60 seconds (via 1Shot)
- Network congestion
- RPC provider latency
- 1Shot API processing time
Can I see all transactions on-chain?
Can I see all transactions on-chain?
Why pre-settlement instead of post-settlement?
Why pre-settlement instead of post-settlement?
- ✅ Fee collected FIRST
- ✅ If fee fails → settlement blocked → customer safe
- ✅ No free service exploitation
- ✅ Sustainable business model
- ❌ Settlement executes first
- ❌ Fee collection could fail → free service
- ❌ Merchants could exploit for free verification
- ❌ Unsustainable
Troubleshooting
Error: insufficient_allowance
Error: insufficient_allowance
Error: fee_collection_failed
Error: fee_collection_failed
Settlement taking too long
Settlement taking too long
- Check if pre-settlement fee collection succeeded
- Check Base network status
- Verify 1Shot API status
- Check settlement status via API
How do I get support?
How do I get support?
- Documentation: https://docs.0xmeta.ai
- GitHub Issues: https://github.com/0xmetaHQ/x402-facilitator/issues
- Email: [email protected]
- Discord: https://discord.gg/0xmeta
- Settlement ID or verification ID
- Error message (if applicable)
- Network (mainnet or sepolia)
- Whether error occurred at fee collection or settlement
Comparison to Alternatives
How is this different from other x402 facilitators?
How is this different from other x402 facilitators?
- ✅ Paid service ($0.01/settlement, pre-settlement)
- ✅ Production-ready infrastructure
- ✅ Guaranteed uptime (99.9% SLA)
- ✅ Professional support
- ✅ No free service exploitation (pre-settlement)
- ⚠️ May shut down anytime
- ⚠️ No guarantees
- ⚠️ Limited support
- ⚠️ May use post-settlement (exploitable)
Why use a facilitator at all?
Why use a facilitator at all?
- ❌ You verify signatures yourself
- ❌ You execute settlements on-chain
- ❌ You pay gas fees
- ❌ You handle errors/retries
- ❌ Complex infrastructure
- ✅ Signature verification handled
- ✅ Settlement execution managed
- ✅ Gas fees covered
- ✅ Error handling built-in
- ✅ Simple integration (x402 middleware)
- ✅ Pre-settlement fee collection (no free service)
Pre-Settlement Deep Dive
What exactly is pre-settlement fee collection?
What exactly is pre-settlement fee collection?
What are the benefits of pre-settlement?
What are the benefits of pre-settlement?
- ✅ Never charged if fee collection fails
- ✅ Protected from failed settlement attempts
- ✅ Guaranteed payment for service
- ✅ No free service exploitation
- ✅ Sustainable business model
- ✅ Transparent fee structure
- ✅ Predictable costs
- ⚠️ Pay for settlement attempts (fair trade for preventing exploitation)
What happens in each scenario?
What happens in each scenario?