Cannot implement Subscriptions successfully.

Cannot implement Subscriptions successfully.

I have read around the community and have seen others with similar issues.

I am getting code 2, "request passed is not valid.".

I have reviewed samples and replies from Zoho staff and still cannot successfully create a subscription.

I have tried with "customer" and "customer_id" properties, but it seems the problem exists within the "plan" property.


-X POST \
-H "Authorization: Zoho-authtoken xx" \
-H "X-com-zoho-subscriptions-organizationid: xx" \
-H "Content-Type: application/json;charset=UTF-8" \
-d ' {"customer_id":"1802480000000068110","plan":{"plan_code":1}}'