Activate Subscription Endpoint

Confirm card attached via SetupIntent — set default PM on Customer.

No Stripe Subscription is created. The card-trial bonus (5000 credits) is granted asynchronously by the setup_intent.succeeded webhook via api.app_auto_gtm.card_trial.ensure_user_and_grant.

Endpoint name kept for frontend backwards-compat — historically this DID create a Subscription before postpaid-v2 (see git history of this file for context).

post/api/payment/activate-subscription

Request body

device_idstring required
emailstring
email_consentboolean

Response

Successful Response

{"stackTrail":"paths:/api/payment/activate-subscription:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.