{"uid":"cap_jW3OzeOdx7Q3nEDz2oMFl","slug":"spraay-gateway-webhook-registration-16840f0f","name":"Spraay Gateway Webhook Registration","description":"Register webhook for payment/escrow/swap events.","url":"https://gateway.spraay.app/api/v1/webhook/register","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FxCdpZ7tn6qr6FUhxHwt9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a webhook URL to receive real-time notifications for payment, escrow, and swap events on the Spraay gateway.","exampleAgentPrompt":"Register my server at https://myapp.example.com/webhooks/spraay to receive payment and escrow events from the Spraay gateway so I get notified whenever a transaction completes or an escrow changes state.","exampleUseCases":[{"title":"Payment confirmation for e-commerce","prompt":"Set up a webhook at https://shop.mystore.com/payments/callback to listen for payment events from Spraay so my store can automatically fulfill orders when a crypto payment goes through."},{"title":"Escrow state change alerts","prompt":"Register https://api.myplatform.com/hooks/escrow with Spraay to notify me about escrow events — I need to know whenever an escrow is funded, released, or disputed."},{"title":"Swap completion tracking for trading bot","prompt":"Subscribe my endpoint at https://bot.mytrader.io/events to swap events on the Spraay gateway so my trading bot can log and react to every completed swap automatically."}],"resultDescription":"A confirmation of the webhook registration, including a subscription or registration ID and the list of event types now being monitored. Future events matching the registered types will trigger HTTP POST callbacks to the provided URL.","failureModes":["Invalid or unreachable webhook URL returns a 4xx error","Unsupported event type in the events array causes validation failure","Duplicate registration for same URL and events may return conflict or silently succeed","Missing required fields (url or events) results in a 400 Bad Request","Payment failure (insufficient USDC) blocks the registration from completing"],"whenToPreferThis":"Use this endpoint when you need event-driven, real-time notifications for payment, escrow, or swap activity on the Spraay gateway specifically. Prefer this over polling sibling endpoints when low-latency reaction to transaction state changes is required, or when building automated workflows that must respond immediately to crypto payment or DeFi swap completions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:01.851Z","isFirstParty":false}