Is possible undo a mark as paid a order api post ?

Topic summary

A user accidentally sent duplicate API requests to mark the same order as paid, resulting in a negative balance displayed on the order. The order now shows the customer paid twice.

Proposed Solution:

  • Another user suggested voiding one of the duplicate transactions using Shopify’s Admin REST API
  • Specifically, use the POST endpoint for transactions with "kind":"void" parameter
  • The void transaction should reference the parent transaction ID and amount

Current Status:

  • The issue remains unresolved
  • No confirmation yet on whether the void transaction approach successfully corrected the duplicate payment
Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

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"
1 Like