Hi…I have wasted a whole day trying to figure out an API header issue with respect to a payment API integration for Razorpay. (Attaching the pictures hereby)
The API intializes but when the json is sent using the same initialized call, it returns an error regarding a parameter that is nowhere in the API documentation. When I checked on github, for one of the threads the Razorpay team said, that they should not pass “Content-type”: “application/json” in the header. But without it, the API does not initialize.
I am in a bit of soup here. Any help will be much appreciated.
Here’s the curl of the API to create
API call initialized
This is the JSON being passed in the workflow
And this is the error
Apologies for the long query! Fingers crossed for any assistance here.