Hey there, I am trying to create an order through the Rest API where I am adding a Gift Card transaction; I am able to create the order with the proper transaction but the relevant gift card is not deducted for the charged amount.
What you are seeing is an expected behaviour. When it comes to API, an important thing to consider is that a transaction record (what you see in the transactions.json) is not in itself a payment processing event. In order for an entry to that record to be meaningful, you have to also perform the necessary payment processing operation to go along with it, otherwise it's just a record of something that never actually occurred. You can think of processing gift cards as extremely similar to processing credit cards, and will require the use of the Checkout API in order to complete.