Docs

Errors and recovery

Plan for validation failures, rejected requests, and uncertain outcomes.

Error reference status

KPPAY-specific error codes and response schemas are pending publication. Use the verified endpoint contract when implementing response parsing and retry rules.

Recovery decisions

FailureIntegration behavior to plan
Invalid inputIdentify the field and allow correction
Authentication failureCheck credentials and environment configuration
Insufficient permissionConfirm the required access before trying again
TimeoutEstablish the operation's outcome before repeating it
Rate limitFollow the documented delay and retry policy
Service failureRetry only when the contract establishes it is safe

Unknown outcomes

A network timeout does not establish that an operation failed. Before repeating an operation that can move money or create a record, use the documented lookup or reconciliation mechanism. Do not assume an idempotency header is supported.

Useful diagnostics

Record the time, environment, operation, status, and request identifier when available. Redact credentials and sensitive payload fields. Present a clear recovery action to the user rather than raw provider errors.

On this page