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.
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
PayFanoutErrorfrom the body, so thecode— not the status — drives the UI.