{"uid":"cap_TCXnyFDi_G7rbQMsAjHLX","slug":"agentic-reservations-cancel-restaurant-reservation-job-08bd642c","name":"Agentic Reservations — Cancel Restaurant Reservation Job","description":"API that lets AI agents search and book restaurant reservations on Resy. Pay $0.01 USDC per booking with a crypto wallet.","url":"https://agentres.dev/api/reservation-jobs/%7Bjob_id%7D/cancel","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"job_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"success":{"type":"boolean"},"charge_id":{"type":"string","format":"uuid"},"was_already_canceled":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"job_id":"0a1b2c3d-4e5f-6071-8293-a4b5c6d7e8f9","status":"canceled","payment":{"status":"refund_pending"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"registry","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":"free","summary":"Free","primary":{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_D_rUQgoBXNRKsVk20iMcv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cancels a previously submitted restaurant reservation booking job on Resy and initiates a refund of the booking payment.","exampleAgentPrompt":"I can't make my dinner reservation anymore — can you cancel the AgentRes reservation job with ID 0a1b2c3d-4e5f-6071-8293-a4b5c6d7e8f9 and get my refund started?","exampleUseCases":null,"resultDescription":"Returns a JSON object confirming the job has been canceled, including the job_id, a status of 'canceled', payment refund status (e.g. 'refund_pending'), and a success boolean indicating whether the cancellation was processed successfully.","failureModes":["Job ID not found — returns an error if the provided job_id does not exist","Job already completed — reservation may have already been confirmed and cannot be canceled","Job already canceled — attempting to cancel an already-canceled job may return an error or idempotent response","Invalid job_id format — malformed UUID results in a validation error","Refund not applicable — if the booking was free or already refunded, refund status may differ"],"whenToPreferThis":"Use this endpoint when you need to cancel a specific restaurant reservation job that was previously created via the AgentRes API and want to trigger a refund of the USDC payment. This is the dedicated cancellation endpoint for AgentRes reservation jobs, not for canceling reservations directly on Resy or other platforms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:02.201Z","isFirstParty":false}