Mayson Monorepo Documentation
    Preparing search index...

    Interface PaymentLinkUpdateParams

    interface PaymentLinkUpdateParams {
        active?: boolean;
        after_completion?: Stripe.PaymentLinkUpdateParams.AfterCompletion;
        allow_promotion_codes?: boolean;
        automatic_tax?: Stripe.PaymentLinkUpdateParams.AutomaticTax;
        billing_address_collection?: Stripe.PaymentLinkUpdateParams.BillingAddressCollection;
        custom_fields?: Emptyable<Stripe.PaymentLinkUpdateParams.CustomField[]>;
        custom_text?: Stripe.PaymentLinkUpdateParams.CustomText;
        customer_creation?: Stripe.PaymentLinkUpdateParams.CustomerCreation;
        expand?: string[];
        inactive_message?: string;
        invoice_creation?: Stripe.PaymentLinkUpdateParams.InvoiceCreation;
        line_items?: Stripe.PaymentLinkUpdateParams.LineItem[];
        metadata?: MetadataParam;
        name_collection?: Emptyable<Stripe.PaymentLinkUpdateParams.NameCollection>;
        payment_intent_data?: Stripe.PaymentLinkUpdateParams.PaymentIntentData;
        payment_method_collection?: Stripe.PaymentLinkUpdateParams.PaymentMethodCollection;
        payment_method_types?: Emptyable<
            Stripe.PaymentLinkUpdateParams.PaymentMethodType[],
        >;
        phone_number_collection?: Stripe.PaymentLinkUpdateParams.PhoneNumberCollection;
        restrictions?: Emptyable<Stripe.PaymentLinkUpdateParams.Restrictions>;
        shipping_address_collection?: Emptyable<
            Stripe.PaymentLinkUpdateParams.ShippingAddressCollection,
        >;
        submit_type?: Stripe.PaymentLinkUpdateParams.SubmitType;
        subscription_data?: Stripe.PaymentLinkUpdateParams.SubscriptionData;
        tax_id_collection?: Stripe.PaymentLinkUpdateParams.TaxIdCollection;
    }
    Index

    Properties

    active?: boolean

    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.

    Behavior after the purchase is complete.

    allow_promotion_codes?: boolean

    Enables user redeemable promotion codes.

    Configuration for automatic tax collection.

    Configuration for collecting the customer's billing address. Defaults to auto.

    Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if ui_mode is custom.

    Display additional text for your customers using custom text. You can't set this parameter if ui_mode is custom.

    Configures whether checkout sessions created by this payment link create a Customer.

    expand?: string[]

    Specifies which fields in the response should be expanded.

    inactive_message?: string

    The custom message to be displayed to a customer when a payment link is no longer active.

    Generate a post-purchase Invoice for one-time payments.

    The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.

    metadata?: MetadataParam

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata. Metadata associated with this Payment Link will automatically be copied to checkout sessions created by this payment link.

    Controls settings applied for collecting the customer's name.

    A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in payment mode.

    Specify whether Checkout should collect a payment method. When set to if_required, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.

    Can only be set in subscription mode. Defaults to always.

    If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring subscriptions with a free trial.

    payment_method_types?: Emptyable<
        Stripe.PaymentLinkUpdateParams.PaymentMethodType[],
    >

    The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your payment method settings.

    Controls phone number collection settings during checkout.

    We recommend that you review your privacy policy and check with your legal contacts.

    Settings that restrict the usage of a payment link.

    shipping_address_collection?: Emptyable<
        Stripe.PaymentLinkUpdateParams.ShippingAddressCollection,
    >

    Configuration for collecting the customer's shipping address.

    Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the url property (example: donate.stripe.com).

    When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use subscription_data.

    Controls tax ID collection during checkout.