Skip to navigation

Purchase Product

Get a Stripe checkout URL for purchasing a product. Redirects the user to Stripe to complete payment.

Authentication: Public with visitor fallback.

Feature gate: Requires products feature enabled.

Path parameters:

  • id (required) — The PaymentLink ID (not the product ID)

Response:

  • redirect_to — Stripe checkout session URL

Notes: The checkout URL is pre-filled with the user’s email and includes a client_reference_id for tracking.

Errors:

  • 404 — Payment link not found

Path parameters

idstringRequired
PaymentLink ID

Response

OK