Need advice on how to implement multi payments with gift card and credit card.
I want to first charge the gift card with order money, and then charge the credit card if the gift card balance cannot fully cover the order money.
Currently I met an issue that if I try to create gift card payment with an amount of money that greater than gift card balance, API will return insufficient fund error.
I understand the error was throw on purpose, but I cannot find a way to check the gift card balance at first.
Hm, probably correct. I imagine that test value will automatically make it fail no matter what, since that’s what it was designed to do. I think you’ll need to actually create a gift card to see this in prod.