All request messages to Portico include a Header and a Transaction block. Responses always include a Header block, but only include the Transaction block when Portico was able to successfully process the request (i.e., GatewayRspCode is 0). See Gateway Response Codes for additional information.
When present, the Transaction block always includes the Transaction type (i.e., CreditSale).
The GatewayRspCode in the response header can be inspected to determine if the request was fully processed by Portico. A GatewayRspCode of 0 means that Portico was able to process the request and that the Transaction block is present. The GatewayRspCode does not indicate approval or decline of the transaction.
To get the final result of the transaction, the Transaction block must be further inspected to see if there is an Issuer RspCode. See Issuer Response Codes for additional information.