{"uid":"cap_mC19uoLFh1lc39vv-QtqF","slug":"httpay-api-gateway-swagger-petstore-patch-4d1ffa8a","name":"HTTPay API Gateway: Swagger Petstore (PATCH)","description":"API Gateway: Swagger Petstore demo","url":"https://httpay.xyz/api/gateway/petstore/%7B*path%7D","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_s2XHGUEkELoAtr_M6P8dX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies PATCH requests to any path of the Swagger Petstore demo API through the HTTPay x402 micropayment gateway","exampleAgentPrompt":"Update the pet with ID 12345 in the Swagger Petstore demo — change its status to 'sold' — using the HTTPay paid gateway.","exampleUseCases":null,"resultDescription":"Returns the Petstore API's response to the PATCH request, which typically includes the updated resource object (e.g. a modified pet or order), HTTP status code, and any error messages if the update failed. The response mirrors what the underlying Swagger Petstore API would return directly.","failureModes":["Payment not included or insufficient — gateway rejects with 402 Payment Required","Invalid path segment — Petstore returns 404 Not Found","Malformed request body — Petstore returns 400 Bad Request","Petstore demo API unavailable — gateway returns 502 Bad Gateway or timeout","Unsupported content type — returns 415 Unsupported Media Type"],"whenToPreferThis":"Choose this endpoint when you need to send PATCH (partial update) requests to the Swagger Petstore demo API through a micropayment-gated proxy, particularly when testing x402 payment protocol flows or building agents that need to interact with a well-known demo API behind a pay-per-call gateway. Prefer this over direct Petstore access when you want to test x402 payment handling in your workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:47.825Z","isFirstParty":false}