API v1FiatPe Home
FIATPE STRIDE RELIABILITY

FiatPe Stride API Error Handling

Handle payout validation failures, retries, idempotency, network errors and uncertain transaction outcomes safely.

Handle payout errors safely

A failed HTTP request does not always mean that a payout was not created. Timeouts, network interruption and delayed responses can leave the final outcome unknown. Preserve the original reference and idempotency value, then confirm the payout status before retrying.

Do not create a replacement immediately

For a timeout or unknown result, retrieve the existing payout or reconcile its status first. Creating a new payout can transfer funds twice.

Error categories

CategoryRecommended action
Validation errorCorrect the request fields before sending a new request.
Authentication errorVerify the environment, API Key, Salt Key and Basic authorization encoding.
Insufficient balance or limitDo not retry automatically; resolve the account balance or configured payout limit.
Recipient or bank rejectionReview beneficiary details and use the failure reason before asking the recipient for corrections.
Rate limitRetry after the instructed interval using exponential backoff and jitter.
Server or network errorCheck the existing payout using the same business reference before deciding whether to retry.

Retry and idempotency rules

  • Retry only transient errors such as temporary server failures, rate limits and network interruptions.
  • Reuse the original idempotency value only when repeating the exact same payout instruction.
  • Never retry validation, authentication or permanent beneficiary failures without correcting their cause.
  • Use bounded exponential backoff and stop after a defined maximum number of attempts.
  • Send unresolved cases to reconciliation instead of creating a second payout.

Logging and monitoring

  • Log the business reference, FiatPe resource ID, HTTP status and safe error code.
  • Never log credentials, authorization headers or complete beneficiary account details.
  • Alert on repeated authentication failures, unusual rejection rates and payouts pending beyond the expected duration.
  • Retain webhook and status history for audit and reconciliation.