$userSessionID, 'Card-Id' => $card_id, 'Amount' => '0.00', 'TerminalID' => $terminal_id, ]); User::signout($userSessionID); if ( Request::RESPONSE_STATUS_OK != $response['LOINTransaction']['Status'] ) { throw new InnocadLoyaltyException($response['LOINTransaction']['UserMessage'], $response['LOINTransaction']['Status']); } return $response['LOINTransaction']; } }