Typed dictionary for updating Stripe payment link parameters.
# 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 UntypedStripeObject
from typing import Dict, List, Union
from typing_extensions import Literal, NotRequired, TypedDict
class PaymentLinkUpdateParams(TypedDict):
active: NotRequired[bool]
"""
Whether the payment link's `url` is active. If `false`, customers visiting the URL will be shown a page saying that the link has been deactivated.
"""
after_completion: NotRequired["PaymentLinkUpdateParamsAfterCompletion"]
"""
Behavior after the purchase is complete.
"""
allow_promotion_codes: N
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key