{
  "x402Version": 2,
  "id": 27800,
  "slug": "27800",
  "resource": "https://agent402.tools/api/my-usage",
  "description": "Your own purchase history, keyed to the wallet that pays for the call - no wallet parameter, no signup: the x402 payment IS the identity, so nobody can read another wallet's profile. Returns totals, per-tool counts, per-chain breakdown, recent receipts with settle tx hashes (independently verifiable on-chain), and this wallet's refunds: any payment that settled for a call that failed to deliver, with its status and our refund transaction once sent.",
  "type": "http",
  "serviceName": "My usage (wallet-keyed purchase",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784247360/bazaar-icons/478aced8e219894c.png",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:43114",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:1329",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "6000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42220",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "byNetwork": {
            "type": "object"
          },
          "bySlug": {
            "type": "array"
          },
          "days": {
            "type": "integer"
          },
          "note": {
            "type": "string"
          },
          "persistent": {
            "type": "boolean"
          },
          "recent": {
            "type": "array"
          },
          "refunds": {
            "type": "object"
          },
          "totals": {
            "type": "object"
          },
          "wallet": {
            "type": "string"
          }
        },
        "required": [
          "wallet",
          "days",
          "persistent",
          "totals",
          "byNetwork",
          "bySlug",
          "recent",
          "refunds",
          "note"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "days": 30
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "byNetwork": {
              "base": {
                "calls": 40,
                "usd": 1.2
              },
              "polygon": {
                "calls": 2,
                "usd": 0.034
              }
            },
            "bySlug": [
              {
                "calls": 12,
                "lastAt": "2026-07-09T00:00:00.000Z",
                "slug": "hash",
                "usd": 0.012
              }
            ],
            "days": 30,
            "note": "Every USDC row keeps its settle tx - verifiable on-chain.",
            "persistent": true,
            "recent": [
              {
                "at": "2026-07-09T00:00:00.000Z",
                "network": "base",
                "priceUsd": 0.001,
                "slug": "hash",
                "tx": "0x…"
              }
            ],
            "refunds": {
              "count": 1,
              "owedUsd": 0,
              "paidUsd": 0.005,
              "rows": [
                {
                  "amountUsd": 0.005,
                  "chain": "base",
                  "network": "eip155:8453",
                  "recordedAt": "2026-07-09T00:00:00.000Z",
                  "refundTx": "0x…",
                  "refundTxUrl": "https://basescan.org/tx/0x…",
                  "refundedAt": "2026-07-09T01:00:00.000Z",
                  "status": "paid",
                  "tx": "0x…"
                }
              ]
            },
            "totals": {
              "calls": 42,
              "firstAt": "2026-07-01T00:00:00.000Z",
              "lastAt": "2026-07-09T00:00:00.000Z",
              "paidUsd": 1.234
            },
            "wallet": "0xb0b0000000000000000000000000000000000b0b"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "days": {
                    "description": "Aggregation window in days, 1-365 (default 30). The recent list is always the latest rows regardless.",
                    "type": "number"
                  },
                  "limit": {
                    "description": "Max recent receipts to return, 1-200 (default 50)",
                    "type": "number"
                  }
                },
                "required": []
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "byNetwork": {
                    "type": "object"
                  },
                  "bySlug": {
                    "type": "array"
                  },
                  "days": {
                    "type": "integer"
                  },
                  "note": {
                    "type": "string"
                  },
                  "persistent": {
                    "type": "boolean"
                  },
                  "recent": {
                    "type": "array"
                  },
                  "refunds": {
                    "type": "object"
                  },
                  "totals": {
                    "type": "object"
                  },
                  "wallet": {
                    "type": "string"
                  }
                },
                "required": [
                  "wallet",
                  "days",
                  "persistent",
                  "totals",
                  "byNetwork",
                  "bySlug",
                  "recent",
                  "refunds",
                  "note"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_b4aw4uzd"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "payments",
    "usage",
    "receipts",
    "billing",
    "audit",
    "bazaar",
    "builder-code",
    "payment-identifier"
  ],
  "sourceHost": "agent402.tools",
  "lastUpdated": "2026-10-13T13:50:17.829Z",
  "quality": {
    "calls30d": 53,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-13T13:50:17.572Z"
  },
  "metadata": {
    "serviceName": "My usage (wallet-keyed purchase",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784247360/bazaar-icons/478aced8e219894c.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "days": 30
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "byNetwork": {
                "base": {
                  "calls": 40,
                  "usd": 1.2
                },
                "polygon": {
                  "calls": 2,
                  "usd": 0.034
                }
              },
              "bySlug": [
                {
                  "calls": 12,
                  "lastAt": "2026-07-09T00:00:00.000Z",
                  "slug": "hash",
                  "usd": 0.012
                }
              ],
              "days": 30,
              "note": "Every USDC row keeps its settle tx - verifiable on-chain.",
              "persistent": true,
              "recent": [
                {
                  "at": "2026-07-09T00:00:00.000Z",
                  "network": "base",
                  "priceUsd": 0.001,
                  "slug": "hash",
                  "tx": "0x…"
                }
              ],
              "refunds": {
                "count": 1,
                "owedUsd": 0,
                "paidUsd": 0.005,
                "rows": [
                  {
                    "amountUsd": 0.005,
                    "chain": "base",
                    "network": "eip155:8453",
                    "recordedAt": "2026-07-09T00:00:00.000Z",
                    "refundTx": "0x…",
                    "refundTxUrl": "https://basescan.org/tx/0x…",
                    "refundedAt": "2026-07-09T01:00:00.000Z",
                    "status": "paid",
                    "tx": "0x…"
                  }
                ]
              },
              "totals": {
                "calls": 42,
                "firstAt": "2026-07-01T00:00:00.000Z",
                "lastAt": "2026-07-09T00:00:00.000Z",
                "paidUsd": 1.234
              },
              "wallet": "0xb0b0000000000000000000000000000000000b0b"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "days": {
                      "description": "Aggregation window in days, 1-365 (default 30). The recent list is always the latest rows regardless.",
                      "type": "number"
                    },
                    "limit": {
                      "description": "Max recent receipts to return, 1-200 (default 50)",
                      "type": "number"
                    }
                  },
                  "required": []
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "byNetwork": {
                      "type": "object"
                    },
                    "bySlug": {
                      "type": "array"
                    },
                    "days": {
                      "type": "integer"
                    },
                    "note": {
                      "type": "string"
                    },
                    "persistent": {
                      "type": "boolean"
                    },
                    "recent": {
                      "type": "array"
                    },
                    "refunds": {
                      "type": "object"
                    },
                    "totals": {
                      "type": "object"
                    },
                    "wallet": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "wallet",
                    "days",
                    "persistent",
                    "totals",
                    "byNetwork",
                    "bySlug",
                    "recent",
                    "refunds",
                    "note"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_b4aw4uzd"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent402.tools",
    "manifest_name": "agent402.tools",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "byNetwork": {},
      "bySlug": [
        "value"
      ],
      "days": 0,
      "note": "string",
      "persistent": true,
      "recent": [
        "value"
      ],
      "refunds": {},
      "totals": {},
      "wallet": "string"
    },
    "type": "string"
  }
}