hyperswitch
hyperswitch copied to clipboard
[REFACTOR] Update payment method db operations to include multi-key validation
Currently, payment method apis like retrieve, update and delete are happening in db based on payment_method_id
only. Correct way is to include all 3 keys (merchant_id, customer_id and payment_method_id) for validation in retrieving, updating and deleting payment method.