post
https://api.benjipays.com/v2/transactions//retry-accounting
Retries only the accounting writeback (QBO / Xero / Business Central) for a charge that already succeeded — for example when POST /v2/transactions returned meta.effects.charge.status=succeeded with meta.effects.accounting.status=failed. The payment method is never charged again, the charge is never voided, and no receipt is sent.
Eligibility is read from the saved transaction, so a single call also tells you when there is nothing to write back. HTTP 200 always returns the current transaction in data plus meta.effects.accounting:
succeeded— applied.datacarries the accounting payment id andpaymentApplied.failed— the accounting system is still unavailable. Safe to retry later.skipped— nothing to apply.data.statussays why (for exampleapproved_voidedwhen the charge was auto-voided after the original apply failed), or accounting was already applied, or the apply is deferred until a bank payment completes.
Requires organizations:transactions:create and a required Idempotency-Key header. Charges that cannot be retried at all (declined, no invoice, wrong type) return RFC 7807.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
