Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Accounting

Post a failed entry again

POST/v1/accounting/entries/{entry}/retry

Key scope: write · Business accounts · Success: 200

Queues a failed or skipped entry to be posted again by the next sync. It posts nothing itself: it resets the entry's attempts to 0 (a skipped entry's row is removed), and the next POST /v1/accounting/sync or SET's scheduled pass posts it.

Path parameters

entry stringrequired
The journal entry's id, je_ and 32 hex characters (from GET /v1/accounting/entries). Another shape answers 404 not_found.

Headers

Idempotency-Key string
Any unique string, so a retry runs once. See Idempotency.

Notes

  • Accounting connections are switched on per deployment; when off, the call answers 403 accounting_connectors_off. Check GET /v1/capabilities (features.*).
  • Needs a key with the write scope.
  • Accounting connections are for a business account: a platform key gets 403 accounting_merchant_only.
  • The entry must have a failed or skipped post; a posted entry, or an id with no post, answers 404 entry_not_failed.
  • No body is needed.
  • Fix the cause first: for account_not_found, add the account in the ledger or map it with PUT /v1/ledger_mapping.
  • Right after the call the entry still reads failed, with attempts: 0, until the next sync posts it.
  • It does not check that a connection is active.
  • The example was made with a sandbox key.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 403 accounting_connectors_off
  • 403 accounting_merchant_only
  • 404 entry_not_failed
  • 404 not_found

All codes: Errors.