razorpay_plan_id. Required once per plan before users can check out - one-time products (topups, reports) don't need this, they use plain Razorpay Orders instead.200 - plan with razorpay_plan_id populated403 - not an admin | 404 - plan not found | 422 - plan is not a recurring subscription tierAuthorization: Bearer ********************curl --location --request POST 'https://uat-api.hastaai.in/api/v1/admin/subscriptions//sync-razorpay' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Success",
"data": {
"id": 5,
"slug": "sage-monthly",
"plan_name": "Sage",
"price": 299,
"currency": "INR",
"billing_period": "monthly",
"description": "Sage tier - monthly",
"features": {
"messages_per_day": 30,
"palm_reading": 1,
"tarot_spread": 1,
"compatibility_score": 3
},
"discount_price": 0,
"message_limit": 30,
"is_active": true,
"is_subscription_plan": true,
"is_one_time_plan": false,
"is_topup_plan": false,
"razorpay_plan_id": "plan_00000000000001"
}
}