{
  "openapi": "3.1.0",
  "info": {
    "title": "thankslot",
    "version": "0.1.0",
    "description": "thankslot board listing: contact and settled amount",
    "contact": {
      "email": "thankslot@agentmail.to"
    },
    "x-guidance": "POST /api/claim carries a JSON body whose contact field is an X handle or an email address. The server answers 402 with PAYMENT-REQUIRED and settles USDC on Base through an x402 facilitator."
  },
  "paths": {
    "/api/claim": {
      "post": {
        "operationId": "claimListing",
        "summary": "thankslot board listing: contact and settled amount",
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "dynamic",
            "currency": "USD",
            "min": "0.05",
            "max": "5.00"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "contact"
                ],
                "properties": {
                  "contact": {
                    "type": "string",
                    "description": "an X handle or an email address"
                  },
                  "label": {
                    "type": "string"
                  },
                  "target_rank": {
                    "type": "integer"
                  },
                  "amount": {
                    "type": "string",
                    "description": "atomic units of USDC"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "402": {
            "description": "Payment Required"
          }
        }
      }
    }
  },
  "x-discovery": {
    "ownershipProofs": [
      "0x57807d1755c3756a20ffabd86a7e32898adb163f"
    ]
  }
}
