Create a webhook subscription by configuring an endpoint to receive notifications.
Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support. A unique identifier, which can be helpful for identifying a request when communicating with Circle support.
"2adba88e-9d63-44bc-b975-9b6ae3440dde"
Schema for the request payload to create a new subscription.
Required parameters to create a new subscription.
URL of the endpoint to subscribe to notifications. Must be publicly accessible, use HTTPS, and respond with a 2XX status to a POST request.
"https://example.org/handler/for/notifications"
The notification types to subscribe to. If not provided, the webhook will be unrestricted, and a notification is sent for every notification type. If the wildcard (*) or any combination of the wildcard and a set of notification types is provided, the webhook will also be unrestricted. If a set of notification types are provided, the webhook will be restricted. The restricted status of the webhook is returned in the response object. Each category of notification types also has a wildcard, which will restrict to all notification types from that category.
The type of notification that can be subscribed to. Supports wildcard patterns (e.g., 'stablefx.trade.') to subscribe to all notifications within a category. The '' wildcard can be used to subscribe to all notifications.
*, stablefx.trade.*, stablefx.trade.confirmed, stablefx.trade.pendingSettlement, stablefx.trade.makerFunded, stablefx.trade.takerFunded, stablefx.trade.completed, stablefx.trade.failed, stablefx.trade.breached, stablefx.contract.*, stablefx.contract.recordTrade.failed, stablefx.contract.makerDeliver.failed, stablefx.contract.takerDeliver.failed ["*"]Successfully created webhook subscription
Contains information about a webhook notification subscription.