x402 is available on paid Pinata accounts. Upgrade your account to access x402 monetization features.
Quick Example
Network Configuration
USDC is currently the only supported token.Payment Amounts
USDC has 6 decimals. To convert USD to token amount, multiply by 1,000,000:Available Methods
Payment Instructions
- list - List all payment instructions
- create - Create a new payment instruction
- get - Get a payment instruction by ID
- update - Update a payment instruction
- delete - Delete a payment instruction
CID Management
- list - List CIDs attached to a payment instruction
- add - Attach a CID to a payment instruction
- remove - Remove a CID from a payment instruction
Related Resources
- x402 Introduction - Overview of x402 monetization
- Quick Start Guide - Step-by-step setup guide
- Payment Instructions Guide - Detailed workflow guide
- Accessing Paid Content - How requesters access paid content
- x402 Types - TypeScript type definitions