APISamples-PHP - Fix

fix: handling response now doesn't take into account the "transaction" root element