juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.64k stars 1.36k forks source link

[FIX] fix response for migration api #6526

Open prasunna09 opened 2 weeks ago

prasunna09 commented 2 weeks ago

Currently there is inconsistent response due to no validations for request body fields for the migration api.

Implementation - validations such as empty string check for network transaction id and empty object for connector mandate details should be enforced while evaluating the migration response.