I am not able to get billing plan update , getting error
===================================================
{"name":"MALFORMED_REQUEST","message":"Incoming JSON request does not map to API request","information_link":"https://developer.paypal.com/webapps/..."}
===================================================
I believe I have right request setting, can you please see what might be wrong.
Attaching screen shot from developer console and service settings
(does it have anything to do with the -k/-X variables required for this call ?).
curl -v -k -X PATCH 'https://api.sandbox.paypal.com/v1/pay...' \
-H "Content-Type: application/json" \
-H "Authorization: Bearer " \
-d '[
{
"path": "/",
"value": {
"state": "ACTIVE"
},
"op": "replace"
}
]'