What is the Authorisation Code for?
If an authorisation transaction has succeeded (see above) then you should look for the Authorisation Code in the ReturnBuffer. You should associate the Authorisation Code with the particular Authorisation Transaction that generated it so that when you later settle the transaction, you send the correct Authorisation Code along with the settlement transaction.