Subscription Cancellation with Cancellation Reason via API

Subscription Cancellation with Cancellation Reason via API

I tried cancelling subscription using this and its working fine

curl --request POST \
  --url https://www.zohoapis.com/billing/v1/subscriptions/5482717000000142015/cancel?cancel_at_end=false \
  --header 'Authorization: Zoho-oauthtoken 1000.bc3af671b45fexxxxxxxxxxxxxxxxxx3e03eab90ed' \
  --header 'X-com-zoho-subscriptions-organizationid: yyyyyyyy'

Now i want to add "cancel_reason" value,
i tried to pass it as part of the URL parameters and put as json object but both only cancelling the subscription but the cancel reason not updated.

Json:
curl --request POST \
  --url https://www.zohoapis.com/billing/v1/subscriptions/5482717000000142015/cancel?cancel_at_end=false \
  --header 'Authorization: Zoho-oauthtoken 1000.bc3af671b45fe75a6xxxxxxxxxxxxxxxxxxxxxxxxxxxe3e03eab90ed' \
  --header 'X-com-zoho-subscriptions-organizationid: yyyyy' \
  --header 'Content-Type: application/json' \
  --data '{
    "cancel_reason": "cancellation reason ZZZZZ"
}'


URL param:
curl --request POST \
  --url "https://www.zohoapis.com/billing/v1/subscriptions/5482717000000142015/cancel?cancel_at_end=false&cancel_reason=ZZZZZ" \
  --header 'Authorization: Zoho-oauthtoken 1000.bc3af671b45fe75a6419xxxxxxxxxxxxxxxxxxxxxxxxx3e03eab90ed' \
  --header 'X-com-zoho-subscriptions-organizationid: yyyyyyyyyy'


Thank you.