Creates a secure checkout URL for purchasing a product.
Documentation Index
Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The type of customer making the purchase
"user"
The ID of the customer (user ID, team ID, or custom customer ID)
"user_1234567890abcdef"
The ID of the product to purchase. Either this or product_inline should be given.
"prod_premium_monthly"
Inline product definition. Either this or product_id should be given.
URL to redirect to after purchase completion. Must be configured as a trusted domain in the project configuration.
"https://myapp.com/purchase-success"
Successful response
The secure checkout URL for completing the purchase