79669598

Date: 2025-06-17 18:24:04
Score: 0.5
Natty:
Report link

Nowadays, Stripe API provides an Events V2 endpoint, so it's possible to list all events based on the "resource" ID, which is named "object_id".

Example:

$events = $stripe->v2->core->events->all([
  'object_id' => $customerId, // or $paymentIntentId, etc
]);

Reference: https://docs.stripe.com/api/v2/core/events/list

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonas WebDev