For card payments, the original authorization response code sent by the scheme is returned in the partner_response_code field in the API response to your payment request.
These are referred to as raw response codes and are available to all merchants by default.