Skip to main content

Events Overview

Description

The Events API group allows users to monitor and retrieve real-time notifications about activities related to accounts, payment intents, payouts, and other resources across the platform. This resource is vital for tracking changes, ensuring synchronization with external systems, and responding to key actions like successful payments or failed payouts.

API Endpoints

  • Get Event: Retrieves the details of a specific event by its ID.
  • List Events: Returns a paginated list of events with optional filtering.

API Endpoint Reference

MethodEndpointDescription
GET/v1/events/:idRetrieves the details of a specific event.
GET/v1/eventsLists all events with filters.

Attributes

AttributeTypeDescription
idstringUnique identifier for the event (e.g., evt_123456).
account_idstringID of the associated account (e.g., acct_1).
resource_typestringType of the associated resource (e.g., payment_intent).
resource_idstringID of the associated resource (e.g., pay_123).
typestringEvent type (e.g., payment_intent:succeeded).
api_versionstringOptional API version used for the event.
livemodebooleanIndicates if the event occurred in live mode.
dataobjectJSON object containing event-specific data.
created_atstringCreation timestamp.
updated_atstringLast update timestamp.