If transaction was partially paid by gift card transaction channel is "Mixed" you can use sub-transaction links from _links > sub to query for additional details if needed.
Before you can try the request below here - please set context variables for your session:
Set Shop context