cURL
curl --request GET \ --url https://api.pinata.cloud/v3/x402/payment_instructions \ --header 'Authorization: Bearer <token>'
{ "data": { "payment_instructions": [ { "id": "<string>", "version": 123, "payment_requirements": [ { "asset": "<string>", "pay_to": "<string>", "network": "base", "max_amount_required": "<string>", "description": "<string>" } ], "name": "<string>", "description": "<string>", "created_at": "2023-11-07T05:31:56Z" } ], "next_page_token": "<string>" } }
Returns a paginated list of payment instructions
Pinata API JWT token
Number of items to return
1 <= x <= 1000
Token for pagination
Filter by CID mapped (returns max 1 payment instruction)
Filter by name
Filter by ID
Successful operation
Show child attributes
Unique identifier
Version number
Token contract address (must start with 0x)
Ethereum address to receive payment (must start with 0x)
Network for payment
base
base-sepolia
Maximum amount required for payment
Optional description
255
Name of the payment instruction
Description of the payment instruction
Creation timestamp
Token for next page (omitted on last page)