Skip to main content

API error recovery by code

CodeMeaningRetry strategy
1Signature/auth errorDo not retry same request. Rebuild sign, verify merchantId, resend once.
2Invalid JSON/Base64Do not retry same payload. Fix serializer/envelope first.
3Missing/invalid required paramsDo not retry until payload is corrected.
5Internal errorFor /sale and /refund: resend same operation with same documentExtID; for others: route-specific retry policy.
9Document not foundIn unknown-delivery recovery: resend same operation with same documentExtID; in normal flow: verify ids and payload.
14Invalid date formatCorrect date format (yyyy-MM-dd) and resend.
44Document still processingDo not resend operation; poll /check_status until final state.
15Document not printedBusiness operation may be completed; run print-error recovery flow below.