Guides
Step-by-step tutorials for integrating PayDirect settlement infrastructure on Base mainnet.
Getting Started
Create your account, get API keys (pd_test_ / pd_live_), install the SDK, and accept your first USDC payment on Base in under 10 minutes.
Integrating Payments
Server-side payment creation with the REST API and SDKs, idempotency keys, webhook handling, and production checklist.
Security Best Practices
API key management, HMAC-SHA256 webhook verification, idempotency, transport security, and wallet address validation.
Testing Your Integration
Run the API integration tests, service layer tests, and manual cURL checks to verify everything works before going live.
x402 Protocol Payments
Add HTTP-native payments to your API using Coinbase's x402 protocol. Agents auto-pay for API access — no checkout flow needed.
Agent-to-Agent Payments
Build autonomous agents that pay each other for services using the PayDirect API. Includes a runnable two-agent demo with a content generator and buyer.
Troubleshooting
Diagnose authentication errors, payment failures, rate limiting, webhook issues, and Base network problems.
