Hi Shreya,
I’ve connected with the Store Credit product team on this and they’re aware of this limitation. The storeCreditAccountCredit
mutation is just for giving out credit to a customer. It isn’t order or refund-aware. There are plans to enhance this mutation but we don’t have a timeframe to share on this right now. I recorded your use case and feedback with them though.
Hope this helps!