Hey @michaelvips
You should be able to void one of the transactions.
curl -d '{"transaction":{"source":"external","kind":"void","parent_id":{PARENT_ID_HERE}, "amount":"{AMOUNT_HERE}"}}' \
-X POST "https://{SHOP_HERE}.myshopify.com/admin/api/2023-04/orders/{ORDER_ID_HERE}/transactions.json" \
-H "X-Shopify-Access-Token: {ACCESS_TOKEN_HERE}" \
-H "Content-Type: application/json"