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., 'cpn.payment.') to subscribe to all notifications within a category. The '' wildcard can be used to subscribe to all notifications.
*, cpn.payment.*, cpn.payment.cryptoFundsPending, cpn.payment.fiatPaymentInitiated, cpn.payment.completed, cpn.payment.failed, cpn.payment.delayed, cpn.rfi.*, cpn.rfi.informationRequired, cpn.rfi.inReview, cpn.rfi.approved, cpn.rfi.rejected, cpn.transaction.*, cpn.transaction.broadcasted, cpn.transaction.completed, cpn.transaction.failed ["*"]Successfully created a webhook subscription.
Contains information about a webhook notification subscription.