Module: routes/webhookRoutes

Routes for Webhook Handling in Satoshi Showdown. This module defines the Express route for receiving and processing incoming webhook callbacks, particularly for blockchain-related events.

Source:

Requires

Methods

(inner) post/receive(path, middleware)

POST route for receiving webhook callbacks. Configured to receive webhook callbacks at a specified endpoint, identified by a unique ID. The handleProcessWebhook controller function is invoked to process the incoming data. This route is critical for real-time updates and processing of blockchain event notifications.

Parameters:
Name Type Description
path string

Express path with unique ID as a parameter for identifying the webhook source.

middleware callback

Express middleware (controller function).

Source: