post
https://sandbox-api.yangaplugbusiness.com/api/v1/giftcards/purchase
Buys one or more cards of a single product. Your gift card wallet is debited for the full amount when the order is created.
If a card fails, its price is refunded to your wallet and shown in refunded_amount. An order where at least one card was delivered is successful. Check each item's status to see which cards were delivered.
With sync false, the order returns as created and the cards are delivered in the background. Listen for the giftcard.successful or giftcard.failed webhook, then fetch the order to read the codes.