hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[REFACTOR] Update payment method db operations to include multi-key validation

Open Chethan-rao opened this issue 1 year ago • 0 comments

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.

Chethan-rao avatar Feb 16 '24 09:02 Chethan-rao