Change Subscription Rate Card
/subscriptions/{subscription_id}/change-rate-card
Change Subscription Rate Card
Path Parameters
subscription_id: string
Body Parameters
rate_card_id: string
The ID of the rate card to change the subscription to.
Returns
Change Subscription Rate Card
curl https://api.uselark.ai/subscriptions/$SUBSCRIPTION_ID/change-rate-card \
-H 'Content-Type: application/json' \
-H "X-API-Key: $LARK_API_KEY" \
-d '{
"rate_card_id": "rc_jQK2n0wutCj6bBcAIrL6o07g"
}'
{
"result": {
"action": {
"checkout_url": "https://checkout.uselark.ai/...",
"type": "checkout"
},
"type": "requires_action"
}
}
Returns Examples
{
"result": {
"action": {
"checkout_url": "https://checkout.uselark.ai/...",
"type": "checkout"
},
"type": "requires_action"
}
}