Hi everyone,
I'm working on a custom storefront using MedusaJS, where I want to implement a credit system that customers can use when making purchases. My goal is to allow users to apply their credits to reduce the total price of their cart.
However, I haven't found an API in MedusaJS that allows me to modify the cart total based on the customer's available credits. Any guidance or suggestions on how I can implement this?
Thank you!