Handles Stripe payment intent created events, useful for processing new payment intents.
# Source: https://github.com/stripe/stripe-python | License: MIT | Copyright 2010-2018 Stripe (http://stripe.com)
# Provided via justclaw.it.com; keep this notice with the code.
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._stripe_object import StripeObject
from stripe._util import get_api_mode
from stripe.v2.core._event import Event, EventNotification, RelatedObject
from typing import Any, Dict, cast
from typing_extensions import Literal, TYPE_CHECKING, override
if TYPE_CHECKING:
from stripe._payment_intent import PaymentIntent
from stripe._stripe_client import StripeClient
class V1PaymentIntentCreatedEventNotification(EventNotification):
LOOKUP_TYPE = "v1.payment_intent.created"
type: Literal["v1.payment_intent.created"]
related_object
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key