{
  "x402Version": 2,
  "id": 1105,
  "slug": "1105",
  "resource": "https://aiagentoracle.ai/api/v1/settlement/:hash",
  "description": "AgentOracle: verify a payment transaction recorded by AgentOracle and check its Base receipt confirmation state. Returns recorded amount, payer, recipient, route, timestamp, and confirmed, pending, reverted, or temporarily unavailable on-chain state.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2feCabDFC849C76fdC28CA13Aa0Ab392753EF35C",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "txHash": "0x830fc7975fc1cc62e4f0d757cdbc0d3013f7259760840e7853e9be9e071c045a"
          },
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "amountAtomic": "10000",
            "amountUsd": 0.01,
            "asset": "USDC",
            "limitation": "Verification is limited to AgentOracle-recorded settlements.",
            "network": "eip155:8453",
            "onchain": {
              "blockNumber": "40000000",
              "checkedAt": "2025-12-31T23:59:40Z",
              "confirmations": 12,
              "reason": null,
              "state": "confirmed"
            },
            "payer": "0x2222222222222222222222222222222222222222",
            "recipient": "0x3333333333333333333333333333333333333333",
            "recordedAt": "2025-12-31T23:59:30Z",
            "recordedStatus": "settled",
            "route": "/api/v1/asset/ETH/assessment",
            "txHash": "0x1111111111111111111111111111111111111111111111111111111111111111"
          },
          "type": "json"
        }
      },
      "routeTemplate": "/settlement/:txHash",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "additionalProperties": false,
                "properties": {
                  "txHash": {
                    "pattern": "^0x[a-fA-F0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "txHash"
                ],
                "type": "object"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "amountAtomic": {
                    "type": "string"
                  },
                  "amountUsd": {
                    "type": "number"
                  },
                  "asset": {
                    "type": "string"
                  },
                  "limitation": {
                    "type": "string"
                  },
                  "network": {
                    "type": "string"
                  },
                  "onchain": {
                    "properties": {
                      "blockNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "checkedAt": {
                        "format": "date-time",
                        "type": "string"
                      },
                      "confirmations": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "state": {
                        "enum": [
                          "confirmed",
                          "pending",
                          "reverted",
                          "unavailable"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "state",
                      "blockNumber",
                      "confirmations",
                      "checkedAt",
                      "reason"
                    ],
                    "type": "object"
                  },
                  "payer": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "recipient": {
                    "type": "string"
                  },
                  "recordedAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "recordedStatus": {
                    "type": "string"
                  },
                  "route": {
                    "type": "string"
                  },
                  "txHash": {
                    "type": "string"
                  }
                },
                "required": [
                  "txHash",
                  "payer",
                  "recipient",
                  "amountAtomic",
                  "amountUsd",
                  "asset",
                  "network",
                  "route",
                  "recordedStatus",
                  "recordedAt",
                  "onchain",
                  "limitation"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "aiagentoracle.ai",
  "lastUpdated": "2026-09-06T02:43:16.859Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-09-06T02:43:16.859Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "aiagentoracle.ai",
    "manifest_name": "aiagentoracle.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}