response_code Property
Indicates the status of the authorization request.
Syntax
def get_response_code() -> str: ...
response_code = property(get_response_code, None)
Default Value
""
Remarks
Indicates the status of the authorization request. This property contains the actual response code as returned by the Gateway. Unlike the response_approved property, this response_code property may provide more details about why a transaction was declined. Therefore, it is recommended that developers check the response_code as well as the response_approved property. The Point of Sale system should evaluate this response code and NOT the response_text to determine nature of a response message. The current (at the time of this release) response codes for the supported Gateways are listed in the table of contents to your left.
This property is read-only.