Gift card balances cannot be transferred to your bank account as per RBI regulations. Gift card balances are typically considered as 'gifts' and not 'money'.
The only way for you to get rid of it is to spend it on Amazon or Amazon pay partnered service providers.
there is no way to transfer to bank account directly. few months back, I had around 30k stuck in wallet and was desperately looking for tricks to transfer to my account.
Luckily I managed to recharge Paytm fastag for 10k for two months each and paid bills from the rest amount.
Now Paytm trick also stopped working so paying bills or ordering stuff is the only way out.