Parameters
string
required
Existing Stripe product ID (e.g., “prod_…”)
number
required
Price in cents (e.g., 2500 for $25.00)
string
default:"usd"
Currency code (default: “usd”)
object
For subscriptions, provide interval info (e.g.,
{"interval": "month", "interval_count": 1})boolean
default:true
Whether to create a payment link for this price (default: true)
string
URL to redirect customer to after payment (mutually exclusive with hosted_confirmation_message)
string
Custom message for Stripe’s hosted confirmation page (mutually exclusive with redirect_url)
boolean
default:false
Use test mode (default: false)