Creates meter events. Events are processed asynchronously, including validation. Requires a meter event session for authentication. Supports up to 10,000 requests per second in livemode. For even higher rate-limits, contact sales.
Learn more about calling API v2 endpoints.Parameters
- eventsarray of objectsRequired
List of meter events to include in the request. Supports up to 100 events per request.
- events.
event_ namestringRequired The name of the meter event. Corresponds with the
event_
field on a meter.name - events.
identifierstring A unique identifier for the event. If not provided, one will be generated. We recommend using a globally unique identifier for this. We’ll enforce uniqueness within a rolling 24 hour period.
- events.
payloadmapRequired The payload of the event. This must contain the fields corresponding to a meter’s
customer_
(default ismapping. event_ payload_ key stripe_
) andcustomer_ id value_
(default issettings. event_ payload_ key value
). Read more about the payload. - events.
timestamptimestamp The time of the event. Must be within the past 35 calendar days or up to 5 minutes in the future. Defaults to current timestamp if not specified.
Returns
Response attributes
No response attributes.
The temporary session token has expired.
{}