POST
request to an endpoint you configure when the state of a resource changes, so
your application can react to the event.
Notification API versions
Circle offers two notification systems. Which one you integrate with depends on the product you’re using.| Version | Delivery | Products |
|---|---|---|
| v2 | Direct HTTPS POST from Circle | Circle Wallets, Circle Contracts, CPN payments, Gateway, StableFX |
| v1 | Amazon SNS publishes to your endpoint | Circle Mint, Digital Asset Accounts, CPN Managed Payments |
Event model
Each webhook notification is an HTTPPOST request to a subscriber endpoint you
configure. The envelope shape depends on the notification API version.
- v2 notifications
- v1 notifications
Used by Circle Wallets, Circle Contracts, CPN payments, Gateway, and
StableFX. Each notification includes:
You subscribe to the events your application cares about. When a
corresponding state change occurs in Circle’s systems, Circle sends a
notification to your endpoint.
| Field | Type | Description |
|---|---|---|
subscriptionId | string (UUIDv4) | Identifies the subscription that produced the notification. Use it to route events to the correct handler. |
notificationId | string (UUIDv4) | Uniquely identifies the notification. The same ID is reused if Circle retries delivery, so use it to deduplicate. |
notificationType | string | The event type (for example, transactions.inbound, cpn.payment.completed). |
notification | object | The resource that changed, including its current state. The shape matches the corresponding API endpoint’s response object. |
timestamp | string | ISO 8601 timestamp of the event. |
version | number | Schema version. Always 2. |