Skip to main content

Error Scenarios

These scenarios describe common conditions that can prevent an API transaction or hosted checkout journey from completing.

Scenario summary​

ScenarioConditionImpactRecommended action
Hosted payment URL no longer validThe hosted payment URL can no longer be used.The checkout journey cannot continue.Create a new Payment Intent and redirect the member using the new hosted payment URL.
Callback state mismatchThe returned state differs from the value retained for the checkout journey.The callback must not be trusted for continued processing.Reject the callback and initiate a new journey if required.
Unauthorized requestRequired credentials are missing or invalid.The API request is rejected.Confirm client_id, client_secret and mandatory x-captoken values.
Rate limit exceededToo many requests were submitted within a short period.The API returns 429 Too Many Requests.Reduce request bursts and retry using controlled backoff.
Temporary service unavailabilityThe platform or a required downstream service is temporarily unavailable.The API returns a temporary availability error such as 503.Retain the diagnostic identifiers and retry later. Respect Retry-After when it is returned.