PayFanout API reference
    Preparing search index...

    Function completionErrorStatus

    • Maps the normalized error taxonomy to a completion HTTP status. Card and business declines are 402 Payment Required (the request was well-formed, the payment failed); the client rebuilds a PayFanoutError from the body, so the code — not the status — drives the UI.

      Parameters

      Returns number