Commerce
Create payment link
Create a payment link for an existing Stripe price.
Parameters#
price_idstringrequiredExisting Stripe price ID (e.g., "price_...")
redirect_urlstringdefault: ""URL to redirect customer to after payment (mutually exclusive with hosted_confirmation_message)
hosted_confirmation_messagestringdefault: ""Custom message for Stripe's hosted confirmation page (mutually exclusive with redirect_url)
testmodebooleandefault: falseUse test mode (default: false)