cURL
curl --request POST \ --url https://mcp.arlohealth.ai/rest/subscription/setup \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "paymentOptionId": "<string>", "couponId": "<string>" } '
{ "paymentUrl": "<string>", "price": "<string>", "interval": "<string>" }
Create a Stripe Checkout session for payment setup (subscription or pay-per-use).
Returns a Stripe-hosted checkout URL. Direct user to complete payment there. Payment is activated automatically after successful checkout.
OAuth 2.1 with PKCE
ID of the payment plan (from get_subscription_status)
Optional coupon code
Payment setup created
Stripe checkout URL