application/x-www-form-urlencoded to application/json.application/x-www-form-urlencodeddata fielddata field is a JSON string and requires additional parsingapplication/json| Item | Legacy (Form) | Current (JSON) |
|---|---|---|
| Content-Type | application/x-www-form-urlencoded | application/json |
| Data Structure | data=JSON string | Standard JSON |
| Parsing | Requires JSON.parse | Direct parsing |
| Readability | Low | High |
| Recommended | ❌ No | ✅ Yes |
application/jsondata as a JSON stringapplication/x-www-form-urlencoded) may still be supported for existing merchantsapplication/jsonapplication/json for all new webhook integrations to ensure better compatibility and maintainability.