{"uid":"cap_ZVlXo5S7_SH1SLu-BmpHy","slug":"ledger-by-novadyne-reverse-transaction-202f1fba","name":"Ledger by Novadyne – Reverse Transaction","description":"Double-entry ledger API with x402 micropayments and Ed25519 capability tokens.","url":"https://ledger-api.novadyne.ai/ledger/transactions/%7Btx_id%7D/reverse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"reason":{"type":"string"}}},"responseSchema":{},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XIJ5ELZQ0NaS8GV70lE_-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reverses a previously recorded double-entry ledger transaction by its ID, creating a compensating entry with an optional reason.","exampleAgentPrompt":"Reverse transaction tx_a9f3c2 in the Novadyne Ledger and record the reason as 'duplicate entry posted in error'.","exampleUseCases":[{"title":"Undo accidental duplicate payment","prompt":"I accidentally posted the same vendor payment twice this morning — can you reverse the second transaction in the Novadyne Ledger and note that it was a duplicate charge?"},{"title":"Roll back mistaken debit entry","prompt":"We recorded a debit to the wrong account yesterday, transaction tx_7b12e9. Please reverse it in the ledger and add a note explaining it was applied to the incorrect cost center."},{"title":"Cancel erroneous micropayment posting","prompt":"A micropayment transaction got logged with the wrong amount due to a data feed glitch. Find that transaction and reverse it in Novadyne Ledger with the reason 'incorrect amount from upstream feed'."}],"resultDescription":"A confirmation that the transaction has been reversed, typically including the newly created compensating entry details or an acknowledgment of the reversal. The response schema is currently sparse, so the agent should expect a success/failure signal and possibly a new transaction record referencing the original tx_id.","failureModes":["Transaction ID not found — 404 or similar error if the tx_id does not exist","Transaction already reversed — error if a reversal has already been applied to this transaction","Insufficient authorization — missing or invalid Ed25519 capability token results in 401/403","Payment failure — x402 micropayment not satisfied, resulting in 402 Payment Required","Malformed request — missing or invalid reason string format"],"whenToPreferThis":"Use this endpoint when you need to programmatically reverse a specific double-entry ledger transaction managed by the Novadyne Ledger API, especially in workflows that use x402 micropayments and Ed25519 capability tokens for authorization. Prefer this over manual correction entries when you want an auditable, API-driven reversal tied to a specific tx_id.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T06:39:17.100Z","isFirstParty":false}