Yes, I am passing type as “link”.
Here’s the snapshot of the bottom part:
I am referring to documentation on https://razorpay.com/docs/payment-links/api/create/ . Is that what you are referring to too? I don’t see any mention of “line_item” in documentation. I just assumed it is a keyword indicating that some line item is missing.
As I have posted in my initial post, there are examples where I tried with and without square brackets both.