Skip to main content
POST
/
rest
/
subscription
/
setup
Create payment setup
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>"
}

Authorizations

Authorization
string
header
required

OAuth 2.1 with PKCE

Body

application/json
paymentOptionId
string

ID of the payment plan (from get_subscription_status)

couponId
string

Optional coupon code

Response

Payment setup created

paymentUrl
string<uri>

Stripe checkout URL

price
string
interval
string