Charges a user based on the selected web2wave price ID. Can initiate subscriptions and do one-time upsells.
Supported for existing users with a saved payment method on Stripe, Primer or Solidgate.
The price_id must belong to a plan of the same payment system as the user's saved payment method
(for a Primer user, pass the ID of a Primer price).
Attribution (paywall / quiz)
The new subscription or one-time payment is attributed to a paywall and a quiz, which analytics and A/B test
reports use (the experiment report with "Hide subscriptions outside experiment variants" counts only purchases
made on the variant's paywall / quiz). Pass paywall_id / quiz_id to set them explicitly; when omitted
(Stripe and Primer), they are inherited from the source subscription (subscription_id, or the user's latest
active subscription).
Solidgate 3-D Secure (3DS)
Solidgate 1-click upsells may require cardholder authentication. To support 3DS 2.0, pass the browser
fingerprint fields below (header_accept, header_accept_language, browser_*, time_zone_offset)
together with success_url / fail_url for post-authentication redirects.
The User-Agent header of the API request is forwarded automatically; you do not need to send it in the body.
If 3DS is required, the response returns success: true with a verify_url. Redirect the customer to
that URL to complete payment verification. After authentication, Solidgate redirects the customer to
success_url or fail_url, and the final order status is delivered via webhook.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||