Handles Stripe payment intent processing events, allowing retrieval of related payment intent objects. Use when integrating Stripe webhook events for payment flow monitoring.
// Source: https://github.com/stripe/stripe-php | License: MIT | Copyright 2010-2019 Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V1PaymentIntentProcessingEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v1.payment_intent.processing';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\PaymentIntent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
$apiMode
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key